Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>We have been running an FTP application for over 10 years. It uses an ActiveX control that has worked well but now it's starting to hiccup with later O/S versions, and I want to replace it.
>I checked around the web and found several postings regarding FTP from VFP but most were posted a long time ago.
>I'd like to avoid using an ActiveX if possible.
>Any suggestions?
I wrote an implementation recently that uses MIT's CURL executable as a command-line tool. It has a wide array of protocols and supports everything necessary for basic FTP, secure FTP, and more. It is also actively maintained with source code. I wrote a small wrapper DLL which intercepted the STDOUT and STDERR to capture the output from the program and then post-process it in VFP. The same thing could be achieved by using "curl commands >> output.txt" and then reading in output.txt. However, using the wrapper I am able to parse the file in real-time and obtain percentages, etc.
In any event ... CURL worked well.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement