Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looking for FTP uploader
Message
De
27/06/2013 09:36:39
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01577291
Message ID:
01577302
Vues:
60
>>>I use FileZilla to upload our setup files to our website via ftp, but there are lots of problems associated with that program. For one, when the upload gets interrupted, you have to start all over. That can be extremely annoying when you have waited for almost one hour and when the upload is 95% finished it stops and you have to start all over.
>>>Does anybody know a good ftp program that could do the job better?
>>
>>
>>Jos gave you a great solution. Another one is the program CURL. It's command prompt based and can be spawned in another thread in a batch file which can notify your application when it's completed, by running a program which sends back a message to the thisForm.hwnd, which through BINDEVENT() will trap to your notification algorithm. It can notify on success or failure.
>
>Thanks, great alternative. Can it also notify on progress? That would be the hit.


Yes. You'd need to spawn the CURL instance from a process that receives its STDOUT, parses it, and updates the VFP app in real-time. I have one written for 7-Zip which does this, but it is owned by the customer. If you really needed it, I would not mind replicating that code into a FLOSS alternative as an extension of GuiThread. It would take a couple evenings to do though. And you'd have to really want it because I'm kind of focused at the moment. :-)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform