Hello,
years ago I made with Xojo a FTP client app, using two TCP sockets (ftpCommands and ftpData).
Yesterday I submitted a new version to MAS, and the reviewer send me a note saying that transfers aborted showing this server-message: “An error occurred: 500 'CWD ': command not understood.”
I made some search on the NET, and I saw a lot of results referring to SSL, Port 21 instead of Passive Transfer Mode, etc. etc. So many that I felt lost.
I wonder if anybody could shed some light on it.
Meantime, since --as I said-- SSL was referred to, I switched the two TPC sockets to SSLsocket (with no other modification), and testing myself the app it seems to work all right as it did before (connecting to the server, transferring files, creating directories, deleting items etc.); but before submitting a new binary, I’d like to know if there is anything else I should consider about it. I mean, is there anything particular I should know/do when dealing with SSLsocket in place of TCPsocket?
Or could the problem be related to the fact that, as shown in the log below, the reviewer tested the app using a local server instead of a remote one?
In such case, can anybody tell me how to set up server.local as the reviewer did, so that I may test the app myself?
Or I could answer the reviewer saying that my app is supposed to work with remote servers only. And in such case, I’d have only to specify it in the meta > Description.
As you see, I’m am in the fog…
Suggestions welcome. Thank you.
This is the log saved by the app. The “An error occurred: 500 'CWD ': command not understood.” line is the last one.
Connecting to server.local [...]
220 ...** FTP server (tnftpd 20100324+GSSAPI) ready.
USER ftptest
331 User ftptest accepted, provide password.
PASS
230 User ftptest logged in.
SYST
215 UNIX Type: L8 Version: tnftpd 20100324+GSSAPI
PWD
257 “/” is the current directory.
PASV
227 Entering Passive Mode (...,255,92)
LIST
150 Opening ASCII mode data connection for ‘/bin/ls’.
226 Transfer complete.
CWD /Animated GIF
250 CWD command successful.
PWD
257 “/Animated GIF” is the current directory.
PASV port 65372
227 Entering Passive Mode (...,255,93)
LIST
150 Opening ASCII mode data connection for ‘/bin/ls’.
200 Type set to I.
PASV port 65373
227 Entering Passive Mode (...,255,94)
RETR /Animated GIF/200px-Rotating_earth_(large).gif
150 Opening BINARY mode data connection for ‘/Animated GIF/200px-Rotating_earth_(large).gif’ (143360 bytes).
Downloading 200px-Rotating_earth_(large).gif
Transferred 0 bytes in 1 sec (40 KB/s) - Transfer succeded
200 Type set to I.
PASV port 65374
227 Entering Passive Mode (...**,255,95)
RETR /Animated GIF/Animated-GIF-Banana.gif
150 Opening BINARY mode data connection for ‘/Animated GIF/Animated-GIF-Banana.gif’ (73623 bytes).
Downloading Animated-GIF-Banana.gif
Transferred 0 bytes in 1 sec (120 KB/s) - Transfer succeded
CWD
An error occurred: 500 'CWD ': command not understood.