Jump to content


Photo

Time offset


This topic has been archived. This means that you cannot reply to this topic.
37 replies to this topic

#21 jerkynet

jerkynet
  • Members
  • 20 posts

Posted 31 March 2008 - 11:03 PM

Hm. The Remote Browser should display the same time format as the Local Browser and the Windows Explorer.

Would you mind to post a screenshot showing the different format?
http://www.smartftp....shot-f2598.html

Regards,
Mat


Hi Matt,

Sorry, but haven't checked back here since my last post.......just downloaded 3.0.1012 and the time offset problem is back, ie; me = -8, smart is publishing UTC, just published a file at 16:03 PT, remote browser is showing it as tomorrow 00:03AM

Dave

#22 mb

mb

    Developer

  • Administrators
  • 11520 posts

Posted 01 April 2008 - 02:29 AM

Please post the logs and a screenshot.

#23 jerkynet

jerkynet
  • Members
  • 20 posts

Posted 01 April 2008 - 02:29 PM

Please post the logs and a screenshot.

Hi matt....

Might have tripped onto something interesting?

New file (test.txt) uploaded, time stamp local/remote match
Edit same file, re-upload (overwrite) timestamp goes to +8
Every upload from then on same deal
http://www.jerkynet...._matt/shot1.jpg (raw upload new file)
http://www.jerkynet...._matt/shot2.jpg (copy/replace file, second time uploaded)
(file you are looking at is test.txt)

