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!