• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 955
  • 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
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

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