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

Re: FTP a save file from one iSeries to another (second posting)



Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>

Hi Richard,

You asked the same question last week. Did you receive my response? If not, it can be found at the following link:

http://www.scottklement.com/archives/ftpapi/200503/msg00088.html

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

On Wed, 30 Mar 2005, Richard Lambert wrote:

I have been trying to use FTP_GET() to pick up a save file from another
iSeries.  When the file is retrieved, it has the PF-DTA attributes instead
of the SAVF attributes.

Looking at the OpenFile() source (which is called by FTP_GET()) it calls
ParsePath() which returns *SAVF.  This is then passed to GetFileAtr() which
actually creates the file.  Unfortunately, the first thing GetFileAtr() does
is clobber the SAVF attribute with "eval      peAttrib = *blanks".

Do I need to modify the GetFileAtr() procedure or is there another way of
retrieving save files from another iSeries?

Thanks in advance for your assistance.

Cheers,

Richard Lambert
Bison Information Systems Inc.

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