kennedymr2
Programmer
I am using Wininet to get files from a server.
I need to know the original Date and Time of the the file i am getting from the server.
If i use Ftpget
x = FtpGetFile(hconnection1, _
SremoteFile, _
SnewFile, _
False, _
FILE_ATTRIBUTE_ARCHIVE, _
FTP_TRANSFER_TYPE_ASCII, _
0&)
The file date and time is altered to current data and time.
eg. if i use filedatetime(snewfile)
or scripting. f.datecreated
???? 1. Can ftpget be told to leave the date alone??
2. Is there a way of 1st looking at the file on the server, getting the data , time, and then
altering the date/time on the file received.
Appreciate any help.
I need to know the original Date and Time of the the file i am getting from the server.
If i use Ftpget
x = FtpGetFile(hconnection1, _
SremoteFile, _
SnewFile, _
False, _
FILE_ATTRIBUTE_ARCHIVE, _
FTP_TRANSFER_TYPE_ASCII, _
0&)
The file date and time is altered to current data and time.
eg. if i use filedatetime(snewfile)
or scripting. f.datecreated
???? 1. Can ftpget be told to leave the date alone??
2. Is there a way of 1st looking at the file on the server, getting the data , time, and then
altering the date/time on the file received.
Appreciate any help.