FTP Active vs passive mode

Posted by Dan on Server Fault See other posts from Server Fault or by Dan
Published on 2010-04-19T18:22:09Z Indexed on 2010/04/19 19:23 UTC
Read the original article Hit count: 246

Filed under:
|

I have a FTP server and while doing testing I found an odd issue that I don't understand. I send a RETR command on file "/Folder1/file.txt" and it works fine. Then I send a RETR command on file "/Folder1/SubFolder1/file.txt" and it times out on transfering the data to the client. This was in active mode. When I switch to passive mode it works fine.

I understand the difference between the two modes, but what I don't understand is why it worked for one file in active mode, but not the other. I tried it a dozen times and still got the same results.

Any ideas? Thanks!

© Server Fault or respective owner

Related posts about ftp

Related posts about sftp