image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old September 29th, 2003, 02:20 AM
Registered User
 
Join Date: Feb 2001
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
jrod7350 is on a distinguished road
'ls' in FTP error on G5 under 10.2.7

here's a capture from my ftp session:

ftp> cd Desktop
250 CWD command successful.
ftp> ls
229 Entering Extended Passive Mode (|||50914|)
500 Illegal EPRT command rejected
200 PORT command successful.

421 Service not available, remote server timed out. Connection closed

It gets stuck at the 229 forever, and then finally gives me the error 500. What's happening? Thanks.
Reply With Quote
  #2  
Old September 29th, 2003, 05:23 AM
profx's Avatar
ill never 4get watsisname
 
Join Date: May 2001
Location: Auckland New Zealand
Posts: 386
Thanks: 0
Thanked 0 Times in 0 Posts
profx is on a distinguished road
this is a problem with win nt ftp server, i have the same problem all the time with my university server

Code:
Connected to host.domain
220 Microsoft FTP Service
Name (host.domain:profx): domain\user
331 Password required for domain\user.
Password:
230 User domain\user logged in.
Remote system type is Windows_NT.
ftp> ls
500 'EPSV': command not understood
227 Entering Passive Mode (nah...,9,155).
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
^C
receive aborted. Waiting for remote to finish abort.
^C
remote abort aborted; closing connection.
ftp>
the ^C is from command+period. It hung there for about 5 mins

it just sits there for ever. Bah. Even interarchy can't get in, nor the finder, but win '98 running on Virtual PC can. Windows_NT server just wont let any client but a windows client list/download.

The help command still works, but cant do anything useful. Can create and delete directory, but can't transfer files/listings

Anyone have a solution for this?
__________________
| PowerBook G4 550 - 10.4 - 512Mb - 20Gb | 30Gb iPod Photo | 40x12x48 Fantom Drives CDRW (firewire) | Logitech Cordless Mouse MX700 | xBox with XBMC for movies and music in the lounge
Reply With Quote
  #3  
Old September 29th, 2003, 09:12 AM
rhg rhg is offline
Registered User
 
Join Date: Dec 2002
Location: Velbert, Germany
Posts: 220
Thanks: 0
Thanked 0 Times in 0 Posts
rhg is on a distinguished road
The new FTP client now supports FTP Extended Passive Mode which has been invented to be able to deal with IPV6 networks.

If you are interested:
http://www.networksorcery.com/enp/protocol/ftp.htm
http://www.networksorcery.com/enp/rfc/rfc2428.txt

Reading the error messages you encounter, I suspect that the firewall is not yet able to handle this correctly. Try to deactivate the firewall and see if this solves the problem.
Reply With Quote
  #4  
Old September 29th, 2003, 11:15 PM
Registered User
 
Join Date: Feb 2001
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
jrod7350 is on a distinguished road
I'm not on a firewall, instead I'm behind a router that has IP forwarding. I can't turn the router off, so if that's the problem, I'll need another solution.
Reply With Quote
  #5  
Old September 30th, 2003, 04:43 AM
rhg rhg is offline
Registered User
 
Join Date: Dec 2002
Location: Velbert, Germany
Posts: 220
Thanks: 0
Thanked 0 Times in 0 Posts
rhg is on a distinguished road
Mac OS X has a built-in firewall, this is what I mean. Check if it is activated or not.
Reply With Quote
  #6  
Old October 1st, 2003, 11:32 PM
davidbrit2's Avatar
Licensed Computer Geek
 
Join Date: Sep 2000
Location: Michigan, USA
Posts: 787
Thanks: 0
Thanked 0 Times in 0 Posts
davidbrit2 is on a distinguished road
Try active ftp. Start up the ftp client, connect to the server, and use the command "passive." That will make your client connect to the server on port 20, rather than having the server connect back to you with the data connection. Passive ftp behind a firewall is a pain in the ass. Take it from someone that just had to enable it on Linux with iptables. ;-)
__________________
You can have my iBook when you pry it from my cold, dead fingers.
iBook - The computer of choice for the enlightened CS major. Come on Apple, let me do a commercial. ;-)
"An alloc a day keeps the DRAM away!"
Reply With Quote
  #7  
Old October 3rd, 2003, 02:55 PM
kilowatt's Avatar
mach-o mach-o man
 
Join Date: Mar 2001
Location: irc.lfnet.net #kilonet
Posts: 980
Thanks: 0
Thanked 0 Times in 0 Posts
kilowatt is on a distinguished road
davidbrit2 hit the nail on the head.

FTP is a major bitch these days. While it can be made easier, there's always some cavet.

I guess this is why so many downloads are http now.
__________________
irc.lfnet.net #kilonet -+=join in=+-
Quote:
...the belief that the rights of man come not from the generosity of the state but the hand of God...
PEBKAC - Problem Exists Between Keyboard And Chair. --who said it first?
Audio Engineer - ProTools and Logic Pro Certified.
FCC Licensed RF Technician
Reply With Quote
  #8  
Old October 3rd, 2003, 03:07 PM
davidbrit2's Avatar
Licensed Computer Geek
 
Join Date: Sep 2000
Location: Michigan, USA
Posts: 787
Thanks: 0
Thanked 0 Times in 0 Posts
davidbrit2 is on a distinguished road
Yeah, ftp is great for what it is, but the whole idea of passive clients just doesn't work with modern security. Frankly I think active mode should be made the default for anything outside the subnet. Maybe I'll have to do a little source code hacking. ;-)
__________________
You can have my iBook when you pry it from my cold, dead fingers.
iBook - The computer of choice for the enlightened CS major. Come on Apple, let me do a commercial. ;-)
"An alloc a day keeps the DRAM away!"
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 08:56 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.