Re: determing if FTP process is finished
From: Brock Heinz (brock57_at_hotmail.com)
Date: 08/23/04
- Next message: Xavier Noria: "GUI video capture"
- Previous message: Christian \: "performance problem with JMS"
- In reply to: Sudsy: "Re: determing if FTP process is finished"
- Next in thread: Gordon Beaton: "Re: determing if FTP process is finished"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 23 Aug 2004 06:47:38 -0700
Sudsy <bitbucket44@hotmail.com> wrote in message news:<41288C7F.5030602@hotmail.com>...
> Brock Heinz wrote:
> <snip>
> > The first part is simple - I can easily determine if the file is
> > present. The second part though is causing me headaches. How can I
> > know if the FTP process is done? Does anyone have any experience with
> > this? Is it very platform / process (FTP in this case) dependent?
>
> If you'd searched the archives (you really should have) then you'd
> have found a fairly common approach.
Yes, Sudsy - I did read the archives. The double file approach isn't
an option in my environment. With FileChannel(s) being new to JDK
1.4, a good deal of the archives don't pertain.... I was hoping I
could solve this problem programatically.
> It consists of uploading to a
> file with a particular extension and then renaming the file when
> upload completes. The consumer knows not to touch files with the
> known extension since those transfers are in-progress.
> There should also be a reaper to remove partial transfers after a
> reasonable period of time has elapsed.
-Brock
- Next message: Xavier Noria: "GUI video capture"
- Previous message: Christian \: "performance problem with JMS"
- In reply to: Sudsy: "Re: determing if FTP process is finished"
- Next in thread: Gordon Beaton: "Re: determing if FTP process is finished"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|