Hi Colin
What about uploading the new file using a different filename and then renaming it by FTP?
You will have to erase the old file before you can rename the new one and I think that will also right away solve your access checking issue, cuz you should get an error here when the file is currently in use.
HTH
Markus
>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?
>
>Thanks
>
>
>Colin
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement