Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.8k views
in Java FTP by (120 points)
Hello,

I am trying the following after connecting to a ftp site:

ftp.setConnectMode(FTPConnectMode.ACTIVE);
log.debug(" >> FTP Active Connection");
ftp.put(file.getAbsolutePath(), file.getName());

I am trying to upload a file to a remote server, and the FTP Client just hangs after display the log message >> FTP Active Connection.


Please advise,

Thank you.

1 Answer

0 votes
by (162k points)
It would be worthwhile looking at the log file, however most likely your firewall isn't permitting the FTP server to connect to your machine for data transfers.

Categories

...