 |
 |
FTP Problems
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Sep 2003
Status:
Offline
|
|
I'm having a problem accessing a friend's FTP server from my Mac. Here is the error messages I'm getting:
ftp x.x.x.x
Connected to x.x.x.x
220 x FTP at your service.
Name (x.x.x.x:BKB):
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 (|||30006|)
500 Bad EPRT protocol.
200 PORT command successful. Consider using PASV.
At this stage the shell hangs, and I have to Control+C, and I get:
^C
421 Service not available, user interrupt. Connection closed.
Info about the server: VSFTP running Fedora Core. Works without any problem from a Windows or Linux client.
Can anyone help me fix this, or advise my friend on what changes he has to make?
Thanks,
BKB.
|
|
PBG4/12"/1GHz/1.25GB/60GB//SD/APX/10.3
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jan 1999
Location: Marietta, GA, USA
Status:
Offline
|
|
|
|
Scott Genevish
scott AT genevish DOT org
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Sep 2003
Status:
Offline
|
|
Thanks for you reply. I followed those instructions, and I get the same results, however the login prompt comes up a lot faster now.
ftp x.x.x.x
Connected to x.x.x.x.
220 x FTP at your service.
Name (x.x.x.x:BKB):
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 (|||30006|)
500 Bad EPRT protocol.
200 PORT command successful. Consider using PASV.
^C
421 Service not available, user interrupt. Connection closed.
ftp>
Any ideas, anyone?
|
|
PBG4/12"/1GHz/1.25GB/60GB//SD/APX/10.3
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Sep 2003
Status:
Offline
|
|
If it helps, here is the server's vsftpd.conf:
nopriv_user=ftpsecure
ascii_upload_enable=YES
ftpd_banner=x FTP at your service.
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
ls_recurse_enable=NO
pam_service_name=vsftpd
userlist_enable=YES
listen=YES
tcp_wrappers=YES
max_clients=200
max_per_ip=4
pasv_min_port=30000
pasv_max_port=30006
|
|
PBG4/12"/1GHz/1.25GB/60GB//SD/APX/10.3
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
How long have you left it to wait at the hang?
Also, try this:
$ ftp
ftp> epsv4
EPSV/EPRT on IPv4 off.
ftp> open x.x.x.x
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 2000
Location: Seattle
Status:
Offline
|
|
A search on eprt brings up a lot of links about curl and the need to turn eprt off sometimes. it has an option: --disable-eprt
I would guess ftp has the same ability, and that's what I'd try.
Angus_D:
is that what ftp> epsv4 does?
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Sep 2003
Status:
Offline
|
|
Originally posted by Angus_D:
How long have you left it to wait at the hang?
Also, try this:
$ ftp
ftp> epsv4
EPSV/EPRT on IPv4 off.
ftp> open x.x.x.x
The odd thing is that I can FTP into one (of the two) sites I use without a problem. However, the one that I want to use doesn't work (I get the error listed above). I believe this points to an issue in the way the second server is configured, not my client. I think a server side fix would make more sense.
Any ideas?
|
|
PBG4/12"/1GHz/1.25GB/60GB//SD/APX/10.3
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Apr 2001
Status:
Offline
|
|
After telling you there's a problem with the EPRT mode, the server is also telling you to configure passive mode. A hang on sending data is exactly the symptom you'll see.
When you log into the server, before you do anything else, try setting the "pasv" command.
Wade
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|