moving the ftp port

Kurt Wall kwall
Mon May 17 12:00:57 PDT 2004


In a 0.7K blaze of typing glory, M.W. Chang wrote:
> >230 Anonymous access granted, restrictions apply.
> >Remote system type is UNIX.
> >Using binary mode to transfer files.
> >ftp> passive
> >Passive mode on.
> >ftp> put ftp.test
> >local: ftp.test remote: ftp.test
> >227 Entering Passive Mode (61,10,50,59,21,139).
> >ftp: connect: Connection refused
> 
> Thank you.  Could you try an active mode?
> I did open both 5051 and 5052.

Active mode doesn't work:

230 Anonymous access granted, restrictions apply.
passive
Passive mode on.
bin
200 Type set to I
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> pass
Passive mode off.
ftp> put ftp.test
local: ftp.test remote: ftp.test
200 PORT command successful
[... connection appears to hang ...]

Passive:

ftp> put ftp.test
local: ftp.test remote: ftp.test
227 Entering Passive Mode (61,10,50,59,24,59).
ftp: connect: Connection refused
ftp> pass
Passive mode off.
ftp> put ftp.test
ftp> put ftp.test
local: ftp.test remote: ftp.test
200 PORT command successful
550 ftp.test: Temporary hidden file /.in.ftp.test. already exists
ftp> put ftp.test ftp.test.2
local: ftp.test remote: ftp.test.2
200 PORT command successful
[... connection appears to hang ...]

Kurt
-- 
Seminars, n.:
	From "semi" and "arse", hence, any half-assed discussion.



More information about the Linux-users mailing list