Re: how to copy to web while including all files in folder and subfolders



Hello jrl
Thanks for your reply.

I have reproduced this behavior before. If the target directory has a
deleted file, the source file will not overwrite it. This is because VS IDE
will compare the timestamp of each file. The timestamp of the deleted file
in the target folder is equal to the timestamp of source file. This means
you have never made any change in the source file, and deleted this file
before. Thereby, VS IDE doesn't copy the source file to the target folder
unless there is a new version.

If you make any change on the default.aspx file, I believe VS IDE will
prompt "Confirm File Overwrite" dialog when you copy the folder to remote
website.

I think this behavior has been mentioned in the second exception:
The files being copied include a deleted file and the target still has a
copy of the file.

Anyway, if you want to copy the same file into remote website even though
you have deleted it before, you have to copy the file by select it in the
source panel directly.

Hope this helps. Let me know if you have any more concern. We are glad to
assist you.

Have a great day,
Best regards,

Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages