Hey Michael,
Try the version of wyUpdate from the subversion repository. We don't have a ProFTPd server to test on, but this should fix things for you.
Hi
We are trying to setup an environment for wybuild. for this we configured a proftpd runing on debian 7. As we tried to run wyupdate, we always got the error "550: file or directory not available". so we investigated.
after fidling around with the logs we found out, that wyupdate does the following:
Oct 16 15:47:44 proxy ftp-child[36455]: USER-INF 'USER XXXX' from 192.168.1.102Oct 16 15:47:44 proxy ftp-child[36455]: USER-INF reading data for 'XXXX' from cfg-fileOct 16 15:47:44 proxy ftp-child[36455]: USER-INF 'PASS XXXX' from 192.168.1.102Oct 16 15:47:44 proxy ftp-child[36455]: USER-INF 'PASS XXXX' from 192.168.1.102Oct 16 15:47:44 proxy ftp-child[36455]: USER-WRN unknown 'OPTS' from 192.168.1.102Oct 16 15:47:44 proxy ftp-child[36455]: USER-INF 'PWD' from 192.168.1.102Oct 16 15:47:44 proxy ftp-child[36455]: USER-INF 'SIZE filename.pys' from 192.168.1.102
so wyupdate is trying to run the SIZE-command in ASCII-Mode, which isn't allowed in proftpd (cause it could be abused to dos the server). correct me if i'm wrong, but the standard way would be to put the server first in binary-mode (TYPE I), which is also done by firefox to get the file:
Oct 16 14:49:14 proxy ftp-child[36455]: USER-INF 'USER XXXX' from 192.168.1.102Oct 16 14:49:14 proxy ftp-child[36455]: USER-INF reading data for 'XXXX' from cfg-fileOct 16 14:49:14 proxy ftp-child[36455]: USER-INF 'PASS XXXX' from 192.168.1.102Oct 16 14:49:14 proxy ftp-child[36455]: USER-INF 'PASS XXXX' from 192.168.1.102Oct 16 14:49:13 proxy ftp-child[36397]: USER-INF 'TYPE I' from 192.168.1.102Oct 16 14:49:14 proxy ftp-child[36397]: USER-INF PASV set to 192.168.1.10:41000 for 192.168.1.102Oct 16 14:49:14 proxy ftp-child[36397]: USER-INF 'SIZE filename.1.0.0.1.to.1.0.5.0.pyu' from 192.168.1.102Oct 16 14:49:14 proxy ftp-child[36397]: USER-INF 'RETR filename.1.0.0.1.to.1.0.5.0.pyu' from 192.168.1.102Oct 16 14:49:14 proxy ftp-child[36397]: TECH-INF 'RETR filename.1.0.0.1.to.1.0.5.0.pyu' sent for 192.168.1.102Oct 16 14:49:17 proxy ftp-child[36397]: USER-INF Transfer for 192.168.1.102 completed: RETR 'filename.1.0.0.1.to.1.0.5.0.pyu' read 35177390/3 byte/sec
so how do we get things running on a proftpd-server? Thanks for your help.
Best regardsMichael Bachmann
Hey Michael,
Try the version of wyUpdate from the subversion repository. We don't have a ProFTPd server to test on, but this should fix things for you.
Sadly, this fix doesnt work, cause microsoft only send the "TYPE I" command only when doing an upload or download, coresponding to this MSDN page:
This faulty "design" is known since 2007, and no changes since then. Microsoft at its best^^
I found a page which describes a workaround for modifying the command list, maybe you wanna have a look at it:
http://mattmitchell.com.au/how-to-change-the-commands-ftpwebrequest-sends/
best regardsMichael