Link to home
Start Free TrialLog in
Avatar of lee88
lee88Flag for United States of America

asked on

FTP: preserve the file's original date /time stamp?

In VB6, I am using FTP to retrieve files using Microsoft Internet Transfer Control 6.0 (MSINET.OCX). I believe that this OCX changes the date stamp of each retrieved file (on my local hard drive) to be the current date / time when the file is written to my local hard drive. Is there a way to either:
A. preserve the file's original date /time stamp, or
B. read the original file's date / time (from the FTP server)?
Avatar of judgeking
judgeking
Flag of Canada image

Do you have any control over how the files are placed on the FTP server?  Because if they FTDd in a ZIP file, the timestamps will be preserved when you download and unzip them.
Avatar of lee88

ASKER

good idea, but not in this case.
ASKER CERTIFIED SOLUTION
Avatar of cool12399
cool12399

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cool12399
cool12399

pps, please accept this answer now whe nfinished , thanks!