[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Transfering SAVF by FTP-APIs
Hi,
I would like to transfer a save file to the IFS and get always an
error message like: "No path or no library with this name" when
FTP_Put is executed.
What do I have to do?
This is a snippet of my program:
fd = FTP_Conn(#FTPServer:#FTPUser:#FTPPwd:FTP_PORT:120);
If FTP_NAMFMT(fd:1) < *zeros;
r$Rtncode = '1';
EndIf;
P$RmtFile = `/tmp/test.sav'
P$LocFile = `/QSYS.LIB/SAVLIB.LIB/TEST.SAVF'
If FTP_Put(fd:%trimr(p$RmtFile):%trimr(p$LocFile)) < *zeros;
r$FTPErrMsg = FTP_Error();
r$Rtncode = '1';
EndIf;
Many thanks for any tips.
Kind regards.
Werner Noll
Ludwigstrasse 9
D-63739 Aschaffenburg
Phone: +49-6021-299880
Fax: +49-6021-299882
e-mail: [1]Werner.Noll@xxxxxxxxx
References
1. file://localhost/tmp/Werner.Noll@xxxxxxxxx
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------