Here is your log
======================
[07:16:47] SmartFTP v3.0.1012.0
[07:16:49] Resolving host name "38.113.114.179"
[07:16:49] Connecting to 38.113.114.179 Port: 21
[07:16:49] Connected to 38.113.114.179.
[07:16:49] 220---------- Welcome to Pure-FTPd [TLS] ----------
[07:16:49] 220-You are user number 1 of 50 allowed.
[07:16:49] 220-Local time is now 07:11. Server port: 21.
[07:16:49] 220-This is a private system - No anonymous login
[07:16:49] 220-IPv6 connections are also welcome on this server.
[07:16:49] 220 You will be disconnected after 15 minutes of inactivity.
[07:16:49] USER jerkynet
[07:16:49] 331 User jerkynet OK. Password required
[07:16:49] PASS (hidden)
[07:16:50] 230-User jerkynet has group access to: jerkynet
[07:16:50] 230 OK. Current restricted directory is /
[07:16:50] SYST
[07:16:50] 215 UNIX Type: L8
[07:16:50] Detected Server Type: UNIX
[07:16:50] FEAT
[07:16:50] 211-Extensions supported:
[07:16:50] EPRT
[07:16:50] IDLE
[07:16:50] MDTM
[07:16:50] SIZE
[07:16:50] REST STREAM
[07:16:50] MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
[07:16:50] MLSD
[07:16:50] ESTP
[07:16:50] PASV
[07:16:50] EPSV
[07:16:50] SPSV
[07:16:50] ESTA
[07:16:50] AUTH TLS
[07:16:50] PBSZ
[07:16:50] PROT
[07:16:50] 211 End.
[07:16:50] Detected Server Software: PureFTPd
[07:16:50] PWD
[07:16:50] 257 "/" is your current location
[07:16:50] TYPE A
[07:16:50] 200 TYPE is now ASCII
[07:16:51] PASV
[07:16:51] 227 Entering Passive Mode (38,113,114,179,67,226)
[07:16:51] Opening data connection to 38.113.114.179 Port: 17378
[07:16:51] MLSD
[07:16:51] 150 Accepted data connection
[07:16:51] 3833 bytes transferred. (27.1 KB/s) (138 ms)
[07:16:51] 226-Options: -a -l
[07:16:51] 226 33 matches total
[07:17:22] NOOP
[07:17:22] 200 Zzz...
[07:17:52] NOOP
[07:17:52] 200 Zzz...
[07:18:23] NOOP
[07:18:23] 200 Zzz...
[07:18:52] MLST test.txt
[07:18:52] 250-Begin
[07:18:52] type=file;size=20;modify=20080401071034;UNIX.mode=0644;UNIX.uid=32009;UNIX.gid=3
2011;unique=808g1959192; test.txt
[07:18:52] 250 End.
[07:18:53] The operation has been added to the Transfer Queue. Check the Transfer Queue for the status.
[07:18:55] MLST test.txt
[07:18:55] 250-Begin
[07:18:55] type=file;size=33;modify=20080401141306;UNIX.mode=0644;UNIX.uid=32009;UNIX.gid=3
2011;unique=808g1959192; test.txt
[07:18:55] 250 End.
[07:19:26] NOOP
[07:19:26] 200 Zzz...
[07:19:56] NOOP
[07:19:56] 200 Zzz...
[07:20:27] NOOP
[07:20:27] 200 Zzz...
[07:20:57] NOOP
[07:20:57] 200 Zzz...
[07:21:04] MLST test.txt
[07:21:05] 250-Begin
[07:21:05] type=file;size=33;modify=20080401221830;UNIX.mode=0644;UNIX.uid=32009;UNIX.gid=3
2011;unique=808g1959192; test.txt
[07:21:05] 250 End.
[07:21:07] The operation has been added to the Transfer Queue. Check the Transfer Queue for the status.
[07:21:07] MLST test.txt
[07:21:07] 250-Begin
[07:21:07] type=file;size=46;modify=20080401222051;UNIX.mode=0644;UNIX.uid=32009;UNIX.gid=3
2011;unique=808g1959192; test.txt
[07:21:07] 250 End.
[07:21:38] NOOP
[07:21:38] 200 Zzz...
[07:22:08] NOOP
[07:22:09] 200 Zzz...
[07:22:39] NOOP
[07:22:39] 200 Zzz...
[07:22:47] MLST test2
[07:22:47] 550 Can't check for file existence
[07:22:47] The operation has been added to the Transfer Queue. Check the Transfer Queue for the status.
[07:22:48] MLST test2
[07:22:48] 250-Begin
[07:22:48] type=file;size=46;modify=20080401222240;UNIX.mode=0644;UNIX.uid=32009;UNIX.gid=3
2011;unique=808g1959202; test2
[07:22:48] 250 End.
[07:23:18] NOOP
[07:23:19] 200 Zzz...
[07:23:49] NOOP
[07:23:49] 200 Zzz...
[07:24:20] NOOP
[07:24:20] 200 Zzz...
[07:24:50] NOOP
[07:24:50] 200 Zzz...
[07:25:05] CWD /www
[07:25:05] 250 OK. Current directory is /www
[07:25:05] PWD
[07:25:05] 257 "/www" is your current location
[07:25:05] PASV
[07:25:05] 227 Entering Passive Mode (38,113,114,179,236,62)
[07:25:05] Opening data connection to 38.113.114.179 Port: 60478
[07:25:05] MLSD
[07:25:06] 150 Accepted data connection
[07:25:06] 226-Options: -a -l
[07:25:06] 226 58 matches total
[07:25:06] 7144 bytes transferred. (30.4 KB/s) (229 ms)
[07:25:22] MKD smart_matt
[07:25:22] 257 "smart_matt" : The directory was successfully created
[07:25:26] CWD /www/smart_matt
[07:25:26] 250 OK. Current directory is /www/smart_matt
[07:25:26] PWD
[07:25:26] 257 "/www/smart_matt" is your current location
[07:25:26] PASV
[07:25:26] 227 Entering Passive Mode (38,113,114,179,167,17)
[07:25:26] Opening data connection to 38.113.114.179 Port: 42769
[07:25:26] MLSD
[07:25:26] 150 Accepted data connection
[07:25:26] 226-Options: -a -l
[07:25:26] 226 2 matches total
[07:25:26] 218 bytes transferred. (1.41 KB/s) (150 ms)
[07:25:31] MLST shot2.jpg
[07:25:31] 550 Can't check for file existence
[07:25:31] MLST shot1.jpg
[07:25:31] 550 Can't check for file existence
[07:25:31] The operation has been added to the Transfer Queue. Check the Transfer Queue for the status.
[07:25:53] MLST shot2.jpg
[07:25:53] 250-Begin
[07:25:53] type=file;size=338202;modify=20080401222437;UNIX.mode=0644;UNIX.uid=32009;UNIX.g
id=32011;unique=808g19ac4e7; shot2.jpg
[07:25:53] 250 End.
[07:26:14] MLST shot1.jpg
[07:26:14] 250-Begin
[07:26:14] type=file;size=334640;modify=20080401222449;UNIX.mode=0644;UNIX.uid=32009;UNIX.g
id=32011;unique=808g19ac4e8; shot1.jpg
[07:26:14] 250 End.
[07:26:44] NOOP
[07:26:45] 200 Zzz...
[07:27:15] CWD /www
[07:27:16] 250 OK. Current directory is /www
[07:27:16] PWD
[07:27:16] 257 "/www" is your current location
[07:27:16] NOOP
[07:27:16] 200 Zzz...
[07:27:46] NOOP
[07:27:46] 200 Zzz...
[07:28:17] NOOP
[07:28:17] 200 Zzz...
[07:28:47] NOOP
[07:28:47] 200 Zzz...

#24 jerkynet

jerkynet
  • Members
  • 20 posts

Posted 01 April 2008 - 02:32 PM

