[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Transferring SAVF by FTP-APIs
Werner,
P$LocFile = '/QSYS.LIB/SAVLIB.LIB/TEST.SAVF'
should be
P$LocFile = '/QSYS.LIB/SAVLIB.LIB/TEST.FILE'
Brian J. Garland
Vermont Information Processing, Inc.
brian@xxxxxxxxxx
"Werner Noll, GEFIS" <werner.noll@xxxxxxxxx>
Sent by: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
02/14/2007 11:27 AM
Please respond to
HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
To
"'HTTPAPI and FTPAPI Projects'" <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
cc
Subject
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: Werner.Noll@xxxxxxxxx
----------------------------------------------------------------------
-
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
-----------------------------------------------------------------------