Linux FTP server, Windows Clients: Path Separator Problem
I'm attempting to set up a Linux-based server to handle our public FTP. This will be replacing a rather overworked Windows box.
Our clients mainly use automated FTP scripts to supply us with files. I'm aiming to have the Linux server act as a complete 'drop-in' replacement for the Windows box. Key to this, is that I really want to avoid having to ask for changes at the client's end.
Currently, some of the PUT commands issued by the client will be storing to a path using Windows-style backslash-delimited paths.
For example, the root of one of our ftp homes may look something like:
and the client app may do a PUT as follows (note the backslash)
PUT C:\SomeFile.Dat incoming\SomeFile.dat
I've tried a couple of FTP servers. pure-ftpd will see that 'incoming\SomeFile.dat', and fail with an invalid filename error. proftpd creates a file named 'incoming\SomeFile.dat' in the root of the ftp home.
I need an FTP server daemon which can handle both back- and forward-slash delimited paths. I'm currently trying to toy with proftpd's mod_rewrite module to replace \'s with /'s using a regex, but I'm failing miserably!
Has anyone got a solution to this? I can't imagine I'm the first to encounter this!