?
Solved

FTP Rename File Issue on Server 2012 R2

Posted on 2016-11-15
3
Medium Priority
?
16 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 25

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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
Recently, I was assigned the task of performing a hardware refresh in the datacenter. The previous Windows 2008 systems were connected to the SAN via fiber channel HBA’s and among other thing, had PowerPath installed in order to provide sufficient f…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…
Suggested Courses

800 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