General
cancel
Showing results for 
Search instead for 
Did you mean: 

Need recommendation for good customizable FTP server

SOLVED
Go to solution
Debbie Fleith
Regular Advisor

Need recommendation for good customizable FTP server

We need to re-develop an outdated wu-ftp server that had these custom features:

--Placing large inbound ftp files in a specific directory.
--Renaming the files to date-time-stamp names and then moving those files to other directories once the file transfer is complete.

What FTP server is recommended these days for customization? I don't see our needs taken care of with vsftp.
5 REPLIES
Steven E. Protter
Exalted Contributor

Re: Need recommendation for good customizable FTP server

Shalom,

wu-ftpd is very customizable btw, and most of the above can be done with the home directory of the user, though some cron scripting may be required.

the standard vsftpd for Linux can do some of what you want. Good admin scripting will have to do the rest.

Note that in their default configuration both of the above authenticate in clear text (not secure) and vsftpd permits anonymous ftp and does not chroot its users.

Going to an sftp based solution might be better. openssh is a standard component of all linuxes.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Court Campbell
Honored Contributor

Re: Need recommendation for good customizable FTP server

I wouldn't think that you would need to customize and ftp daemon to do the things you require. I would think all this would be handled via scripts. Just my thoughts.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Debbie Fleith
Regular Advisor

Re: Need recommendation for good customizable FTP server

We have provided our customers with a simple way of automating the file transfer of interface files to our Linux server. Their non-Linux servers initiate the file tranfer. Due to not being able to change how their end works, we need our end to work the same way. We do not know what time the files will arrive and the inbound files are named the same, so, we cannot have the files over-writing each other.
Court Campbell
Honored Contributor
Solution

Re: Need recommendation for good customizable FTP server

Well, I usually do not modify source. But you would probably need to modify the source of whatever ftp daemon you used. I wish I had a better answer for you. My only other thought is to try

http://search.cpan.org/~rwmj/Net-FTPServer-1.122/lib/Net/FTPServer.pm

Being that it is written in perl it would probably be easier to hack and customize.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
dirk dierickx
Honored Contributor

Re: Need recommendation for good customizable FTP server

the question is if it is 100% impossible to change something on the client site.

if for example you would be able to add a 'site exec' command at the end of each transfer, you could let it execute a script on the ftp server that does whatever you want with that file.

from the manpage:

The SITE EXEC command may be used to execute commands in the /bin/ftp-exec directory. Take care that you understand the security implications before copying any command into the /bin/ftp-exec directory. For example, do not copy in /bin/sh. This would enable the user to execute other commands through the use of sh -c. If you have doubts about this feature, do not create the /bin/ftp-exec directory.