View Single Post
Old 05-30-2004, 08:20 PM  
lupin
Junior Member
 
Join Date: May 2004
Posts: 11
Default

For the retry problem,the server is proftpd 1.2.9.
After desassembling flashfxp.exe,I found the line:
:0053FC2E [***deleted***] cmp word ptr [eax+00000306], 0226

0x226=550

is the key to solve the "550" response problems.
Many friends complained to me about the same problem,but they just thought they can do nothing unless the root modifies proftpd sources and recompiles it.
In real world,the root either is too lazy or has no ability to do it.


For the big file problem,it is very severe in the previous versions.
Some small files will be aborted due to timeout,then reget and resume
correctly but some files will just show "this files can not
be resumed!" and reget from 0Byte.I do not understand because the file
was just downloaded about 50-60 percent.
When I install the 3.0Build 999,99% of the files are ok but only one file has the same situation.
The file has sitting on my server for one month because no build of flashfxp can download it correctly.
The file size is 4.38G.Everytime when I saw the progess showed
"4.35G->4.36G->..." and I thought "finally,almost done!",then
I will see " 4.39G->4.40G....and the precentage became "??%"
I cannot believe my eyes! I press "abort" then "go" icons,
it just delete the big file and restart from 0byte because
the "Overwrite" rule is applied(destination file is larger than server
file" ,no way to resume.

Maybe this is due to another proftpd non-standard response,or
the SSL bugs are not complete solved.

"But even so I don't believe the file should be immediately re-tried."

That depends on if you understand the pain.
If I have 20 directories to download,the first directory has 50 files
inside,12 files are downloaded completely,other 38 files
are marked "failed" in queue. Flashfxp is downloading the second directory. After a long night,flashfxp is downloading directory 15
,but the previous 14 directories are all "broken downloads"
because none of them has finished downloading process.

The reason to reget immediately is the spirit of the queue order:
"Start download queue item2 when item1 is finished".Of course,if
queue item1 is failed ( non-exist file/path),it will proceed to next item. For proftpd+flashfxp situation(very popular),if a
item is queued,it is almost impossible to get "550 not found"
response when downloading.If it is not found on the server,how can
I drag it to queue? If the root deletes the files between the time it is queued and started ,I can remove it from queue later.
But for a configured busy server,the "550 too many download threads under this server" is very often to occur. It is also very tired to press "ctrl+alt+R" many many times
to unmark all failed files.
lupin is offline