Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.8k views
in .NET FTP by (120 points)
Hi all

We are using the library in .NET.
When uploading files to a FTP Server, the file date is set to the current date.
We cannot date compare the local with the remote file.

Is there a possibility to solve that?

Thanks for any help!

Tom

1 Answer

0 votes
by (162k points)
FTP works that way - it creates new files.

There's two ways around it:

1) Use the CHMOD site command after uploading to change the timestamp (most servers won't permit this)
2) Send a zipped file - zip will preserve the file dates inside.

Categories

...