Procesing files received via ftp
Sebastian Bello
sebastian@REDACTED
Wed Aug 31 00:05:25 CEST 2005
Ok, thanks to all.
Sebastian-
----- Original Message -----
From: "chandru" <chandrashekhar.mullaparthi@REDACTED>
To: "Sebastian Bello" <sebastian@REDACTED>
Cc: <erlang-questions@REDACTED>
Sent: Tuesday, August 30, 2005 6:35 PM
Subject: Re: Procesing files received via ftp
> On 30/08/05, Sebastian Bello <sebastian@REDACTED> 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.
>
> cheers,
> Chandru
More information about the erlang-questions
mailing list