Hi,
I used crond/wget to keep my local files synchronized with the remote
FTP site. Saw "The sizes do not match" a lot of times though I just
downloaded the files one minute ago.
I'm using 1.10 on Redhat Enterprise 4 with ext3 file system.
Seems the problem is related to the file sizes. For small files it works
properly, but for bigger files, it always thinks the local copy has a
different file size.The remote file size reported in the .listing file
and the local file size(ls -l) seem agree with each other.
Following are the commands and output.
The bigger file(~50M):
=============================================================
wget -N
ftp://ftp.ncbi.nih.gov/genomes/Arabidopsis_thaliana/CHR_V/NC_003076.gbk
--12:40:06--
ftp://ftp.ncbi.nih.gov/genomes/Arabidopsis_thaliana/CHR_V/NC_003076.gbk
=> `.listing'
Resolving ftp.ncbi.nih.gov... 130.14.29.30
Connecting to ftp.ncbi.nih.gov|130.14.29.30|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /genomes/Arabidopsis_thaliana/CHR_V ... done.
==> PASV ... done. ==> LIST ... done.
[
<=>
] 923 --.--K/s
12:40:06 (147.50 KB/s) - `.listing' saved [923]
Removed `.listing'.
The sizes do not match (local 53415832) -- retrieving.
--12:40:06--
ftp://ftp.ncbi.nih.gov/genomes/Arabidopsis_thaliana/CHR_V/NC_003076.gbk
=> `NC_003076.gbk'
==> CWD /genomes/Arabidopsis_thaliana/CHR_V ... done.
==> PASV ... done. ==> RETR NC_003076.gbk ... done.
Length: 53,415,832 (51M) (unauthoritative)
100%[=================================================================================================>]
53,415,832 4.72M/s ETA 00:00
12:40:17 (4.75 MB/s) - `NC_003076.gbk' saved [53415832]
=============================================================
The smaller file(~3.5M)
=============================================================
wget -N
ftp://ftp.ncbi.nih.gov/genomes/Arabidopsis_thaliana/CHR_V/NC_003076.faa
--12:38:01--
ftp://ftp.ncbi.nih.gov/genomes/Arabidopsis_thaliana/CHR_V/NC_003076.faa
=> `.listing'
Resolving ftp.ncbi.nih.gov... 165.112.7.10
Connecting to ftp.ncbi.nih.gov|165.112.7.10|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /genomes/Arabidopsis_thaliana/CHR_V ... done.
==> PASV ... done. ==> LIST ... done.
[
<=>
] 923 --.--K/s
12:38:02 (30.37 KB/s) - `.listing' saved [923]
Removed `.listing'.
Remote file no newer than local file `NC_003076.faa' -- not retrieving.
=============================================================
Any help is appreciated.
Gang