Solved

FTP Rename File Issue on Server 2012 R2

Posted on 2016-11-15
3
6 Views
Last Modified: 2016-11-20
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
Comment
Question by:Nathan Vanderwyst
  • 2
3 Comments
 
LVL 23

Expert Comment

by:NVIT
ID: 41889024
No specific answer for you but maybe consider contacting the camera company to see if it is compatible with Server 2012?
0
 

Accepted Solution

by:
Nathan Vanderwyst earned 0 total points
ID: 41889062
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
 

Author Closing Comment

by:Nathan Vanderwyst
ID: 41894677
Found the solution myself.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Understanding the various editions available is vital when you decide to purchase Windows Server 2012. You need to have a basic understanding of the features and limitations in each edition in order to make a well-informed decision that best suits y…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now