[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preserve file date/time



Sender: Thomas Raddatz <thomas.raddatz@xxxxxxxxxxx>

I am not sure about what date/time you mean (creation/last modification).

If I understand the FTPAPI correctly, then at least it should be possible to retrieve that last modification date and time of the remote file using FTP_mtime(). Having done that it should be possible to change the last modification date and time of the local file by calling the Unix API utime().

I have never tried that. Just guessing ...

Thomas Raddatz.



Goodbar, Loyd (ETS - Water Valley) schrieb:
When retrieving data from a remote server to the iSeries, is it possible to
preserve the file's date/time from the remote server? If a file is dated
08:00, can I retrieve it and have it remain 08:00 instead of 12:08 when I
retrieved it?



Thanks,

Loyd



Loyd Goodbar

Senior programmer/analyst

BorgWarner

E/TS Water Valley

662-473-5713





----------------------------------------------------------------------- This is the FTPAPI mailing list. To unsubsribe from the list send mail to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr -----------------------------------------------------------------------