Re: determing if FTP process is finished

From: Brock Heinz (brock57_at_hotmail.com)
Date: 08/23/04


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



Relevant Pages

  • Re: Compressed html archive(chm and tgz)
    ... contention that this would magically transform it into c language ... for example *exe* for all Your files or no extension at all. ... be .tar.gz or .tgz and would become .tgh, ... I find tgz archives sufficinet for this purpose, ...
    (comp.os.linux.misc)
  • Re: Problem opening 4 videos at the same time using Direcshow
    ... Thanks for posting that you solved your problem. ... "weird extension" problem was, it may help somebody else who searches the ... archives of these newsgroups. ... Trim & respond inline (please don't top post or snip everything) ...
    (microsoft.public.win32.programmer.directx.video)
  • Outlook Web Access view include files vulnerability
    ... archives are ... with extension INC, that to the being requested for browser it ...
    (Vuln-Dev)
  • Re: Select archive at boot
    ... >> Go to Desktop Properties/Archives and there you can set up to archive the ... I archive every ten days and save eight archives. ... > system startup" option and allows its location to be specified. ... The extension is probably XWorkplace. ...
    (comp.os.os2.misc)