Procesing files received via ftp
Tue Aug 30 23:35:26 CEST 2005
On 30/08/05, Sebastian Bello <> wrote:
> Hi list,
> I need to process files received via ftp.
> I see two approaches:
> 1. poll the ftp directory
> How can I make sure a file download has finished?
If you are pulling the files from a server, use a suffix such as .open
on the file while it is being retrieved and when the download is
complete, rename it to remove the .open extension. Alternatively, if
you are receiving the file as a server, make sure your client does the
renaming operation mentioned above.
More information about the erlang-questions