Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FTP/SMPT/POP3/TCPIP Classes
Message
De
23/11/1999 14:15:34
Porter Hart
Raytheon Systems Company
El Segundo, Californie, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00288077
Message ID:
00294493
Vues:
21
David-

Agreed. We used the FTP from Novell LANWorkplace, though I don't remember why. I'm not looking forward to a future lacking redirection & pipes.

Bye,
-Porter

>Porter,
>
>The FTP program that ships with Windows will take a file that contains all of the ftp commands that you want to run.
>
>>This may not apply to your situation but I used it several times in the FPD/FPW26 era:
>>
>>Find a DOS command line FTP program. If you can find one that has a scripting language, you may wish to use that. Otherwise, read on.
>>
>>Use the FTP program from the command line & note _exactly_ what entries you make to accomplish your goal. Keep is simple.
>>
>>Make a text file which contains the same keystrokes you just used.
>>
>>Use input redirection to pump your keystroke file into the FTP program:
>>
>>C:\> FTP < MyKeys.txt
>>
>>Play with your keystroke file until it works.
>>
>>Now run the FTP program from VFP:
>>
>>RUN FTP < MyKeys.txt
>>
>>Once you get that working, the fun begins. Use VFP to create your keystroke file(s) on the fly. You can also redirect the FTP output to a file & fread() the resulting file to determine what actually happened.
>>
>>In general, simple scripts work best. Use several scripts to execute a complex task.
>>
>>If you manage to capture the result code from the FTP program, tell me how you did it!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform