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 |
how does the runqry show the output?
define the purpose of the *bcat function?
when is a tag statement used in rpg?
how can I automatically refresh a web page?
how we lock a pf???? what are the parameters used in this command.how we understand whether an object is locked or not?? using command .....we have to use *PSSR? and trough *status..how??.if we give an eg to me???pls answer me anyone..
What is the purpose of CHGPF (Change physical file) command?
What is class of service ?
Describe the function of SETLL operation in RPG language?
What is the maximum number of elements in an array?
is it there an easy way to determine if an html section is available to issue a wrtsection upon?
what is the purpose of putovr (put with explicit override) keyword?
What is the purpose of PR and PI in calling program and called program? in Called program PR is compulsory?