Correctioin (more info)
=================
closed down smartFTP
reopened smartFTP
re-uploaded test.txt (file date 7:20am
remote got proper time stamp
re-uploaded again, remote got timestamp +8

To recap, my timezone is same as remote, currently favorite is set for -8 per your instructions eariler, and changing timezone in favorite, re-login has no play here.

Dave

Hi matt....

Might have tripped onto something interesting?

New file (test.txt) uploaded, time stamp local/remote match
Edit same file, re-upload (overwrite) timestamp goes to +8
Every upload from then on same deal
http://www.jerkynet...._matt/shot1.jpg (raw upload new file)
http://www.jerkynet...._matt/shot2.jpg (copy/replace file, second time uploaded)
(file you are looking at is test.txt)

Here is your log
======================
[07:16:47] SmartFTP v3.0.1012.0
[07:16:49] Resolving host name "38.113.114.179"
[07:16:49] Connecting to 38.113.114.179 Port: 21
[07:16:49] Connected to 38.113.114.179.
[07:16:49] 220---------- Welcome to Pure-FTPd [TLS] ----------
[07:16:49] 220-You are user number 1 of 50 allowed.
[07:16:49] 220-Local time is now 07:11. Server port: 21.
[07:16:49] 220-This is a private system - No anonymous login
[07:16:49] 220-IPv6 connections are also welcome on this server.
[07:16:49] 220 You will be disconnected after 15 minutes of inactivity.
[07:16:49] USER jerkynet
[07:16:49] 331 User jerkynet OK. Password required
[07:16:49] PASS (hidden)
[07:16:50] 230-User jerkynet has group access to: jerkynet
[07:16:50] 230 OK. Current restricted directory is /
[07:16:50] SYST
[07:16:50] 215 UNIX Type: L8
[07:16:50] Detected Server Type: UNIX
[07:16:50] FEAT
[07:16:50] 211-Extensions supported:
[07:16:50] EPRT
[07:16:50] IDLE
[07:16:50] MDTM
[07:16:50] SIZE
[07:16:50] REST STREAM
[07:16:50] MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
[07:16:50] MLSD
[07:16:50] ESTP
[07:16:50] PASV
[07:16:50] EPSV
[07:16:50] SPSV
[07:16:50] ESTA
[07:16:50] AUTH TLS
[07:16:50] PBSZ
[07:16:50] PROT
[07:16:50] 211 End.
[07:16:50] Detected Server Software: PureFTPd
[07:16:50] PWD
[07:16:50] 257 "/" is your current location
[07:16:50] TYPE A
[07:16:50] 200 TYPE is now ASCII
[07:16:51] PASV
[07:16:51] 227 Entering Passive Mode (38,113,114,179,67,226)
[07:16:51] Opening data connection to 38.113.114.179 Port: 17378
[07:16:51] MLSD
[07:16:51] 150 Accepted data connection
[07:16:51] 3833 bytes transferred. (27.1 KB/s) (138 ms)
[07:16:51] 226-Options: -a -l
[07:16:51] 226 33 matches total
[07:17:22] NOOP
[07:17:22] 200 Zzz...
[07:17:52] NOOP
[07:17:52] 200 Zzz...
[07:18:23] NOOP
[07:18:23] 200 Zzz...
[07:18:52] MLST test.txt
[07:18:52] 250-Begin
[07:18:52] type=file;size=20;modify=20080401071034;UNIX.mode=0644;UNIX.uid=32009;UNIX.gid=3
2011;unique=808g1959192; test.txt
[07:18:52] 250 End.
[07:18:53] The operation has been added to the Transfer Queue. Check the Transfer Queue for the status.
[07:18:55] MLST test.txt
[07:18:55] 250-Begin
[07:18:55] type=file;size=33;modify=20080401141306;UNIX.mode=0644;UNIX.uid=32009;UNIX.gid=3
2011;unique=808g1959192; test.txt
[07:18:55] 250 End.
[07:19:26] NOOP
[07:19:26] 200 Zzz...
[07:19:56] NOOP
[07:19:56] 200 Zzz...
[07:20:27] NOOP
[07:20:27] 200 Zzz...
[07:20:57] NOOP
[07:20:57] 200 Zzz...
[07:21:04] MLST test.txt
[07:21:05] 250-Begin
[07:21:05] type=file;size=33;modify=20080401221830;UNIX.mode=0644;UNIX.uid=32009;UNIX.gid=3
2011;unique=808g1959192; test.txt
[07:21:05] 250 End.
[07:21:07] The operation has been added to the Transfer Queue. Check the Transfer Queue for the status.
[07:21:07] MLST test.txt
[07:21:07] 250-Begin
[07:21:07] type=file;size=46;modify=20080401222051;UNIX.mode=0644;UNIX.uid=32009;UNIX.gid=3
2011;unique=808g1959192; test.txt
[07:21:07] 250 End.
[07:21:38] NOOP
[07:21:38] 200 Zzz...
[07:22:08] NOOP
[07:22:09] 200 Zzz...
[07:22:39] NOOP
[07:22:39] 200 Zzz...
[07:22:47] MLST test2
[07:22:47] 550 Can't check for file existence
[07:22:47] The operation has been added to the Transfer Queue. Check the Transfer Queue for the status.
[07:22:48] MLST test2
[07:22:48] 250-Begin
[07:22:48] type=file;size=46;modify=20080401222240;UNIX.mode=0644;UNIX.uid=32009;UNIX.gid=3
2011;unique=808g1959202; test2
[07:22:48] 250 End.
[07:23:18] NOOP
[07:23:19] 200 Zzz...
[07:23:49] NOOP
[07:23:49] 200 Zzz...
[07:24:20] NOOP
[07:24:20] 200 Zzz...
[07:24:50] NOOP
[07:24:50] 200 Zzz...
[07:25:05] CWD /www
[07:25:05] 250 OK. Current directory is /www
[07:25:05] PWD
[07:25:05] 257 "/www" is your current location
[07:25:05] PASV
[07:25:05] 227 Entering Passive Mode (38,113,114,179,236,62)
[07:25:05] Opening data connection to 38.113.114.179 Port: 60478
[07:25:05] MLSD
[07:25:06] 150 Accepted data connection
[07:25:06] 226-Options: -a -l
[07:25:06] 226 58 matches total
[07:25:06] 7144 bytes transferred. (30.4 KB/s) (229 ms)
[07:25:22] MKD smart_matt
[07:25:22] 257 "smart_matt" : The directory was successfully created
[07:25:26] CWD /www/smart_matt
[07:25:26] 250 OK. Current directory is /www/smart_matt
[07:25:26] PWD
[07:25:26] 257 "/www/smart_matt" is your current location
[07:25:26] PASV
[07:25:26] 227 Entering Passive Mode (38,113,114,179,167,17)
[07:25:26] Opening data connection to 38.113.114.179 Port: 42769
[07:25:26] MLSD
[07:25:26] 150 Accepted data connection
[07:25:26] 226-Options: -a -l
[07:25:26] 226 2 matches total
[07:25:26] 218 bytes transferred. (1.41 KB/s) (150 ms)
[07:25:31] MLST shot2.jpg
[07:25:31] 550 Can't check for file existence
[07:25:31] MLST shot1.jpg
[07:25:31] 550 Can't check for file existence
[07:25:31] The operation has been added to the Transfer Queue. Check the Transfer Queue for the status.
[07:25:53] MLST shot2.jpg
[07:25:53] 250-Begin
[07:25:53] type=file;size=338202;modify=20080401222437;UNIX.mode=0644;UNIX.uid=32009;UNIX.g
id=32011;unique=808g19ac4e7; shot2.jpg
[07:25:53] 250 End.
[07:26:14] MLST shot1.jpg
[07:26:14] 250-Begin
[07:26:14] type=file;size=334640;modify=20080401222449;UNIX.mode=0644;UNIX.uid=32009;UNIX.g
id=32011;unique=808g19ac4e8; shot1.jpg
[07:26:14] 250 End.
[07:26:44] NOOP
[07:26:45] 200 Zzz...
[07:27:15] CWD /www
[07:27:16] 250 OK. Current directory is /www
[07:27:16] PWD
[07:27:16] 257 "/www" is your current location
[07:27:16] NOOP
[07:27:16] 200 Zzz...
[07:27:46] NOOP
[07:27:46] 200 Zzz...
[07:28:17] NOOP
[07:28:17] 200 Zzz...
[07:28:47] NOOP
[07:28:47] 200 Zzz...



#25 mb

mb

    Developer

  • Administrators
  • 11520 posts

Posted 01 April 2008 - 02:46 PM

Thank you.

The log from the Transfer Queue is missing. To you can get it by stopping the Transfer Queue. Then add the upload. Then double click the item in the Transfer Queue to get the log window. Then start the Transfer Queue.

However I'm pretty sure it's the same bug as before: the server returns the wrong time in the MLST reply. It worked once because SmartFTP did ignore the wrong MLST reply (as it's also not correctly formatted). However we have since written a workaround for servers returning wrong MLST replies and therefore we use the information from the reply.

My best advice is to contact the server administrator and ask him to upgrade the PureFTPD server software that is running on the server.

Regards,
Mat

#26 jerkynet

jerkynet
  • Members
  • 20 posts

Posted 01 April 2008 - 03:11 PM

Currently running Pure-FTP vers: 1.0.21 latest version, been on this for sometime........
Also, please don't forget, this all started with vers 3.x smart
Dave


Thank you.

The log from the Transfer Queue is missing. To you can get it by stopping the Transfer Queue. Then add the upload. Then double click the item in the Transfer Queue to get the log window. Then start the Transfer Queue.

However I'm pretty sure it's the same bug as before: the server returns the wrong time in the MLST reply. It worked once because SmartFTP did ignore the wrong MLST reply (as it's also not correctly formatted). However we have since written a workaround for servers returning wrong MLST replies and therefore we use the information from the reply.

My best advice is to contact the server administrator and ask him to upgrade the PureFTPD server software that is running on the server.

Regards,
Mat



#27 mb

mb

    Developer

  • Administrators
  • 11520 posts

Posted 01 April 2008 - 03:16 PM

Well if you would post the log I can tell you for sure where the problem is. I need to see the corresponding logs from the Remote Browser and the Transfer Queue.

Regards,
Mat

#28 jerkynet

jerkynet
  • Members
  • 20 posts

Posted 01 April 2008 - 03:26 PM

Matt,
Sorry for being a bit slow this am, but I am not understanding what you need....., didn't understand your instructions above.........?
Dave

Well if you would post the log I can tell you for sure where the problem is. I need to see the corresponding logs from the Remote Browser and the Transfer Queue.

Regards,
Mat



#29 mb

mb

    Developer

  • Administrators
  • 11520 posts

Posted 01 April 2008 - 04:13 PM

Please try the newest version (.4):
http://www.smartftp....get/SFTPMSI.exe

I have fixed a timing issue. The final notify message from the Transfer Queue is now always sent after the remote file time has been set.

Thank you for your time :-)
Regards,
Mat

#30 jerkynet

jerkynet
  • Members
  • 20 posts

Posted 01 April 2008 - 05:56 PM

Matt,

Sorry for the delay in getting back, had to run out for a moment....Not sure if you were expecting a fix with this, or just more log info for your debugging. Server still adding +8, see log below

To recap:
now on your .4 release
shortcut is set for -8
Server and the local are both in same timezone (-8)
Server time is reporting correct time
local is reporting correct time
when file is uploaded, for a *moment* the remote window see's the proper time, then "flips" to +8
Makes no difference if I adjust my time offset locally
We are on latest rev of Pure-FTPD

Dave.......
[10:53:37] SmartFTP v3.0.1012.4
[10:53:38] Resolving host name "38.113.114.179"
[10:53:38] Connecting to 38.113.114.179 Port: 21
[10:53:39] Connected to 38.113.114.179.
[10:53:39] 220---------- Welcome to Pure-FTPd [TLS] ----------
[10:53:39] 220-You are user number 1 of 50 allowed.
[10:53:39] 220-Local time is now 10:47. Server port: 21.
[10:53:39] 220-This is a private system - No anonymous login
[10:53:39] 220-IPv6 connections are also welcome on this server.
[10:53:39] 220 You will be disconnected after 15 minutes of inactivity.
[10:53:39] USER jerkynet
[10:53:39] 331 User jerkynet OK. Password required
[10:53:39] PASS (hidden)
[10:53:39] 230-User jerkynet has group access to: jerkynet
[10:53:39] 230 OK. Current restricted directory is /
[10:53:39] SYST
[10:53:39] 215 UNIX Type: L8
[10:53:39] Detected Server Type: UNIX
[10:53:39] FEAT
[10:53:39] 211-Extensions supported:
[10:53:39] EPRT
[10:53:39] IDLE
[10:53:39] MDTM
[10:53:39] SIZE
[10:53:39] REST STREAM
[10:53:39] MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
[10:53:39] MLSD
[10:53:39] ESTP
[10:53:39] PASV
[10:53:39] EPSV
[10:53:39] SPSV
[10:53:39] ESTA
[10:53:39] AUTH TLS
[10:53:39] PBSZ
[10:53:39] PROT
[10:53:39] 211 End.
[10:53:39] Detected Server Software: PureFTPd
[10:53:39] PWD
[10:53:39] 257 "/" is your current location
[10:53:39] CWD /www/smart_matt
[10:53:40] 250 OK. Current directory is /www/smart_matt
[10:53:40] PWD
[10:53:40] 257 "/www/smart_matt" is your current location
[10:53:40] TYPE A
[10:53:40] 200 TYPE is now ASCII
[10:53:40] PASV
[10:53:40] 227 Entering Passive Mode (38,113,114,179,129,129)
[10:53:40] Opening data connection to 38.113.114.179 Port: 33153
[10:53:40] LIST -aL
[10:53:40] 150 Accepted data connection
[10:53:40] 382 bytes transferred. (3.92 KB/s) (95 ms)
[10:53:40] 226-Options: -a -l
[10:53:40] 226 6 matches total
[10:53:45] MLST test.txt
[10:53:45] 250-Begin
[10:53:45] type=file;size=52;modify=20080401233626;UNIX.mode=0644;UNIX.uid=32009;UNIX.gid=3
2011;unique=808g19ac4ea; test.txt
[10:53:45] 250 End.
[10:53:46] The operation has been added to the Transfer Queue. Check the Transfer Queue for the status.
[10:53:47] MLST test.txt
[10:53:47] 250-Begin
[10:53:47] type=file;size=52;modify=20080401233626;UNIX.mode=0644;UNIX.uid=32009;UNIX.gid=3
2011;unique=808g19ac4ea; test.txt
[10:53:47] 250 End.
[10:54:17] MLST test.txt
[10:54:17] 250-Begin
[10:54:17] type=file;size=52;modify=20080401233626;UNIX.mode=0644;UNIX.uid=32009;UNIX.gid=3
2011;unique=808g19ac4ea; test.txt
[10:54:17] 250 End.
[10:54:18] The operation has been added to the Transfer Queue. Check the Transfer Queue for the status.
[10:54:19] MLST test.txt
[10:54:19] 250-Begin
[10:54:19] type=file;size=54;modify=20080402015408;UNIX.mode=0644;UNIX.uid=32009;UNIX.gid=3
2011;unique=808g19ac4ea; test.txt
[10:54:19] 250 End.
[10:54:49] NOOP

Please try the newest version (.4):
http://www.smartftp....get/SFTPMSI.exe

I have fixed a timing issue. The final notify message from the Transfer Queue is now always sent after the remote file time has been set.

Thank you for your time :-)
Regards,
Mat



#31 mb

mb

    Developer

  • Administrators
  • 11520 posts

Posted 01 April 2008 - 06:41 PM

Hello ...

Could you please provide the following:
1. Log from Remote Browser
2. Log from Transfer Queue: You can get it by stopping the Transfer Queue. Then add the upload. Then double click the item in the Transfer Queue to get the log window. Then start the Transfer Queue.
3. Screenshot showing the Remote Browser before the upload and after the upload
4. Time of the file you are uploading on your local computer (in local time as it is displayed in Windows Explorer/Local Browser)

Thank you
Mat

#32 jerkynet

jerkynet
  • Members
  • 20 posts

Posted 01 April 2008 - 07:10 PM

Log from remote browser:
==============================
[12:07:03] SmartFTP v3.0.1012.4
[12:07:05] Resolving host name "38.113.114.179"
[12:07:05] Connecting to 38.113.114.179 Port: 21
[12:07:05] Connected to 38.113.114.179.
[12:07:05] 220---------- Welcome to Pure-FTPd [TLS] ----------
[12:07:05] 220-You are user number 1 of 50 allowed.
[12:07:05] 220-Local time is now 12:01. Server port: 21.
[12:07:05] 220-This is a private system - No anonymous login
[12:07:05] 220-IPv6 connections are also welcome on this server.
[12:07:05] 220 You will be disconnected after 15 minutes of inactivity.
[12:07:05] USER jerkynet
[12:07:05] 331 User jerkynet OK. Password required
[12:07:05] PASS (hidden)
[12:07:05] 230-User jerkynet has group access to: jerkynet
[12:07:05] 230 OK. Current restricted directory is /
[12:07:05] SYST
[12:07:05] 215 UNIX Type: L8
[12:07:05] Detected Server Type: UNIX
[12:07:05] FEAT
[12:07:05] 211-Extensions supported:
[12:07:05] EPRT
[12:07:05] IDLE
[12:07:05] MDTM
[12:07:05] SIZE
[12:07:05] REST STREAM
[12:07:05] MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
[12:07:05] MLSD
[12:07:05] ESTP
[12:07:05] PASV
[12:07:05] EPSV
[12:07:05] SPSV
[12:07:05] ESTA
[12:07:05] AUTH TLS
[12:07:05] PBSZ
[12:07:05] PROT
[12:07:05] 211 End.
[12:07:05] Detected Server Software: PureFTPd
[12:07:05] PWD
[12:07:06] 257 "/" is your current location
[12:07:06] CWD /public_html/smart_matt
[12:07:06] 250 OK. Current directory is /public_html/smart_matt
[12:07:06] PWD
[12:07:06] 257 "/public_html/smart_matt" is your current location
[12:07:06] TYPE A
[12:07:06] 200 TYPE is now ASCII
[12:07:06] PASV
[12:07:06] 227 Entering Passive Mode (38,113,114,179,100,232)
[12:07:06] Opening data connection to 38.113.114.179 Port: 25832
[12:07:06] LIST -aL
[12:07:06] 150 Accepted data connection
[12:07:06] 226-Options: -a -l
[12:07:06] 226 6 matches total
[12:07:06] 382 bytes transferred. (3.08 KB/s) (121 ms)
[12:07:37] NOOP
[12:07:37] 200 Zzz...
[12:08:07] NOOP
[12:08:07] 200 Zzz...
[12:08:24] MLST test.txt
[12:08:24] 250-Begin
[12:08:24] type=file;size=54;modify=20080402015408;UNIX.mode=0644;UNIX.uid=32009;UNIX.gid=3
2011;unique=808g19ac4ea; test.txt
[12:08:24] 250 End.
[12:08:25] The operation has been added to the Transfer Queue. Check the Transfer Queue for the status.
[12:08:55] NOOP
[12:08:56] 200 Zzz...
[12:09:00] MLST test.txt
[12:09:00] 250-Begin
[12:09:00] type=file;size=58;modify=20080402030806;UNIX.mode=0644;UNIX.uid=32009;UNIX.gid=3
2011;unique=808g19ac4ea; test.txt
[12:09:00] 250 End.
[12:09:31] NOOP
[12:09:31] 200 Zzz...
=======================
Log from Transfer Que
=======================
[12:08:59] Resolving host name "38.113.114.179"
[12:08:59] Connecting to 38.113.114.179 Port: 21
[12:08:59] Connected to 38.113.114.179.
[12:08:59] 220---------- Welcome to Pure-FTPd [TLS] ----------
[12:08:59] 220-You are user number 3 of 50 allowed.
[12:08:59] 220-Local time is now 12:03. Server port: 21.
[12:08:59] 220-This is a private system - No anonymous login
[12:08:59] 220-IPv6 connections are also welcome on this server.
[12:08:59] 220 You will be disconnected after 15 minutes of inactivity.
[12:08:59] USER jerkynet
[12:08:59] 331 User jerkynet OK. Password required
[12:08:59] PASS (hidden)
[12:08:59] 230-User jerkynet has group access to: jerkynet
[12:08:59] 230 OK. Current restricted directory is /
[12:08:59] SYST
[12:08:59] 215 UNIX Type: L8
[12:08:59] Detected Server Type: UNIX
[12:08:59] FEAT
[12:08:59] 211-Extensions supported:
[12:08:59] EPRT
[12:08:59] IDLE
[12:08:59] MDTM
[12:08:59] SIZE
[12:08:59] REST STREAM
[12:08:59] MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
[12:08:59] MLSD
[12:08:59] ESTP
[12:08:59] PASV
[12:08:59] EPSV
[12:08:59] SPSV
[12:08:59] ESTA
[12:08:59] AUTH TLS
[12:08:59] PBSZ
[12:08:59] PROT
[12:08:59] 211 End.
[12:08:59] Detected Server Software: PureFTPd
[12:08:59] PWD
[12:08:59] 257 "/" is your current location
[12:08:59] CWD /public_html/smart_matt
[12:09:00] 250 OK. Current directory is /public_html/smart_matt
[12:09:00] PWD
[12:09:00] 257 "/public_html/smart_matt" is your current location
[12:09:00] TYPE I
[12:09:00] 200 TYPE is now 8-bit binary
[12:09:00] PASV
[12:09:00] 227 Entering Passive Mode (38,113,114,179,6,235)
[12:09:00] Opening data connection to 38.113.114.179 Port: 1771
[12:09:00] STOR test.txt
[12:09:00] 150 Accepted data connection
[12:09:00] 58 bytes transferred. (773 bytes/s) (75 ms)
[12:09:00] 226-File successfully transferred
[12:09:00] 226 0.083 seconds (measured here), 0.68 Kbytes per second
[12:09:00] MDTM 20080401190806 test.txt
[12:09:00] 550 Can't check for file existence
[12:09:00] MFMT 20080401190806 test.txt
[12:09:00] 500 Unknown command
[12:09:00] SITE UTIME test.txt 20080401190806 20080401190806 20080401190806 UTC
[12:09:00] 250 UTIME OK
[12:09:00] MLST test.txt
[12:09:00] 250-Begin
[12:09:00] type=file;size=58;modify=20080402030806;UNIX.mode=0644;UNIX.uid=32009;UNIX.gid=3
2011;unique=808g19ac4ea; test.txt
[12:09:00] 250 End.
========================
Screen shot
http://www.jerkynet...._matt/shot3.jpg

=========================

File date/Time (local side)
Test.txt 4/1/08 12:08PM
File date/Time (remote side)
test.txt 4/1/08 20:11

Dave

Hello ...

Could you please provide the following:
1. Log from Remote Browser
2. Log from Transfer Queue: You can get it by stopping the Transfer Queue. Then add the upload. Then double click the item in the Transfer Queue to get the log window. Then start the Transfer Queue.
3. Screenshot showing the Remote Browser before the upload and after the upload
4. Time of the file you are uploading on your local computer (in local time as it is displayed in Windows Explorer/Local Browser)

Thank you
Mat



#33 mb

mb

    Developer

  • Administrators
  • 11520 posts

Posted 01 April 2008 - 07:37 PM

Thanks. One question. Is your local drive D: formatted with NTFS or FAT32? To figure this out right click on the drive letter D: in Windows Explorer or in the Local Browser and select Properties from the context menu. The File system is displayed in the General dialog.

#34 jerkynet

jerkynet
  • Members
  • 20 posts

Posted 01 April 2008 - 07:48 PM

NTFS (all local drives)


Thanks. One question. Is your local drive D: formatted with NTFS or FAT32? To figure this out right click on the drive letter D: in Windows Explorer or in the Local Browser and select Properties from the context menu. The File system is displayed in the General dialog.



#35 mb

mb

    Developer

  • Administrators
  • 11520 posts

Posted 02 April 2008 - 03:59 AM

Hello ...

You can see from the Transfer Queue log:

[12:09:00] 226-File successfully transferred
[12:09:00] 226 0.083 seconds (measured here), 0.68 Kbytes per second
-- cut
[12:09:00] SITE UTIME test.txt 20080401190806 20080401190806 20080401190806 UTC
[12:09:00] 250 UTIME OK
[12:09:00] MLST test.txt
[12:09:00] 250-Begin
[12:09:00] type=file;size=58;modify=20080402030806;UNIX.mode=0644;UNIX.uid=32009;UNIX.gid=3
2011;unique=808g19ac4ea; test.txt
[12:09:00] 250 End.

That the MLST time returned by the server is incorrect. SITE UTIME sets the time of the remote file which is 20080401190806. Then right after that MLST returns the time of the file as: 20080402030806
Both time values for the SITE UTIME and the MLST should be same and in UTC. However it seems that PureFTPd returns the time in local time in the MLST reply.
That's the reason you see the wrong time in the Remote Browser.

I have now contacted the pureftpd developer regarding this issue. I will let you konw if there are any news.

Regards,
Mat

#36 jerkynet

jerkynet
  • Members
  • 20 posts

Posted 02 April 2008 - 02:30 PM

Thanks mat, standing by..........
Dave

Hello ...

You can see from the Transfer Queue log:

[12:09:00] 226-File successfully transferred
[12:09:00] 226 0.083 seconds (measured here), 0.68 Kbytes per second
-- cut
[12:09:00] SITE UTIME test.txt 20080401190806 20080401190806 20080401190806 UTC
[12:09:00] 250 UTIME OK
[12:09:00] MLST test.txt
[12:09:00] 250-Begin
[12:09:00] type=file;size=58;modify=20080402030806;UNIX.mode=0644;UNIX.uid=32009;UNIX.gid=3
2011;unique=808g19ac4ea; test.txt
[12:09:00] 250 End.

That the MLST time returned by the server is incorrect. SITE UTIME sets the time of the remote file which is 20080401190806. Then right after that MLST returns the time of the file as: 20080402030806
Both time values for the SITE UTIME and the MLST should be same and in UTC. However it seems that PureFTPd returns the time in local time in the MLST reply.
That's the reason you see the wrong time in the Remote Browser.

I have now contacted the pureftpd developer regarding this issue. I will let you konw if there are any news.

Regards,
Mat



#37 mb

mb

    Developer

  • Administrators
  • 11520 posts

Posted 13 April 2008 - 11:29 AM

I have contacted the pureftpd developer 3 times in the last 2 weeks and I haven't received a reply yet. But I'm not that suprised.

#38 oliver341

oliver341
  • Members
  • 12 posts

Posted 11 May 2008 - 11:47 PM

Every attempt SmartFTP makes to set the file time on a ProFTP server fails.

[00:43:31] MDTM 20070316170331 cache_trim.sh
[00:43:31] 550 20070316170331 cache_trim.sh: No such file or directory
[00:43:31] MFMT 20070316170331 cache_trim.sh
[00:43:31] 500 MFMT not understood
[00:43:31] SITE UTIME cache_trim.sh 20070316170331 20070316170331 20070316170331 UTC
[00:43:31] 500 'SITE UTIME' not understood
[00:43:31] SITE UTIME 20070316170331 cache_trim.sh
[00:43:31] 500 'SITE UTIME' not understood

But I see no advantage in synchronising the file times so I happily turn this feature off to save a few fractions of a second. I don't really see why "Keep File Time" is on by default.