QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt
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
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|
what is logical file?
define the purpose of the *cat function?
What is the difference between a Physical File & a Logical?
how many triggers can be associated with a file?
what is externally described file ?
which indicator is used for read?
maximum number of subfiles that can be active for a single file is?
how can you execute a command from within an rpg program without calling a clp program?
How many Printer Files can Declare in a CL Program?
how can I predict the performance of my cgis?
how to write *pssr ?
How do you read a subfile record which is in output mode?