Solved

Passive/Active FTP

Posted on 2009-04-08
3
1,690 Views
Last Modified: 2013-12-02
Different FTP clients have different results when connecting to my FTP server.  DOS and WS_FTP always connect successfully.  IE, Firefox and Windows Explorer don't.

1)  What is the reason for my issue above?
2)  How can I tell if I'm in active or passive mode with these clients (DOS, IE, Firefox, Windows Explorer)?
0
Comment
Question by:Whah
3 Comments
 
LVL 3

Expert Comment

by:mikey1h
ID: 24102744
usually, web browsers try to log in with Anonymous access.  If this is disabled on your server, they wont be able to connect.    you can either enable anonymous access on the server, or disable login anonymously in the browsers settings
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 24103718
do you have a firewall in front of your server? Do you allow ports 20 and 21 TCP in that firewall?
0
 
LVL 2

Accepted Solution

by:
TheChemic earned 500 total points
ID: 24112523
You're getting this problem because web browsers use FTP Passive mode by default.  FTP clients use Active mode by default and then fall back to passive mode if active mode fails.  At first glance I would say that passive mode is not working.  Why not?  This could be due to numerous factors.  The most likely scenario is that you're behind a router and you have not properly configured passive mode in the FTP server and forwarded the appropriate passive port range in your router.

If this is not the case, please provide more detailed information about your network configuration.

If your FTP server (and router, if you have one) is properly configured to use passive mode then you wont have problems with any type of connection.

Q: How can I tell if I'm in active or passive mode with these clients (DOS, IE, Firefox, Windows Explorer)?
A: Review your FTP server logs.  You will see where the server tells the client to enter passive mode because active mode failed.

If you are behind a router then you will need to enable, and properly configure passive mode in your FTP server setup.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction People like FTP.  It's a solid, stable, robust protocol for quickly transferring files between two hosts using TCP/IP.  In most cases it's much faster than SMB or CIFS, and certainly much easier to set up between organizations.  This…
Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question