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

AW: Sending Savefiles to the IFS



Hi Anders,

thank you very much! Now it works fine! It was such a simple thing but I was
probably blocked in my mind.

Kind regards,   

Werner Noll
Gesellschaft für Individual-Software mbH
Ludwigstrasse 9
63739 Aschaffenburg
Germany
Geschäftsführer: Werner Noll, Bernd Schröder
HR Aschaffenburg HRB 6020
Phone: +49-6021-299880
Fax: +49-6021-299882

-----Ursprüngliche Nachricht-----
Von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] Im Auftrag von
ftpapi@xxxxxxxxxxx
Gesendet: Donnerstag, 1. März 2007 14:15
An: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Betreff: 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
-----------------------------------------------------------------------


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------