I need some help on this issue. First question. I've searched many pages but found no solution for my problem. I guess my code needs to use Active mode when connecting an FTP server. I've tested access to the FTP server through filezilla (only works with active mode data connection) and windows explorer and it works on my pc but doesn't work on my deployed server.

ftpClient.enterRemoteActiveMode(?)

I also need some help with this method of commons net api. thanks.

link|improve this question
1  
Have you configured your Amazon EC2 firewall to allow FTP connections? Check out: aws.amazon.com/articles/1697?_encoding=UTF8&jiveRedirect=1 – Daan Feb 7 at 17:04
You may want to check out some FTP libraries that can make your life easier, ftp4j and commons Virtual File System (VFS) may be of help for you – Alberto Gutierrez Feb 7 at 17:08
Is the EC2-instance the client or the server? – Bart De Vos Feb 9 at 8:01
feedback

migrated from stackoverflow.com Feb 9 at 7:14

This question came from our site for professional and enthusiast programmers.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown