[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 19
  • Last Modified:

FTP Rename File Issue on Server 2012 R2

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”.
0
Nathan Vanderwyst
Asked:
Nathan Vanderwyst
  • 2
1 Solution
 
NVITCommented:
No specific answer for you but maybe consider contacting the camera company to see if it is compatible with Server 2012?
0
 
Nathan VanderwystAuthor Commented:
Thanks but I found the solution myself.  I'm surprised that isn't a more discussed topic but the solution was simply a setting buried in the FTP advanced settings.

I found the solution via this link: FTP File Handling

FTP File Handling Setting
0
 
Nathan VanderwystAuthor Commented:
Found the solution myself.
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now