Re: SUCCESS! THANK YOU!
Thanks for your feedback!
The server reports 2016-09-16 00:28:53 GMT:
So can you please post a log from 5.9.1 (or actually 5.9.2 already) with the default settings (auto detection turned on)?
Name one file with a wrong time. Tell us, what time do you see, what time do you expect and why.
Get-Item $RecievedFiles | % {$_.LastWriteTime = [DateTime]::Parse($_.LastWriteTimeUtc,$null,"AssumeLocal")}
I would like to use the latest 5.9.1 version but I tried to switch in the past and ran into a bunch of timestamp offset issues. Maybe you could shed some light on this if I provide additional details?
What issues?
I would like to use the latest 5.9.1 version but I tried to switch in the past and ran into a bunch of timestamp offset issues. Maybe you could shed some light on this if I provide additional details?
< 2016-09-07 00:36:17.231 150 Here comes the directory listing.
< 2016-09-07 00:36:17.231 226 Directory send OK.
. 2016-09-07 00:36:17.231 drwxr-xr-x 2 ftp ftp 4096 Sep 07 00:28 .
. 2016-09-07 00:36:17.231 drwxr-xr-x 2 ftp ftp 4096 Sep 07 00:28 ..
. 2016-09-07 00:36:17.231 -rw------- 1 ftp ftp 1813856 Sep 07 00:28 TEST0906.ZIP
. 2016-09-07 00:36:17.247 Directory listing successful
. 2016-09-07 00:36:17.247 ..;D;0;1899-12-30T06:00:00.000Z;"" [0];"" [0];---------;0
. 2016-09-07 00:36:17.247 TEST0906.ZIP;-;1813856;2016-09-07T10:28:00.000Z;"ftp" [0];"ftp" [0];rw-------;0
< 2016-09-07 00:36:17.262 Script: D--------- 0 0 ..
< 2016-09-07 00:36:17.278 Script: -rw------- 0 ftp ftp 1813856 Sep 7 5:28:00 2016 TEST0906.ZIP
> 2016-09-07 00:36:17.434 Script: get -nopermissions -preservetime -transfer="binary" -- ".//TEST0906.ZIP" "C:\"
. 2016-09-07 00:36:17.434 Listing file ".//TEST0906.ZIP".
. 2016-09-07 00:36:17.434 Retrieving file information...
> 2016-09-07 00:36:17.434 PWD
< 2016-09-07 00:36:17.434 257 "/"
> 2016-09-07 00:36:17.434 CWD /TEST0906.ZIP
< 2016-09-07 00:36:17.434 550 Failed to change directory.
> 2016-09-07 00:36:17.434 TYPE I
< 2016-09-07 00:36:17.434 200 Switching to Binary mode.
> 2016-09-07 00:36:17.434 SIZE /TEST0906.ZIP
< 2016-09-07 00:36:17.434 213 1813856
> 2016-09-07 00:36:17.450 MDTM /TEST0906.ZIP
< 2016-09-07 00:36:17.450 213 20160907002849
. 2016-09-07 00:36:17.450 Retrieving file information successful
. 2016-09-07 00:36:17.450 TEST0906.ZIP;-;1813856;2016-09-07T05:00:00.000Z;"" [0];"" [0];---------;0
. 2016-09-07 00:36:17.450 Copying 1 files/directories to local directory "C:\"
. 2016-09-07 00:36:17.450 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: No; Mask:
. 2016-09-07 00:36:17.450 TM: B; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; InclM: ; ResumeL: 0
. 2016-09-07 00:36:17.450 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2016-09-07 00:36:17.465 File: '//TEST0906.ZIP' [2016-09-07T05:00:00.000Z] [1813856]
. 2016-09-07 00:36:17.465 Copying "//TEST0906.ZIP" to local directory started.
. 2016-09-07 00:36:17.465 Binary transfer mode selected.
. 2016-09-07 00:36:17.481 Starting download of /TEST0906.ZIP
> 2016-09-07 00:36:17.481 TYPE I
< 2016-09-07 00:36:17.496 200 Switching to Binary mode.
> 2016-09-07 00:36:17.496 PASV
< 2016-09-07 00:36:17.496 227 Entering Passive Mode (192,168,111,2,99,196).
> 2016-09-07 00:36:17.496 RETR TEST0906.ZIP
< 2016-09-07 00:36:17.496 150 Opening BINARY mode data connection for TEST0906.ZIP (1813856 bytes).
< 2016-09-07 00:36:17.543 226 Transfer complete.
. 2016-09-07 00:36:17.668 Download successful
. 2016-09-07 00:36:17.668 Transfer done: '//TEST0906.ZIP' [1813856]
. 2016-09-07 00:36:17.450 TEST0906.ZIP;-;1813856;2016-09-07T05:00:00.000Z;"" [0];"" [0];---------;0
. 2016-09-07 00:36:17.465 File: '//TEST0906.ZIP' [2016-09-07T05:00:00.000Z] [1813856]