[Last Call] Learn how to a build a cloud-first strategyRegister Now

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

overwrite by rename with ftp / IIS5 FTP

Hello,
I've here a windows XP SP2, IIS 5.0 where it seems not to be possible to rename an uploaded file to a already exisiting filename to overwrite it almost atomic.
How can I enable this?
Thanks,
Robert
0
robert_skywalker
Asked:
robert_skywalker
  • 3
  • 2
1 Solution
 
Springy555Commented:
An atomic rename was only added in Vista, Windows Server 2008 and upwards.

It won't work for Windows XP unfortunately.

0
 
robert_skywalkerAuthor Commented:
but as far as I know it was possible on this pc before if I'm not wrong?
I know it is not a real atomic rename but virtual made by the ftp server - that's even better than send del by ftp before as latency for ftp is slow. But now it doesn't seem to work anymore.
0
 
oferamCommented:
you need to change a property named:AllowReplaceOnRename

You have directions how to do it over here: Check this out: http://support.microsoft.com/kb/309634
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
oferamCommented:
Even further using the command line utility extracted from w2k CD, use the following command:

mdutil set msftpsvc/n/AllowReplaceOnRename 1
mdutil.exe
0
 
robert_skywalkerAuthor Commented:
thanks, I can try this tomorrow, then I'll report back whether this helped
0
 
robert_skywalkerAuthor Commented:
thanks, instructions for mdutil.exe were easy to follow and executed correctly, but there seem to be other problems on this pc. now explorer does not display any files in this ftproot. network share to ftproot disappeard. even administrator doesn't see the files in there. display them via ftp works. i think I'll have to do a new installation.
I assign points anyway because I think its out of the scope of the initial question.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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