cURL / Mailing Lists / curl-library / Single Mail

curl-library

Problem with filetime in FTP upload

From: Juan Ignacio Hervás <jihervas_at_iies.es>
Date: Mon, 24 Nov 2003 17:25:14 +0100

Hi,
I am working with libcurl 7.10.8 in Windows trying to upload files using
libcurl to a remote FTP server. I have installed my client application in a
Windows 2000 Professional and it is uploading files to a FTP server
installed in a Windows XP.
I have found that some of the locale files that have been uploaded have a
wrong filetime in the remote disk:
Local modification time is 21-11-2003
Remote modification time is 24-11-2002 (so, one year back!!)

The application checks the remote modification time of the file in order to
know if the local version is newer, so it is uploading continuously these
files. (As I said, it is only happening with some of the files, not with
all of them).

I have checked that date and time settings are right in client and server
computers and that these files have no special attributes.

I think that libcurl is setting the modification time to the copy time but
I don't know the problem with these files.
My question is: Is there any way in libcurl to modify the modification time
of the remote file?

Thanks in advance.
Any help will be appreciate.

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
Received on 2003-11-24