[svlug] FTP Problem

Karl Larsen k5di at zianet.com
Thu Jan 29 05:05:35 PST 2004


On Thu, 29 Jan 2004, Piotr Zbiegiel wrote:

> On Wed, 2004-01-28 at 19:13, Karl Larsen wrote:
> <snip>
> > 	On Red Hat 9 there is a pftp but it doesn't put the ftp in 
> > passive mode. In man ftp there is no -p operator. The only way I have 
> > found is the manual issue passive AFTER your logged on.
> <snip>
> 
> Huh? Did you install a different Redhat 9?
> 
> $ rpm -qf /usr/bin/pftp
> ftp-0.17-17
> 
> $ rpm -ql ftp
> /usr/bin/ftp
> /usr/bin/pftp
> /usr/share/man/man1/ftp.1.gz
> /usr/share/man/man1/pftp.1.gz
> /usr/share/man/man5/netrc.5.gz

	I get exacly the above, no problems. So we have the same setup 
and after reading man pftp I do see the -p and when I use it I get:

[karl at bucket karl]$ pftp -p ftp.zianet.com
Connected to ftp.zianet.com (216.234.192.127).
220 oracle Microsoft FTP Service (Version 5.0).
Name (ftp.zianet.com:karl): k5di
331 Password required for k5di.
Password:
230 User k5di logged in.
Remote system type is Windows_NT.
ftp> pwd
257 "/k5di" is current directory.
ftp> ls
227 Entering Passive Mode (216,234,192,127,13,255).

So it appears that pftp -p doesn't work.

So I tried straight pftp and:

[karl at bucket karl]$ pftp ftp.zianet.com
Connected to ftp.zianet.com (216.234.192.127).
220 oracle Microsoft FTP Service (Version 5.0).
Name (ftp.zianet.com:karl): k5di
331 Password required for k5di.
Password:
230 User k5di logged in.
Remote system type is Windows_NT.
ftp> pwd
257 "/k5di" is current directory.
ftp> ls
227 Entering Passive Mode (216,234,192,127,14,1).

So finally I tried plain ftp:

[karl at bucket karl]$ ftp ftp.zianet.com
Connected to oracle.zianet.com.
220 oracle Microsoft FTP Service (Version 5.0).
500 'AUTH GSSAPI': command not understood
500 'AUTH KERBEROS_V4': command not understood
KERBEROS_V4 rejected as an authentication type
Name (ftp.zianet.com:karl): k5di
331 Password required for k5di.
Password:
230 User k5di logged in.
Remote system type is Windows_NT.
ftp> passive
Passive mode off.
ftp> 

	This works fine.


> 
> My ftp man page certainly mentions -p and pftp and it works from my
> box.  I can't imagine why it would differ though.
> 
> 
> 
> 
> 
> 
> _______________________________________________
> svlug mailing list
> svlug at lists.svlug.org
> http://lists.svlug.org/lists/listinfo/svlug
> 

-- 
                      
               - Karl Larsen k5di Las Cruces,NM Az ScQRPions -





More information about the svlug mailing list