The processing of each downloaded file is done serially in a separate procedure and there's an explicit close there (I didn't know if I could trust the return to do a cleanup of open file handles for shortly-to-be-uninstantiated objects). And the failure doesn't always occur at the same point. And repeatability is different on different machines too.
If the file *was* open, shouldn't the ERASE fail? I'll look at it further as soon as David gets back to me with what he'd like, but the ERASE is looking like a belt and braces fix right now. i ------ Original Message ------ Received: 09:57 AM COT, 09/25/2009 From: Mark Miesfeld <miesf...@gmail.com> To: Open Object Rexx Users <oorexx-users@lists.sourceforge.net> Subject: Re: [Oorexx-users] Errors with the ftpget method > On Fri, Sep 25, 2009 at 6:54 AM, Ian S. Worthington > <ianworthing...@usa.net> wrote: > > > 3. The problem with this local file seems intermittent, unpredictable, and not > > always repeatable. I seem to have fixed it for now (which means only I > > haven't managed to get it to reoccur in my testing again) by ERASEing the > > local file immediately before issuing the ftpget. > > One reason for seeing this problem can be not having the local file > closed properly before the attemp to write a new version of the file > is made. Deleting the local file before doing a new ftpget seems like > a proper fix. > > -- > Mark Miesfeld > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Oorexx-users mailing list > Oorexx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oorexx-users > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Oorexx-users mailing list Oorexx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-users