[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Mixed FTP_GET misbehaves due to not resetting FTP_Linemode



Sender: "Marcos Cordova" <mcordova@xxxxxxxxxxxxxxxxx>


Hello Scott,

Is there a way for me to change my e-mail address?  I'm not sure what link
to go to.  



Thank you.
Marcos Cordova
 

-----Original Message-----
From: owner-ftpapi@xxxxxxxxxxxxx [mailto:owner-ftpapi@xxxxxxxxxxxxx] On
Behalf Of Scott Klement
Sent: Tuesday, November 15, 2005 10:50 AM
To: ftpapi@xxxxxxxxxxxxx
Subject: Re: Mixed FTP_GET misbehaves due to not resetting FTP_Linemode

Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>


The linemode would need to be saved and restored in all three routines,
FTP_put(), FTP_get() and FTP_append().  Otherwise if you mixed put/get you'd
have the same problem.

---
Scott Klement  http://www.scottklement.com

On Mon, 14 Nov 2005, l.maartens wrote:

> Hi group,
>
> Just to warn users of the FTPAPI that when getting a QSYS file followed by
an IFS file, (both in ASCII mode) you should call FTP_LineMode with *off to
reset the WkLinemode value. If you do not rerun the procedure than the
linemode of the preceding Qsys get is used (which is *on) and therefore
upsetting the default value of *off.
>
> I propose to save the linemode before actually getting the file, and than
reset it. For sofar as I can see that should then be done within the FTP_Get
procedure.
>
> The saveing and resetting is required since the FTP_LineMode procedure can
also be called independently.
>
>
> Kind regards,
>
> Loek Maartens,
> Veracity Software Consultancy BV
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail to
majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------