Time offset

jerkynet
Posts: 20
Joined: Mon Mar 24, 2008 3:52 pm

Time offset

Post by jerkynet » Mon Mar 24, 2008 3:56 pm

Hi, just upgraded, current info below. Noticed the new version isn't respecting time offset. Example, local file date/time: 03/24/08 08:32, uploaded version 03/24/08 16:32. And yes, my offset is -8 (pacific). Pretty funny, as the file is uploaded, it *initially* shows 08:32, then flips to 16:32.

My current build:
+- System -----------------------------
Microsoft Windows Vista Ultimate Edition
(Build 6000)

CPU Speed : 2399 MHz
Total Memory : 2047 MB
Free Memory : 1132 MB

+- SmartFTP ---------------------------
Version : 3.0.1011.0
Time Stamp : 2008-03-24 09:34:32
Platform : x86

+- Application DLL --------------------
sfFTPLib.dll : 1.5.12.32
sfFavorites.dll : 1.0.7.0
sfFavoritesShellExtension.dll : 1.0.1.9
sfTransferQueue.dll : 1.0.4.0
sfFTPShellExtension.dll : 1.0.2.0

+- Language ---------------------------
SmartFTP.exe : 3.0.1011.0

+- Internet Explorer ------------------
Version : 7.0.6000.16609

+- Winsock ----------------------------
Winsock : 2.2

mb
Posts: 12026
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Time offset

Post by mb » Mon Mar 24, 2008 4:14 pm

Did you set a time offset in the favorite settings?

Can you post the log of your FTP session? Does your server support MLSD or just LIST?

Regards,
Mat

jerkynet
Posts: 20
Joined: Mon Mar 24, 2008 3:52 pm

Re: Time offset

Post by jerkynet » Mon Mar 24, 2008 4:25 pm

Couple more pieces of info for you...

1. this was an upgrade of a working 2.5 install
2. server is unix, centos 4.5 , tell me how to get what info you want below, would be happy to do it.
3. have not set an offset in favorite settings, this anomoly came in with the 3.0 upgrade.
4. ended up here in the forums after searching KB to no avail, looking for setting for offset, time, etc.....
5. after finding another bug was fixed (overwrite warn window) by upgrading (initial was 3.0.1010.19), thought this was another bug

If you can point me to this offset setting, would be happy to check, either I am blind, or need another cup of coffee this am, not finding it.
Thanks!


Did you set a time offset in the favorite settings?

Can you post the log of your FTP session? Does your server support MLSD or just LIST?

Regards,
Mat

mb
Posts: 12026
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Time offset

Post by mb » Mon Mar 24, 2008 4:30 pm

Hello ..

The reason you see this behavior as as following. Your server returns the time in local time in the directory listing (bad). But when SmartFTP updates the view it uses another command (MDTM) to get the UTC time of one file (better). Therefore after the update the time is in UTC and converted to the local time of your computer (correct).

You can set the time zone of your server in the favorite setting. To do this go to the menu: Favorites->Edit Favorites. Find your favorite (look in the Quick Connect folder). Then right click on the favorite and select Properties. In the General dialog set the timezone.

Regards,
Mat
SmartFTP

jerkynet
Posts: 20
Joined: Mon Mar 24, 2008 3:52 pm

Re: Time offset

Post by jerkynet » Mon Mar 24, 2008 4:38 pm

Ahhh....

Again, keep in mind, this *did* just come in with 3.0.....

found the setting (have never set this in the past), changed it
shut down
restarted smartFTP
file time local: 08:32
Remote: 16:32
uploaded file
smartFTP remote window file time flipped to 08:32 then bounced back to 16:32

?
Hello ..

The reason you see this behavior as as following. Your server returns the time in local time in the directory listing (bad). But when SmartFTP updates the view it uses another command (MDTM) to get the UTC time of one file (better). Therefore after the update the time is in UTC and converted to the local time of your computer (correct).

You can set the time zone of your server in the favorite setting. To do this go to the menu: Favorites->Edit Favorites. Find your favorite (look in the Quick Connect folder). Then right click on the favorite and select Properties. In the General dialog set the timezone.

Regards,
Mat
SmartFTP

mb
Posts: 12026
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Time offset

Post by mb » Mon Mar 24, 2008 4:41 pm

Could you please post the log of your FTP session?
https://www.smartftp.com/support/kb/how- ... f2564.html

Please include the raw directory listing as well (right click on the folder then show raw listing).

Regards,
Mat

mb
Posts: 12026
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Time offset

Post by mb » Mon Mar 24, 2008 4:50 pm

There is a actually a bug in v3.0 that the timezone settings in the favorite settings is ingored. Fix on the way.

Regards,
Mat

jerkynet
Posts: 20
Joined: Mon Mar 24, 2008 3:52 pm

Re: Time offset

Post by jerkynet » Mon Mar 24, 2008 4:53 pm


jerkynet
Posts: 20
Joined: Mon Mar 24, 2008 3:52 pm

Re: Time offset

Post by jerkynet » Mon Mar 24, 2008 5:09 pm

Matt,

Sorry, I must have been speed reading your note on the "how to print log files...." just put me in the "this guy is multitasking, needs another pot of coffee" file..........

Glad to hear I am not seeing things regarding the timezone issue.....will wait for the patch
Thanks!
Dave
There is a actually a bug in v3.0 that the timezone settings in the favorite settings is ingored. Fix on the way.

Regards,
Mat

mb
Posts: 12026
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Time offset

Post by mb » Mon Mar 24, 2008 5:12 pm

Hm actually the bug is only if the server doesn't support MLSD. But from the raw listing you posted I can see that your server supports MLSD. It means the time you see in the listing is in UTC. SmartFTP then converts it to your local time.

Can you post the log from your FTP session. It should include a MLST command which is sent after the transfer.
https://www.smartftp.com/support/kb/how- ... f2564.html

Also please post the raw directory listing right after the transfer completes. This way we can compare the time in the listing and the time from the MLST command.

What is the correct time btw? 8:32 I assume. Right?

Regards,
Mat
Last edited by mb on Mon Mar 24, 2008 5:19 pm, edited 1 time in total.

Locked