Sunday, July 11, 2010

Preserving last modified date when uploading (asp.net)?

I need to preserve (or change) the last modified date in the file headers when uploading via ftp. When I upload a file via ftp, the last modified date will be the date of upload. Creation date would be fine too. I just need to have the original date attached somewhere in the attributes.





Does anyone have a creative solution. For instance, can I create a container with custom attributes and then stream the data into it? If so how would I do it? Links and/or code would be greatly appreciated. Also, I am using vb.net but C# is fine too.





Keep in mind I must pass credentials to the remote server.

Preserving last modified date when uploading (asp.net)?
http://www.dougv.com/blog/2007/01/11/ret...
Reply:zip them and ftp them then unzip them on the server


No comments:

Post a Comment