Dear Mr. Prikryl:
Thank you for your tip, it worked.
I have a record ls_File from the directory listing where everything but the TimeStamp (LastWriteTime) is correct. I simply added the call you suggested and replaced the TimeStamp with the result. It seems to work for other UNIX and Windows systems as well, so I don't have to differentiate. Great tip!
Regards,
Wolfgang
Thank you for your tip, it worked.
$lv_DateTime = $global:FTP.Session.GetFileInfo($lv_FullName).LastWriteTime
$ls_File.TimeStamp = $lv_DateTime
I have a record ls_File from the directory listing where everything but the TimeStamp (LastWriteTime) is correct. I simply added the call you suggested and replaced the TimeStamp with the result. It seems to work for other UNIX and Windows systems as well, so I don't have to differentiate. Great tip!
Regards,
Wolfgang