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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / ravi
I believe, it gets the details of the file mentioned in the path like created/changed date etc.
Is This Answer Correct ? | 0 Yes | 0 No |
define data structure?
how can I control the way a remote browser uses its cache?
how to toggle between single line and multi - line display of a particular record in a subfile?
what is the use of unique keyword and what level it is defined?
What is the purpose of CHGPF (Change physical file) command?
Q. 1.What are the in build functions in CL program and what are uses of thes in build functions? 2.How we can create own command in CL program? 3.What is use of STRSRVJOB?
When will DUMP and DEBUG opcodes be ignored?
what is the disadvantage of using global variable?
What is LDA?
How to write a password mask program in as400? like the password which i type should be displayed as '*****' r ###### which the user wishes to dispaly if u could help me with url r the solution in written code this will help me
How we can delete all the Logical File of a Physical file in one instance ?
How do you put jobs in batch mode?