overwrite by rename with ftp / IIS5 FTP

Posted on 2009-12-17
Last Modified: 2012-05-08
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?
Question by:robert_skywalker
    LVL 13

    Expert Comment

    An atomic rename was only added in Vista, Windows Server 2008 and upwards.

    It won't work for Windows XP unfortunately.


    Author Comment

    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.
    LVL 6

    Expert Comment

    you need to change a property named:AllowReplaceOnRename

    You have directions how to do it over here: Check this out:
    LVL 6

    Accepted Solution

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

    mdutil set msftpsvc/n/AllowReplaceOnRename 1

    Author Comment

    thanks, I can try this tomorrow, then I'll report back whether this helped

    Author Closing Comment

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, ( because one time I did this and I essentially had a bricked …
    Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    This video discusses moving either the default database or any database to a new volume.

    737 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

    22 Experts available now in Live!

    Get 1:1 Help Now