>Larry, here is the code:
>
>lnLogFile = fcreate(alltr(thisForm.txtLog.value))
>do upload with lnLogFile
>fclose(lnLogFile)
What does upload do? Could it possibly be closing the file in addition to whatever else it does? If so, the fclose() after it will return .F.. Also, you can put a suspend after the "DO UPLOAD" line and check the output of DISPLAY STATUS. It will show waht files are currently open using Fopen/Fcreate.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao