Hi All,
I need to connect AS400 system using FTP script. Need to place the file in AS400 and get that file processed from script only.
We have been asked to use the follwoing script.
FTP Statements
OPEN <AS400 server name>
USERID
PASSWORD
PUT DIR/FILE QTEMP/Receiver_Filename
QUOTE RCMD SNDNETF FILE(QTEMP/Receiver_Filename) TOUSRID((Receiver_ID AS400COR))
QUIT
Where DIR/FILE will be PI Folder and filename
Let me know if any one of you come across this scenario and solution for the same.
Thanks in Advance.
Regards,
Sreenivas.