FTP site always downloads files when not updated

Author Message
Bryan 06/23/2006 09:23 pm
Hello,

I have a project that downloads files from an FTP site... I set the project to only get files that have been updated (check file size), but every file is downloaded every time even if it has not been updated...

Should this only download when a file is updated?

Thanks!
Bryan

Project pasted below...
[Object]
OEVersion=Pro 4.3.0.2421
Type=0
IID=2
Caption=FTP NHC Model Data
URL=ftp://ftp.nhc.noaa.gov/pub/atcf/aid_public/RunAfterSuccess=C:\download\FileUploader\NHCModels.bat
Lev=4
When=5
Minute=30
Weekday=257
LimTSize=10000
LimNumber=5000
LimTime=100
CheckSize=True
FTText.Exts=htmlhtmaspaspxjspstmstmlidcshtmlhtxtxttextxspxmlrxmlcfmwmlphpphp3
FTImages.Exts=gifjpgjpegtiftiffxbmfifbmppngipxjp2j2cj2kwbmplwf
FTVideo.Exts=mpgavianimpegmovfliflcvivrmramrvasfasxwmvm1vm2vvob
FTAudio.Exts=wavriffmp3midmp2m3uravocwmaape
FTArchive.Exts=ziparcgzzarjlhalayleirarcabtarpakacejarpdftgz
FTUDef.Exts=jscssssivbsdtdxslswfclass
FTText.B=ooxooo
FTImages.B=xoxooo
FTVideo.B=xoxooo
FTAudio.B=xoxooo
FTArchive.B=ooxooo
FTUDef.B=xoxooo
FTOther.B=xoxooo
FTSizes=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,0,3,0
RSrvsBx=1
RFileBx=2
RFileEx=???8?????.dat.gz x
RProt=127
LastStart=157:218:45:57:124:253:226:64:
LastEnd=184:169:50:82:124:253:226:64:
S200=11
SPar=1
SSav=11
SLast=200
SSiz=256374
LFiles=11
LSize=388183
Flags=1
ImgDim=0,0,0,0
PrevURL=ftp://ftp.nhc.noaa.gov/pub/atcf/aid_public/

Oleg Chernavin 06/26/2006 05:11 am
I tested the Project - downloaded it and then started again to test the update. It worked perfectly - the listing loaded again and all other files were reported as not modified. Here is the log for one of the files:

...
FTP7 - 26.06.2006 13:01:13 - 200 Switching to Binary mode.
FTP7 - 26.06.2006 13:01:13 - Setting port...
FTP7 - 26.06.2006 13:01:13 - PORT 192,168,1,5,5,5
FTP7 - 26.06.2006 13:01:13 - 200 PORT command successful. Consider using PASV.
FTP7 - 26.06.2006 13:01:13 - Starting transfer...
FTP7 - 26.06.2006 13:01:13 - LIST aep022006.dat.gz
FTP7 - 26.06.2006 13:01:16 - FTP connection accepted.
FTP7 - 26.06.2006 13:01:16 - Getting length from listing.
FTP7 - 26.06.2006 13:01:16 - -rw-r--r-- 1 ftp ftp 29367 Jun 05 02:30 aep022006.dat.gz
FTP7 - 26.06.2006 13:01:16 - HTTP/1.0 304 Not Modified
- - Content-Length: 0
FTP7 - 26.06.2006 13:01:16 - Read Transaction complete. Status: 304 Not Modified.

Best regards,
Oleg Chernavin
MP Staff