I have a European user having FTP errors. Could this be a proxied server? I'm only using the free FTPj which doesn't support proxies (and cannot yet afford FTPj/PRO which does). I can access his site from here without a problem. Here is a "cleansed" log of a portion of the session:
[FTP] Response '250 OK. Current directory is XXX' received from 'XXX.se'
[FTP] Request 'PWD' sent to 'XXX.se'
[FTP] Response '257 "XXX" is your current location' received from 'XXX.se'
[FTP] Request 'SIZE XXX.jpg' sent to 'XXX.se'
[FTP] Error '550 Can't check for file existence' occurred on 'ftp://XXX.se/XXX'
[FTP] Request 'MDTM XXX.jpg' sent to 'XXX.se'
[FTP] Error '550 Can't check for file existence' occurred on 'ftp://XXX.se/XXX'
[FTP] Request 'PORT 0,0,0,0,204,204' sent to 'XXX.se'
[FTP] Error '501 Syntax error in IP address' occurred on 'ftp://XXX.se/XXX'
[FTP] Request 'QUIT' sent to 'XXX.se'
Notice the 501 error after the
PORT command. Any ideas?
I just looked at the source code and see this sequence of commands is coming from
FTPClient.exists(); the
SIZE and
MDTM commands both fail so FTPj is trying to do a
RETR for which it does a
PORT command. I don't know why the IP address of the local host shows as zeros, though. Funny thing is that when I contact this same server from here in the US, the
SIZE command works fine. I guess this is why I am suspecting some proxy mechanism is involved...