FTP Server Recommendation

hucker

Active Member
I have an Axis Video server and would like to dump images to an ftp site every 30 seconds or so. I have the mechanism working and can see files copied from the video server to my machine via FTP. The problem is that if the file already exists filezilla server doesn't allow the transfer to take place. I've verified that this is the expected behavior in filezilla server and a request to make it configurable has been idle for 3 years...

http://trac.filezilla-project.org/ticket/2456

The log looks like this:

028099) 10/28/2008 4:58:48 AM - (not logged in) (192.168.1.71)> PASS ******
(028099) 10/28/2008 4:58:48 AM - video (192.168.1.71)> 230 Logged on
(028099) 10/28/2008 4:58:48 AM - video (192.168.1.71)> TYPE I
(028099) 10/28/2008 4:58:48 AM - video (192.168.1.71)> 200 Type set to I
(028099) 10/28/2008 4:58:48 AM - video (192.168.1.71)> PASV
(028099) 10/28/2008 4:58:48 AM - video (192.168.1.71)> 227 Entering Passive Mode (192,168,1,10,25,29)
(028099) 10/28/2008 4:58:48 AM - video (192.168.1.71)> STOR [email protected]
(028099) 10/28/2008 4:58:48 AM - video (192.168.1.71)> 150 Connection accepted
(028099) 10/28/2008 4:58:48 AM - video (192.168.1.71)> 226 Transfer OK
(028099) 10/28/2008 4:58:48 AM - video (192.168.1.71)> RNFR [email protected]
(028099) 10/28/2008 4:58:48 AM - video (192.168.1.71)> 350 File exists, ready for destination name.
(028099) 10/28/2008 4:58:48 AM - video (192.168.1.71)> RNTO closet.jpg
(028099) 10/28/2008 4:58:48 AM - video (192.168.1.71)> 550 file exists
(028099) 10/28/2008 4:58:48 AM - video (192.168.1.71)> QUIT



What ftp server is there where I can make this work? I'm trying to see if a delete can be sent out by the axis server... Suggestions welcome....
 
What Axis video server do you have? I 'thought' that there was a check box for overwriting files, but can't remember. I have a Axis 241Q and can look into this further though if you have this type of server.
 
FileZilla really is one of the better free server solutions, but doesn't look look like there is an easy fix for this. I did find a thread which discusses creating a small patch, so if you are comfortable with compiling code, I would give it a try:

http://forum.filezilla-project.org/viewtop...p;sk=t&sd=a

If you aren't, then I would look at other servers. One package I used to use is called "Quick 'n Easy FTP server", but looks like it is no longer free. They still offer a lite version, but not sure if this would work, worth a shot tho.

http://www.pablosoftwaresolutions.com/html...ftp_server.html
 
ah, sorry Chuck, I re-read and thought you were doing the FTP push from the Axis server directly (why not do this?).

I am doing a push. I have the axis server setup to load files up to the automation PC every 30 seconds. The overwrite option is selected and AFAICT it is doing the right thing as far as uploading an image with the same name. It is just that the FTP server (FileZilla Server on my automation PC) is failing the write...

The AXIS server is a 2400...

I'll keep looking, this sure seems like something every web cam on the planet must do...
 
The FTP log you posted does not show a direct upload/overwrite - it shows a unique upload filename, then a rename to the original file name, which is what is failing (the RNTO/550 error). Is there an option in the Axis FTP parameters that may be causing this behavior? Perhaps it is labeled as something different, like cacheing or buffering, or similar? I seem to remember something similar on an ftp client I once used. It was some sort of feature to prevent partial image retrieval when the client was still uploading the file...
 
The FTP log you posted does not show a direct upload/overwrite - it shows a unique upload filename, then a rename to the original file name, which is what is failing (the RNTO/550 error). Is there an option in the Axis FTP parameters that may be causing this behavior? Perhaps it is labeled as something different, like cacheing or buffering, or similar? I seem to remember something similar on an ftp client I once used. It was some sort of feature to prevent partial image retrieval when the client was still uploading the file...

I am currently using the overwrite option and as far as I can tell there are no more boxes for me to shotgun. This is a known issue wit the Axis server and FileZilla (one of the above links talks about this exact issue). I downloaded the Filezilla Server code but the build does not actually work for Visual Studio (argh)... I have a email into axis but have not heard back, it might be nice for them to suggest an ftp server that works, or some workaround. Right now I'm looking at hacking up a python ftp server... in my spare time.
 
I've used a freeware from 3com before Filezilla became mainstream - called 3CDaemon. Has an option to allow overwrite - but I haven't tested it.

3CDaemon

-Chak
 
Does it have to be Windows based? I use ProFTPD on my web hosting server.

At this time I'm using a windows machine to do this. I've tried several servers and they all have the same issue of being able to copy in the first file but not overwrite subsequent files. I used the axis dev kit last night to make a vb app that pulls the images down on a given schedule. Everything on that works very nicely... except it won't let me grab the quad image, that might be a limitation in the 2400 hardware.

I would like to get this working using FTP so I have as little 'custom' software as possible. I'm currently looking at a python ftp server that might cross the finish line...

I'll let you know.

Chuck

PS No help from axis yet...
 
Does it have to be Windows based? I use ProFTPD on my web hosting server.

At this time I'm using a windows machine to do this. I've tried several servers and they all have the same issue of being able to copy in the first file but not overwrite subsequent files. I used the axis dev kit last night to make a vb app that pulls the images down on a given schedule. Everything on that works very nicely... except it won't let me grab the quad image, that might be a limitation in the 2400 hardware.

I would like to get this working using FTP so I have as little 'custom' software as possible. I'm currently looking at a python ftp server that might cross the finish line...

I'll let you know.

Chuck

PS No help from axis yet...

I have used WarFTP for as long as I can remember, currently running on 3 servers in my office's handling 10-20GB's a day. I am pretty sure it will allow you to overwrite files, I just did a quick test and it seemed to overwrite without any issues.

Hope this works for you.

StevenE
 
Back
Top