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?
Answer Posted / 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 |
Post New Answer View All Answers
how can you detect overflow for a print program that prints multiple lines per cycle?
the output from my cgi is correctly interpreted by ms internet explorer, whereas netscape navigator would display it as a plain text. What should I do to have also netscape interpreting the html output from my cgi?
In AS/400 projects in Companies whats the meaning of production support team.what production support involves.also what work does development,maintenance involve what are the other teams or processes that are available for as400 project.
difference between sflrcdnbr and sflnxtchg?
how may a cgi control duplicate inputs?
what are the limitations of cl (compare to rpg) ?
How can we update a specific field in RPG?
when is a tag statement used in rpg?
define the purpose of the leave operation?
is it there an easy way to determine if an html section is available to issue a wrtsection upon?
which are the relational operators in rpg?
writing an sql statement from selecting records from two files using single statement and nested select statement.
If I want to execute Sftp commands(LS & GET) stored in Physical file from CL program automatically...Can u Plz tell me how can I do this?...How the script will look?? THANX FOR NY HELP...
if we tried to move year part of *iso date into a field of length 3, what will happen ?
how many specifications are there in rpg/400? What are they?