Hi,
I am using an external ftp server to post data on a web site.
Unfortunately I have only one simultanous login on this ftp server, but multiple scripts which write files to be transfered.
Fortunately all scripts are using hthe same custom module for transfer. I have now implemented a locking mechanism based on a file existence to ensure that only one process a file at a time.
This works ok, but is a bit error prone if a script hangs or terminates the wrong time.