I want to run ls *.csv (sftp command) from CL Program...
Can u plz tell me when SFTP command will start running?
i.e.which command should I use in CL Program to run ls
command?
Answers were Sorted based on User's Feedback
Answer / syam
Hi Patel
You can use SFTP thru Qshell
PGM
QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt
serverUserID@server')
ENDPGM
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / syam
SFTP is Interactive command you can't use in CL program
Use STRTCPFTP command
| Is This Answer Correct ? | 0 Yes | 2 No |
What is the purpose of PR and PI in calling program and called program? in Called program PR is compulsory?
How Many Specs Are There In Rpg & Which Are They?
Q. Soppose one job is running in a batch mode for long time now i want to kill(end)this batch job.How you will achive this?
Hi, can you plz tell me ...syntax for GET command in FTP & SFTP is same or different???
What is Multi-format logical file?
Where would you use Override Data Base File?
which single rpg opcode performs both setll and reade?
How to avoid using indicators in ile ?
what is sessional error or divice error in rpg IV?..when will it happens...Give few examples?
What Is Default Data Type (if You Define Decimals '0') In Physical File?
To Add A File To The 'file Selection' Option Of A Query, The Function Key To Be Pressed Is?
can we define multi-dimensional arrays in rpg ?