[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: wput: bug-report
Hagen,
I'm experiencing another issue regarding the timestamp and when it
should and shouldn't transfer the file. This is the command I'm using
with $deststr being the ftp location. Sometime it behaves the way I
expect and sometimes it doesn't.
wput --timestamp --peace --reupload --quiet * $deststr
If the src contains the following:
total 1272
drwxr-xr-x 4 testftp testftp 4096 Jul 14 09:00 .
drwxr-xr-x 5 testftp testftp 4096 Jul 14 09:00 ..
drwxr-xr-x 2 testftp testftp 4096 Jul 14 09:00 bar
drwxr-xr-x 2 testftp testftp 4096 Jul 14 09:00 foo
-rw-r--r-- 1 testftp testftp 508 Jul 14 09:01 move_to_testftp1
-rw-r--r-- 1 testftp testftp 503002 Jul 14 09:01 move_to_testftp2
-rw-r--r-- 1 testftp testftp 251501 Jul 14 09:01 move_to_testftp3
-rw-r--r-- 1 testftp testftp 251501 Jul 14 09:00 move_to_testftp4
-rw-r--r-- 1 testftp testftp 251501 Jul 14 09:00 move_to_testftp5
And the dest contains the following from a previous wput:
total 1268
drwxrwxr-x 2 syncer syncer 4096 Jul 14 09:00 .
drwxrwxr-x 5 syncer syncer 4096 Jul 8 08:15 ..
-rw-r--r-- 1 syncer syncer 251501 Jul 14 09:00 move_to_testftp1
-rw-r--r-- 1 syncer syncer 251501 Jul 14 09:00 move_to_testftp2
-rw-r--r-- 1 syncer syncer 251501 Jul 14 09:00 move_to_testftp3
-rw-r--r-- 1 syncer syncer 251501 Jul 14 09:00 move_to_testftp4
-rw-r--r-- 1 syncer syncer 251501 Jul 14 09:00 move_to_testftp5
After execution of a wput the dest contains this:
total 1264
drwxrwxr-x 2 syncer syncer 4096 Jul 14 09:00 .
drwxrwxr-x 5 syncer syncer 4096 Jul 8 08:15 ..
-rw-r--r-- 1 syncer syncer 508 Jul 14 09:01 move_to_testftp1
-rw-r--r-- 1 syncer syncer 503002 Jul 14 09:01 move_to_testftp2
-rw-r--r-- 1 syncer syncer 251501 Jul 14 09:01 move_to_testftp3
-rw-r--r-- 1 syncer syncer 251501 Jul 14 09:01 move_to_testftp4
-rw-r--r-- 1 syncer syncer 251501 Jul 14 09:01 move_to_testftp5
I would expect that the move_to_testftp4 and move_to_testftp5 files
would have remained unchanged in the dest. And its intermittent,
sometimes it works fine like this.
Src:
total 1272
drwxr-xr-x 4 testftp testftp 4096 Jul 14 08:53 .
drwxr-xr-x 5 testftp testftp 4096 Jul 14 08:53 ..
drwxr-xr-x 2 testftp testftp 4096 Jul 14 08:53 bar
drwxr-xr-x 2 testftp testftp 4096 Jul 14 08:53 foo
-rw-r--r-- 1 testftp testftp 508 Jul 14 08:55 move_to_testftp1
-rw-r--r-- 1 testftp testftp 503002 Jul 14 08:55 move_to_testftp2
-rw-r--r-- 1 testftp testftp 251501 Jul 14 08:55 move_to_testftp3
-rw-r--r-- 1 testftp testftp 251501 Jul 14 08:53 move_to_testftp4
-rw-r--r-- 1 testftp testftp 251501 Jul 14 08:53 move_to_testftp5
Dest before:
total 1268
drwxrwxr-x 2 syncer syncer 4096 Jul 14 08:54 .
drwxrwxr-x 5 syncer syncer 4096 Jul 8 08:15 ..
-rw-r--r-- 1 syncer syncer 251501 Jul 14 08:54 move_to_testftp1
-rw-r--r-- 1 syncer syncer 251501 Jul 14 08:54 move_to_testftp2
-rw-r--r-- 1 syncer syncer 251501 Jul 14 08:54 move_to_testftp3
-rw-r--r-- 1 syncer syncer 251501 Jul 14 08:54 move_to_testftp4
-rw-r--r-- 1 syncer syncer 251501 Jul 14 08:54 move_to_testftp5
Dest after:
total 1264
drwxrwxr-x 2 syncer syncer 4096 Jul 14 08:54 .
drwxrwxr-x 5 syncer syncer 4096 Jul 8 08:15 ..
-rw-r--r-- 1 syncer syncer 508 Jul 14 08:55 move_to_testftp1
-rw-r--r-- 1 syncer syncer 503002 Jul 14 08:55 move_to_testftp2
-rw-r--r-- 1 syncer syncer 251501 Jul 14 08:55 move_to_testftp3
-rw-r--r-- 1 syncer syncer 251501 Jul 14 08:54 move_to_testftp4
-rw-r--r-- 1 syncer syncer 251501 Jul 14 08:54 move_to_testftp5
[syncer@usnfsbridge1 syncer]$ eConnection closed by foreign host.
I have the logfiles from both runs with the debug turned on if you want
it. When I looked at it, the timestamp comparisons on those two files
didn't make sense to me, but I'm not sure where it gets the timestamps
to compare.
_______________________________________________________
ProQuest Alison
The information contained in this e-mail and any attached files is intended only for the use of the person(s) to whom it is addressed and may be privileged, confidential and exempt from disclosure under applicable law. The views of the author may not necessarily reflect the views of the Company. If you are not the intended recipient please do not copy or convey this message or any attached files to any other person but delete this message and any attached files and notify us of incorrect receipt via e-mail to mailadmin@proquestalison.com.
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet.