Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > File Overwrite - What does Windows do first?

Reply
Thread Tools

File Overwrite - What does Windows do first?

 
 
ukwebguy
Guest
Posts: n/a
 
      04-13-2006
Hi,

I'm using Persits ASP Upload to upload files to a simple document
management application running on Windows Server 2003. At the moment
I've set the OVERWRITEFILES property to FALSE so every time a file is
updated ie the same file is uploaded, the filename is extended by a
postfix eg if I upload logfile.txt and then upload it again the new file
is called logfile(1).txt This is required because the code first uploads
the new file and then deletes the old one. The drawback is that the file
name extends and extends and extends...

My question is - if I set OVERWRITEFILES to TRUE and the upload fails
half way through, will the original file be trashed or will Windows
somehow 'roll back'?

Regards
ukwebguy
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mistakenly Overwrite Word File - Can the original file be restored =?Utf-8?B?ZWlk?= Microsoft Certification 4 08-30-2006 04:59 PM
does a "parameters"-parameter overwrite the "parameters"-object? Florian Loitsch Javascript 11 03-15-2005 03:33 PM
Re: JSP form submit does not overwrite request parameter value zalla rouge Java 0 09-02-2003 03:02 PM
Re: JSP form submit does not overwrite request parameter value VisionSet Java 1 09-02-2003 11:27 AM
Re: file overwrite data manipulation John Harrison C++ 2 06-27-2003 05:12 AM



Advertisments