>Take a look at my FAQ entry on using the CopyFile() API call rather than the DOS COPY command or VFP COPY FILE command. You can also look at using my API_APPRUN class and XCOPY (COPY is an internal command, so running it without a command processor is troublesome) to run DOS commands without a DOS window. You can download API_APPRUN from here on UT.
EXCELLENT! Thanks, Ed. Your FAQ was exactly what I was looking for. The API is working great with one exception: the return fails on one particular large file even though that file (a font file) is successfully uploaded. I'll play with GetLastError to see if I can ascertain why. Any ideas? While I've got your attention: Do you have a similar API for setting a printer in Win9x and NTWS? Anything better than Fox's SET PRINTER TO? I'm not wild about the syntactical differences between NT and Win9x
Thanks
Dan
St. Petersburg, FL
"I started out with nothing and I still have most of it left"