>Sergey
>
>All that worked great - thanks a lot.
>
>I have another question.
>
>I need to upload a file into a live directory but the upload using ADSL takes 4 minutes. That means that the file is not going to be available for those 4 minutes.
>
>Can I using FTP upload into a working directory and then copy from that working directory into my live directory?
>
>Is there any way I can detect that the files is currently being accessed by someone else?
>
Hi Colin,
You can upload every time with a new name and do copy/rename not on FTP but when you process file. In VFP you can use FOPEN(lcFilename, 12) to check if file is in use.
--sb--