Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Looking for FTP uploader
Message
From
27/06/2013 09:38:55
 
 
To
27/06/2013 09:36:39
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01577291
Message ID:
01577304
Views:
45
>>>>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. :-)

Well that sounds like a lot of work, and it's not that important. But thanks for the info, I will take a look at this.
Christian Isberner
Software Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform