Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.


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

share|improve this question

migrated from stackoverflow.com Feb 9 '12 at 7:14

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

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 '12 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 '12 at 17:08
Is the EC2-instance the client or the server? –  Bart De Vos Feb 9 '12 at 8:01
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.