Your best friend for file transfer.

Problem accessing NAT'ed site (8 posts)
- Started 15 years ago by ulfie22
- Latest reply 15 years ago from Scott McGuire
-
ulfie22 Member
-
Scott McGuire Administrator
Hi,
Could you please try the following?
In Fetch, go to the Fetch menu, choose Preferences, click the General tab, and make sure the"Use passive mode transfers (PASV)" checkbox is checked.
Then try to connect to your server again.
If that does not work, could you please show us the entire Fetch Transcript? (You can find it by choosing Fetch Transcript from the Window menu.)
Thanks,
Scott McGuire
Fetch Softworks -
ulfie22 Member
Scott -
Thank you for your replay, and Happy New year!!
Here's the session transcript:
USER XXXXXX
331 Please specify the password.
PASS
230 Login successful.
SYST
215 UNIX Type: L8
PWD
257 "/www/servers/mdelapa"
MACB ENABLE
500 Unknown command.
CWD 2007HolidayPhotos/
250 Directory successfully changed.
PWD
257 "/www/servers/mdelapa/2007HolidayPhotos"
PWD
257 "/www/servers/mdelapa/2007HolidayPhotos"
TYPE A
200 Switching to ASCII mode.
PASV
227 Entering Passive Mode (10,10,22,51,27,183)
Making data connection to 64.186.170.78 port 7095
ABOR
225 No transfer to ABOR.
PORT 172,22,1,54,193,117
200 PORT command successful. Consider using PASV.
LIST -al
ABOR
ftp_list: 2,-30027 (state == GETTING_LIST)
QUIT
send_cmd():con_conn->Putline() returns 2,32767The IP address (64.186.170.78) is NAT'ed behind a firewall. It worked just fine prior to changing the server to a NAT address.
Thanks again!
-
Scott McGuire Administrator
Hi,
Thanks for the transcript.
Please try the following:
* Go to the Fetch menu, and choose Preferences.
* Click the General tab, and uncheck the "Use passive mode transfers" checkbox (yes, the opposite of what I asked you to do earlier).
* Then click the Miscellaneous tab, and uncheck the "Use LIST - al command to reveal hidden files" checkbox.
* Try connecting to the server again.Let us know if this helps or not (and if not, please send a Fetch transcript from the failed attempt).
Thanks,
Scott McGuire
Fetch Softworks -
ulfie22 Member
Scott -
Once again - thanks for the quick reply.
It still did not work - here is the resulting log:
Fetch 5.3 (5D161) Intel running on Mac OS X 10.5.1 (9B18) Intel English
StuffIt Engine 0x820, StuffIt SDK Version 10.1.1b1
Expires 01/10/2008 T
Connecting to 64.186.170.78 port 21 (Mac OS X firewall is allowing connections) (1/2/08 2:18:55 PM)
Connected to 64.186.170.78 port 21 (1/2/08 2:18:55 PM)
220 Welcome to NetSMART VA2 FTP service.
USER XXXXXXX
331 Please specify the password.
PASS
230 Login successful.
SYST
215 UNIX Type: L8
PWD
257 "/www/servers/mdelapa"
MACB ENABLE
500 Unknown command.
CWD 2007HolidayPhotos/
250 Directory successfully changed.
PWD
257 "/www/servers/mdelapa/2007HolidayPhotos"
PWD
257 "/www/servers/mdelapa/2007HolidayPhotos"
TYPE A
200 Switching to ASCII mode.
PORT 172,22,1,54,202,128
200 PORT command successful. Consider using PASV.
LIST
ABOR
ftp_list: 2,-30028 (state == GETTING_LIST)
ftp_list: tw->port_retries == 0, retrying file list
Connecting to 64.186.170.78 port 21 (Mac OS X firewall is allowing connections) (1/2/08 2:19:34 PM)
Connected to 64.186.170.78 port 21 (1/2/08 2:19:34 PM)
220 Welcome to NetSMART VA2 FTP service.
USER XXXXXXX
331 Please specify the password.
PASS
230 Login successful.
SYST
215 UNIX Type: L8
PWD
257 "/www/servers/mdelapa"
MACB ENABLE
500 Unknown command.
CWD 2007HolidayPhotos/
250 Directory successfully changed.
PWD
257 "/www/servers/mdelapa/2007HolidayPhotos"
TYPE A
200 Switching to ASCII mode.
PASV
227 Entering Passive Mode (10,10,22,51,42,47)
Making data connection to 64.186.170.78 port 10799
ABOR
225 No transfer to ABOR.
PORT 172,22,1,54,202,134
200 PORT command successful. Consider using PASV.
LIST
Update check skipped at 01/02/2008 02:20 PM (next check after 01/02/2008 10:36 PM)
ABOR
ftp_list: 2,-30027 (state == GETTING_LIST)
QUIT
send_cmd():con_conn->Putline() returns 2,32767If it would help, I would be happy to give you credentials to access the machine so you can test more efficiently.
Thanks again.
-
Jim Matthews Administrator
Hi,
Fetch is automatically trying the two commands that it can use to set up an FTP data transfer, PASV (passive mode) and PORT (active mode), but both are failing.
PASV is failing because the server is saying "Connect to me at 10.10.22.51", its private NAT address. Fetch is smart enough to know that that will never work, so it connects to 64.186.170.78, the server's public address, instead, but that doesn't work either. To get PASV to work you would need to configure the NAT gateway differently, e.g. so that connections to the public address are automatically forwarded to the server. I'd recommend contacting the web host administrator about that.
PORT is failing also, but I don't see an obvious reason why. It could be related to the server being switched to NAT, or it could be something on your end. If you send the login information to bugs at fetchsoftworks dot com we'll try to see if we can connect, which would help pin down where the problem is.
Thanks,
Jim Matthews
Fetch Softworks -
ulfie22 Member
Just wanted to let you guys know the problem is solved and your help was terrific. Keep up the good work!!
-
Scott McGuire Administrator
Hi,
Good to hear - thanks for the followup!
Best,
Scott McGuire
Fetch Softworks
- Page 1
I'm using Fetch 5.3. My web host just changed his network configuration so that it now uses network address translation behind his firewall. Fetch used to work just fine but now it doesn't.
Here's a transcript of a session:
tp> ftp zzzxxxyyy.com
Connected to zzzxxxyyy.com.
220 Welcome to NetSMART VA2 FTP service.
Name (): name
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
229 Entering Extended Passive Mode (|||51575|)
500 Bad EPRT protocol.
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
ftp: poll timeout waiting before accept: Operation timed out
426 Failure writing network stream.
225 No transfer to ABOR.
ftp>
I've seen other references to a problem accessing NAT'ed servers. Is there a way to configure Fetch to get around this?
Thanks!!
Posted 15 years ago #