Re: Mac client ftp open data connection errors
- From: Steve Johnson <sjohnson29@xxxxxxxxxxx>
- Date: Thu, 31 Mar 2005 13:28:07 -0700
Well, I've determined the Mac firewall is what's preventing this from
working since when I turn it off or enable the FTP Server/Service on the Mac
(which automatically enables FTP on the firewall), FTP client access to the
SBS server works fine. This doesn't seem to be the best solution as you
shouldn't have to open up a personal firewall (and actually run the FTP
Server) on a client to access a server.
But anyway, it is a combination of the passive mode and the firewall. What's
weird is that on the Mac Firewall configuration screen it specifically says:
"To use FTP to retrieve files while the firewall is on, enable passive FTP
mode using the Proxies tab in Network Preferences."
Well, I've tried that over and over and it doesn't help. I've left some info
believe that I typed before I determined this about the Mac firewall in case
that helps at all. I'm still working on this, but sure appreciate any input
you have on a solution. Thanks.
Steve
> What happens if you type 'passive' at the FTP command prompt and then
> typ 'dir'?
>
Well, if I type 'passive on' I get this:
ftp> passive on
Passive mode: on; fallback to active mode: off.
ftp> dir
500 'EPSV': command not understood
227 Entering Passive Mode (xxx,xxx,xxx,xxx,17,35).
ftp: connect: Operation timed out
If I type 'passive off' I get this:
ftp> passive off
Passive mode: off; fallback to active mode: off.
ftp> dir
500 'EPRT |1|192.168.0.101|55932|': command not understood
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
Here it hangs until I do a ctrl-c and then I get this:
receive aborted. Waiting for remote to finish abort.
425 Can't open data connection.
421 Timeout (120 seconds): closing control connection.
The other option is 'passive auto' which does this:
ftp> passive auto
Passive mode: on; fallback to active mode: on.
ftp> dir
500 'EPSV': command not understood
227 Entering Passive Mode (xxx,xxx,xxx,xxx,19,200).
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
Another hang here until ctrl-c which then gives:
receive aborted. Waiting for remote to finish abort.
425 Can't open data connection.
500 '?ABOR': command not understood
>
>> Using CuteFTP on the Mac with the Data Connection preference set to PASV I
>> get the following:
>>
>> PASV
>> 227 Entering Passive Mode (xxx,xxx,xxx,xxx,194,125).
>>
>> Then it hangs for a couple minutes before CuteFTP pops up a Local System
>> Error.
>
> Hmmm. This sounds like a firewall interfering with the FTP transfer.
> This is happening on the local network, right?
>
Not sure what you mean here. My mac is across the internet from the sbs
server (not on the same lan, if that's what you mean).
>> So, I'm still wondering if it's a passive mode thing. Any thoughts?
>
> Yes, I believe it's still related to active mode vs. passive mode. See
> what happens when you set passive mode in the command-line FTP tool.
>
> -Eriq
.
- References:
- Re: Mac client ftp open data connection errors
- From: Eriq Neale
- Re: Mac client ftp open data connection errors
- Prev by Date: Re: SBS 2003 Version Info
- Next by Date: Re: DS1410D service error
- Previous by thread: Re: Mac client ftp open data connection errors
- Next by thread: Backing Up *JUST* SBS to reinstall
- Index(es):
Relevant Pages
|