How do I set DateTimeStamp on file after uploading to FTP?
Posted
by Anthony Brien
on Stack Overflow
See other posts from Stack Overflow
or by Anthony Brien
Published on 2009-05-29T19:42:02Z
Indexed on
2010/03/26
10:03 UTC
Read the original article
Hit count: 515
I have an application that deploys game data files to different gaming consoles. If matching files on the users machine and the console have identical size and dates, they must not be re-deployed.
On Xbox, this is easily accomplished because an XDK library used to upload files on the console allows me to set the date on the uploaded files to match the dates on the user's machine.
On Ps3 however, I use an FTP service running on the console. I use WebClient.UploadFileAsync
to upload files to the console. However, I cannot figure out how I can set the uploaded file's date timestamp, leaving me with only the file size to determine identical files which is unsafe.
I was wondering if there was a way to set a file's date timestamp through the WebClient interface?
© Stack Overflow or respective owner