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 difference between rename and prefix?
PGM QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt serverUserID@server') ENDPGM In above example,what is content of myfile.txt ...Thanx
How to increase 3 days from my current date in RPG Program?
Specify different indicators used in RPG?
Describe the function of SETGT operation in RPG language?
how can I control from my cgis the cache of a remote browser?
what is the purpose of indicators in rpg?
what is pointer error in rpg IV?
if we tried to move year part of *iso date into a field of length 3, what will happen ?
what are members?
distinguish between terminating a program through seton lr and return?
WHAT IS FERERENTIAL INTRIGRITY ?