Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.


migration rejected from Oct 2 '14 at 20:57

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as off-topic by Ward, Andrew Schulman, Jenny D, kasperd, MadHatter Oct 2 '14 at 20:57

This question appears to be off-topic. The users who voted to close gave these specific reasons:

  • "Questions must demonstrate a minimal understanding of the problem being solved. Try including attempted solutions, why they didn't work, and the expected results. See How can I ask better questions on Server Fault? for further guidance." – Ward, kasperd, MadHatter
  • "Questions must be relevant to professional system administration. Server Fault is dedicated to professional system and network administrators. End user and enthusiast questions are off-topic (contact your system administrator or hire a professional to help you out). Please see the Help Center for more information." – Andrew Schulman, Jenny D
If this question can be reworded to fit the rules in the help center, please edit the question.

Have you configured your Amazon EC2 firewall to allow FTP connections? Check out: – 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