[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sending Savefiles to the IFS
Hello Werner,
You must use the suffix .FILE instead of .SAVF on the LocFile, SAVF is
only the attribute of a savefile.
Example:
RmtfFile = '/tmp/test.sav'
LocFile = '/QSYS.LIB/SAVLIB.LIB/TEST.FILE'
If FTP_Put(fd:%trimr(RmtFile):%trimr(LocFile))) < *zeros ;
etc.
Regards
Anders Thostrup-Clemmensen
Crea Soft
> Hello All, can anybody provide me an example, where a
> save file is send to the IFS by using Scott's FTP-APIs.
> I have problems with the specification of the save file
> pathname for the FTP_PUT API. Example: RmtFile
> = `/tmp/test.sav' LocFile =
> `/QSYS.LIB/SAVLIB.LIB/TEST.SAVF' If
> FTP_Put(fd:%trimr(RmtFile):%trimr(LocFile)) < *zeros;
> etc. I have set before the NAMEFMT to 1. Many
> thanks in advance. Werner Noll Ludwigstrasse 9
> 63739 Aschaffenburg Germany Phone: +49-6021-299880
> Fax: +49-6021-299882
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list. To unsubscribe, please go
> to: http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------