Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FTP Class created by Robert Abram
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00617992
Message ID:
00618246
Views:
15
>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform