PGM
QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt
serverUserID@server')
ENDPGM
Can u plz tell me what the above code do exactly?
Answer Posted / syam
-b = Batch file
/home/test/myfile.txt = path of input file
serverUserID@server' = ip address
then
PUT or Get command
Bye command = Quit
SFTP is a Linux Unix command
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what are members?
Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?
What Is The Object Type Of Pf, Lf, Printer File & Display File?
the output from my cgi is correctly interpreted by ms internet explorer, whereas netscape navigator would display it as a plain text. What should I do to have also netscape interpreting the html output from my cgi?
which are the string manipulation opcodes?
what is the use of dspatr(mdt) keyword?
how do you read data area in an rpg program?
how many specifications are there in rpg/400? What are they?
how can I predict the performance of my cgis?
what is meant by object lock requests,held locks and locks waiting to be applied(wrkobjlck) why should we apply for locks.Please explain sir.
which of the following operations does not zero the field flda defined as 4,0?
How to add 99 menu (page down) option in menu creation..
How to reverse the string in rpg
how do handle file exception/error?
What Does Lokup Does In Tables & Arrays?