moving the ftp port

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


In a 0.6K blaze of typing glory, M.W. Chang wrote:
> >I relocated the proftpd port from 21 to 5052, expecting ftp-data at port 
> >5051. I could login, but doing a `ls` would give no directory listing.
> 
> hmm.. could someone tell me what you saw when you
> 
> ftp toylet.homeip.net 5052  (active and passive mode)
> 
> can you upload file to the directory?

Close, but no cigar:

[kurtw]$ ftp toylet.homeip.net 5052
Connected to toylet.homeip.net.
220-
   .~.    toylet's server powered by Caldera OpenLinux(TM)
  / v \
 /( _ )\  opening hours: 10:15 - 21:45
   ^ ^    10:16pm up 3 days 1 user load average: 1.00 1.00
220 powered by proftpd on linux
331 Anonymous login ok, send your complete email address as your password.
230-
 
 Welcome, anonymous from 65.117.135.105!
 Current Time is Mon Mar 29 22:17:39 2004.
 This is a *UPLOAD-only* directory,
 with 2741925 bytes of free disk space.
 
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
ftp> 

Kurt
-- 
"Last week a cop stopped me in my car.  He asked me if I had a police
record.  I said, no, but I have the new DEVO album.  Cops have no sense
of humor."



More information about the Linux-users mailing list