Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
5.4k views
in .NET FTP by
I am using the Ftp.get(localpath,remoteFile) method. I have noticed the the file creation date is when the system created the file. I would like to use the date/time stamp of the original file. Is there any way to do this?

1 Answer

0 votes
by (161k points)
Get() transfers the contents of a remote file and creates a new file, so no, not directly.

You can however use ModTime() to get the file creation date of the remote file if you need this information.

The other way is to zip up the remote file. You can download the zipped file and unzip it - it may retain the original creation date in that instance.

I am using the Ftp.get(localpath,remoteFile) method. I have noticed the the file creation date is when the system created the file. I would like to use the date/time stamp of the original file. Is there any way to do this?

Categories

...