Your best friend for file transfer.

"Server Response: Can't Open Data Connection" (7 posts)
- Started 15 years ago by plarkin
- Latest reply 8 years ago from Deb
-
plarkin Member
-
Scott McGuire Administrator
Hi,
What happens if you use the command-line ftp client built into Mac OS X ?
Try the following:
* Open the Applications folder.
* Open the Utilities folder.
* Open the Terminal application.
* At the prompt, type:ftp your-server-address
* Replace "your-server-address" with the hostname (or IP address) for the problem server.
* And then press the Return key.
* Then the command-line ftp client will prompt you for "Name:"; type your username and press the Return key.
* Then you will be prompted to enter your password; enter your password and press the Return key. (The letters you type won't appear on the screen, for privacy.)
* Type "debug" (without quotes), and press the Return key.* Type "ls" (without quotes), and press the Return key.
* You'll get a response from the server at this point. Please copy the response, and paste it into a reply to this message.
* Then you can exit the command-line ftp client by typing "quit" (without the quotes).Thanks,
Scott McGuire
Fetch Softworks -
plarkin Member
Thanks Scott,
Here is the result, from the debug command on:
ftp> debug
Debugging on (debug=1).
ftp> ls
---> EPSV
500 'EPSV': command not understood
disabling epsv4 for this connection
---> PASV
227 Entering Passive Mode (209,190,220,119,6,90).
---> PORT 128,183,60,142,194,75
200 PORT command successful.
---> LIST
150 Opening ASCII mode data connection for /bin/ls.
10-04-07 11:35PM 23159 .Security
10-04-07 11:31PM <dir> anon_ftp
10-04-07 11:31PM <dir> cgi-bin
10-04-07 11:31PM <dir> error_docs
01-08-08 11:26AM <dir> httpdocs
10-04-07 11:31PM <dir> httpsdocs
10-04-07 11:31PM <dir> private
10-04-07 11:31PM <dir> statistics
10-04-07 11:31PM <dir> subdomains
10-04-07 11:31PM <dir> vault_scripts
10-04-07 11:31PM <dir> web_users
226 Transfer complete.
ftp> quit
---> QUIT -
Scott McGuire Administrator
Hi,
Thanks for the additional information.
Which version of Fetch are you using?
Thanks,
Scott McGuire
Fetch Softworks -
Deb Member
I am having the same problem. I followed your instructions above and here is the info from Terminal:
Last login: Thu Apr 23 12:13:56 on ttys000
You have mail.
deborah-brauns-imac-2:~ Moses2$ ftp primarydigital.com
Connected to primarydigital.com.
220 Website FTP Server Ready
Name (primarydigital.com:Moses2): primarydigital.com
331 Password required for primarydigital.com
Password:
230 User primarydigital.com logged in
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> debug
Debugging on (ftp_debug=1).
ftp> Is
?Invalid command.
ftp> debug
Debugging off (ftp_debug=0).
ftp> debug
Debugging on (ftp_debug=1).
ftp> ls
---> EPSV
501 EPSV: Operation not permitted
disabling epsv4 for this connection
---> PASV
227 Entering Passive Mode (64,29,151,221,255,68)
---> LIST
150 Opening ASCII mode data connection for file list
drwx--S--- 11 ftp ftp 4096 Feb 8 2012 .
drwx--S--- 11 ftp ftp 4096 Feb 8 2012 ..
drwx------ 4 ftp ftp 4096 Apr 10 2012 cgi-bin
drwx--S--x 3 ftp ftp 4096 Oct 25 2009 .cpc
drwxrwxrwx 2 ftp ftp 4096 Feb 2 2012 customers
drwx--S--- 3 ftp ftp 4096 Jun 15 2010 databases
lrwxrwxrwx 1 ftp ftp 6 Feb 18 2014 html -> public
drwx------ 2 ftp ftp 102400 Apr 22 23:39 logs
-rwx--S--x 1 ftp ftp 46 Apr 14 2009 .passwd
-rwx--S--x 1 ftp ftp 0 Apr 14 2009 PHP5
drwx--S--- 6 ftp ftp 4096 Oct 25 2009 primarydigital.com
drwx------ 8 ftp ftp 4096 Nov 22 2012 private
drwx--S--- 16 ftp ftp 4096 Feb 8 2012 public
-rwx--S--x 1 ftp ftp 788 Apr 14 2009 README.txt
lrwxrwxrwx 1 ftp ftp 6 Feb 18 2014 secure -> public
lrwxrwxrwx 1 ftp ftp 7 Feb 18 2014 secure-cgi-bin -> cgi-bin
drwx--S--x 2 ftp ftp 4096 Oct 25 2009 stats
226 Transfer complete
ftp>I am using Fetch 5.7.5
-
Jim Matthews Administrator
Hi,
Thanks for trying that. Could you try connecting with Fetch and then choose "Fetch Transcript" from the Window menu and post the contents after you get the error?
Thanks,
Jim Matthews
Fetch Softworks -
Deb Member
Hi, Jim:
You actually answered my issue on another thread.
Thanks! It worked great.
- Page 1
Help! I've used fetch on my macs for years and am having a new problem. I'm getting the above error when trying to connect to one of my ISPs. Connections to other servers and ISPs others work fine.
I have tried turning firewall on and off, turning PASV on an off, turning 'send list -al to Unix servers' on and off, using different (macintosh only) computers from different locations on different servers. Nothing seems to work and the ISP is clueless so far.
Here's the Fetch Transcript for the PASV failure:
Connecting to sthughs.com port 21 (1/9/08 2:07:28 PM)
220 Microsoft FTP Service
USER zsthughs1265com
331 Password required for zsthughs1265com.
PASS
230 User zsthughs1265com logged in.
SYST
215 Windows_NT
PWD
257 "/" is current directory.
MACB ENABLE
500 'MACB ENABLE': command not understood
SITE DIRSTYLE
200 MSDOS-like directory output is off
PWD
257 "/" is current directory.
PASV
227 Entering Passive Mode (209,190,220,119,6,26).
LIST
425 Can't open data connection.
ftp_list: -30000 (state == GETTING_LIST)
QUIT
And here's the transcript for PASV-off, firewall-off, failure:
Connecting to sthughs.com port 21 (1/9/08 2:26:17 PM)
220 Microsoft FTP Service
USER zsthughs1265com
331 Password required for zsthughs1265com.
PASS
230 User zsthughs1265com logged in.
SYST
215 Windows_NT
PWD
257 "/" is current directory.
MACB ENABLE
500 'MACB ENABLE': command not understood
SITE DIRSTYLE
200 MSDOS-like directory output is off
PWD
257 "/" is current directory.
PORT 128,183,60,142,206,70
200 PORT command successful.
LIST
150 Opening ASCII mode data connection for /bin/ls.
ABOR
425 Can't open data connection.
Any advice or insight is greatly appreciated.
Posted 15 years ago #