FTP Rename File Issue on Server 2012 R2
Posted on 2016-11-15
I have a strange situation. I’m running an FTP server that has a folder that receives 48 images, every three seconds, from 12 camera servers. That is, each of the 12 camera servers sends four images every three seconds. The same folder is used by a webserver so that the images can be viewed by external users. This worked fine in Server 2003.
Now that I have migrated to Server 2012 R2 there is an issue when the camera servers try to rename the temp files they send to the name I need. I can see in the FTP Server log files the 550 error on the RNFR or RNTO command that it sends.
Here is the funny thing, if I delete all the files from the FTP folder and then start the camera servers I can see that they send the temp file and successfully rename the temp files to the name I need on the FIRST attempt. It is the subsequent files that follow that are not being renamed. So then in the FTP folder I can see the 48 jpegs that have been renamed, and then I can see 48 “*.tmp” files that keep changing because they are being overwritten every three seconds.
I have tried to mess with the NTFS permissions, even as going as far as giving the FTP account that it uses full administrator permissions. I find this behavior to be very odd. Any help would be greatly appreciated.
BTW, I have no control over the FTP process that my Axis 2400 camera servers use to send and rename the files. So please no suggestions on tinkering with the devices because I simply cannot do that.
Summary of issue:
1. 48 jpeg images FTP’d every three seconds to FTP server folder that is used by webserver.
2. Initial “*.tmp” files received and renamed to “*.jpg”.
3. Subsequent “*.tmp” files are overwritten, but 550 error on RNFR or RNTO when renaming to “*.jpg”.