I have been asked to configure one of our 5.3 servers ftp so that its also runs on ports 8000, 8001, 8002 & 8003 as well as running on the default port. How do I do this?
Is it just a case of adding some more entries into /etc/services for ftp?
then in /etc/services uses the service name to fire up the ftpd program
ftp1 stream tcp6 nowait root /usr/sbin/ftpd ftpd
ftp2 stream tcp6 nowait root /usr/sbin/ftpd ftpd
e.g.
Then use ftp1 , ftp2 etc..
I havent tried it but just a thought , thought being if you just add the ports in /etc/services how does ftp know which one to use because you can have multiple ftp sessions
> I also logged a call with IBM an they tell me that this is not possible with the default ftp client. So i have been looking at wu-ftp and pro-ftp.
They're talking rubbish. From the man page:
"The /usr/sbin/ftpd daemon is the DARPA Internet File Transfer Protocol (FTP) server process. The ftpd daemon uses the Transmission Control Protocol (TCP) to listen at the port specified with the ftp command service specification in the /etc/services file.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.