Your best friend for file transfer.

Login ok, getting file listing hangs (8 posts)
- Started 19 years ago by jcscott
- Latest reply 19 years ago from Jim Matthews
-
jcscott Member
-
Jim Matthews Administrator
Apparently that server does not accept passive mode. I am able to connect with the command-line ftp client; there's a long pause after the PASV command, but eventually it falls back to using the PORT (i.e. non-passive) command, and that works.
So the mystery at this point is why non-passive connections aren't working for you. Could you post the contents of the Fetch Transcript window with "Use passive mode transfers (PASV)" unchecked in Fetch Preferences and the OS X firewall disabled?
Thanks,
Jim Matthews
Fetch Softworks -
jcscott Member
Hi Jim,
Here's the transcript with PASV and the firewall off:
Fetch 4.0.3 System 0x1033 Serial FETCHFL001-P0FX-0F75 TR
Connecting to ftp.sannet.gov port 21 (4/7/04 16:39:35)
220-*******************************************************************************
* *
* Welcome to the SDDPC Public FTP Server *
* -------------------------------------------------- *
* *
* All transfers are logged. If you do not like this policy, *
* please disconnect now. *
* *
* This system is for the use of authorized users only. *
* Individuals using this computer system without authority, or in *
* excess of their authority, are subject to having all of their *
* activities on this system monitored and recorded by system *
* personnel. *
* *
* In the course of monitoring individuals improperly using this *
* system, or in the course of system maintenance, the activities *
* of authorized users may also be monitored. *
* *
* Anyone using this system expressly consents to such monitoring *
* and is advised that if such monitoring reveals possible *
* evidence of criminal activity, system personnel may provide the *
* evidence of such monitoring to law enforcement officials. *
* *
*******************************************************************************
220 turing.sannet.gov server
ADAT
500 ADAT not understood.
USER anonymous
331 Anonymous login ok, send your complete email address as your password.
PASS
230 Anonymous access granted, restrictions apply.
SYST
215 UNIX Type: L8
PWD
257 "/" is current directory.
MACB ENABLE
500 MACB not understood.
PWD
257 "/" is current directory.
CWD /IN
250 CWD command successful.
PWD
257 "/IN" is current directory.
PORT 10,0,1,3,122,95
200 PORT command successful
LIST
421 No Transfer Timeout (300 seconds): closing control connection.
ftp_list: -30001 (state == GETTING_LIST)
QUIT
send_cmd():con_conn->Putline() returns -3155PC users seem to be having the same problem when they log in with whatever FTP client they're using.
John
-
Jim Matthews Administrator
There must be some difference between your networking situation and mine. Is your office network behind a firewall that might be blocking non-passive FTP? Can you connect to ftp.fetchsoftworks.com (leave User ID and Password blank) with passive mode turned off?
Thanks,
Jim Matthews
Fetch Softworks -
jcscott Member
Hi Jim,
I can connect to ftp.fetchworks.com with PASV on and Mac OS X Firewall on. However, "Getting File List" hangs with either or both options off. Here are the transcripts:
With PASV off and Mac OS X Firewall on:
Connecting to ftp.fetchsoftworks.com port 21 (4/8/04 9:50:11)
220 fetchsoftworks.com NcFTPd Server (licensed copy) ready.
ADAT
500 Syntax error, command unrecognized.
USER anonymous
331 Guest login ok, send your complete e-mail address as password.
PASS
230-You are user #4 of 16 simultaneous users allowed.
230-
230 Logged in anonymously.
SYST
215 UNIX Type: L8
PWD
257 "/" is cwd.
MACB ENABLE
500 Syntax error, command unrecognized.
PWD
257 "/" is cwd.
PORT 10,0,1,5,245,83
200 PORT command successful.
LIST
get_reply():con_conn->Getline() returns -3259
ftp_list: -30014 (state == GETTING_LIST)
QUIT
send_cmd():con_conn->Putline() returns -3259With PASV off and Mac OS X Firewall off:
Connecting to ftp.fetchsoftworks.com port 21 (4/8/04 10:06:39)
220 fetchsoftworks.com NcFTPd Server (licensed copy) ready.
ADAT
500 Syntax error, command unrecognized.
USER anonymous
331 Guest login ok, send your complete e-mail address as password.
PASS
230-You are user #2 of 16 simultaneous users allowed.
230-
230 Logged in anonymously.
SYST
215 UNIX Type: L8
PWD
257 "/" is cwd.
MACB ENABLE
500 Syntax error, command unrecognized.
PWD
257 "/" is cwd.
PWD
257 "/" is cwd.
PORT 10,0,1,5,35,135
200 PORT command successful.
LIST
CStreamOT::Read() OTRcv() returned -3259
get_reply():con_conn->Getline() returns -3259
ftp_list: -3259 (state == GETTING_LIST)
QUIT
send_cmd():con_conn->Putline() returns -3259John
-
Jim Matthews Administrator
It looks like an issue with your office's Internet connection (e.g. a firewall).
Jim Matthews
Fetch Softworks -
jcscott Member
Jim,
I'm connected via DSL (SBC/Yahoo). There is a post here I believe that mentions a problem with DSL and, is it, NLISTs. Still, I should be able to access the ProFTPD server, which is outside their firewall. I can access fetchworks' ftp, as long as I use PASV and Mac's local firewall.
So, how do I get the FTP guy who manages this server to work with me to resolve this problem? What can I suggest he check: settings, port access, what?
John
-
Jim Matthews Administrator
You can ask the administrator of ftp.sannet.gov to make sure that there's no firewall blocking incoming connections to TCP ports in the range 49152-65535.
On your end, I'd look at your router to make sure it doesn't incorporate a firewall that blocks non-passive FTP (e.g. by blocking incoming ports between 1024 and 65535).
Thanks,
Jim Matthews
Fetch Softworks
- Page 1
Topic closed
This topic has been closed.
Hi,
I'm having a problem accessing a public ftp server running ProFTPD on Solaris. The ftp is "ftp.sannet.gov", the username is "anonymous", and the password is your email address. I can log-in but Fetch 4.0.3 hangs while "getting file listing".
I'm using Mac OS X (10.3.3). I get the same problem either with or without the firewall on, and with either PASV checked or unchecked. I also get this problem with other FTP clients. In the terminal, FTP hangs the same way when I type "ls" but I get a "500 EPSV not understood." error first. FTP then switches to PASV and I get the hang.
I suspect that an older or misconfigured version of ProFTPD is being used, as my host uses ProFTPD 1.2.9 and I have no problem accessing with Fetch. I need an explanation that the system administrator will act on. Right now I'm just a lone Mac user and the only one with a problem.
Any advice?
John
Posted 19 years ago #