Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP FTP Client Progress Bar
Message
De
25/01/2011 05:50:20
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
24/01/2011 16:10:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01497260
Message ID:
01497326
Vues:
150
>Hi,
>
>I've been using an FTP Client written in VFP that I probably got from here or the UT, but I can't remember from where or who wrote it. See the attached image.
>
>Recently a client started to complain that the progress bar does not close and the download sticks at 100% but the number of bytes downloaded does not match the actual file size.
>
>I've verified that the file has successfully downloaded and they can click on the cancel button and the progress bar closes, but it does confuse the user. I've had a quick look at the code and didn't see where the bug is at first glance. Because of my limited time I was hoping someone knows where this class came from so I can find out if there is a newer version which may fix this bug. Failing that I guess I've got to dig into the code.

I have a couple of FTP places where the site's timeout is shorter than the time it takes to upload the file. Sometimes it happens that the server keeps the connection open until the file is uploaded, but then disconnects before it sends confirmation that the file is sent OK, so the client stays more or less stuck - clicking cancel, reconnecting, then checking the file size takes some time, because there's some miscommunication between the client and the server, and I have to wait for the client's own grace period to pass. Generally, after the client has been seemingly stuck at 100%, the file was actually uploaded fine, it's just that the confirmation never arrived, because the "show me the directory again" command was sent when the server already disconnected. This is all based only on observation, didn't try to debug the issue.

But that's manual operation. When I upload stuff programmatically, it's only to my website, and those files are short, so this didn't happen (using old Chilkat's freebie ActiveX).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform