what are the parameters required for calling ls & get
command(SFTP COMMANDS) from cl progtram....
I want to transfer files(using GET COMMAND) that are
retrieved by LS command ...FROM 1 SYSTEM TO ANOTHER...
STEP 1:LS-list all files...from remote system
STEP 2:GET-actually transfer the files(listed in step 1)
from remote system to local system & get stored in some
Physical file....Plz reply in detail...Thanx



what are the parameters required for calling ls & get command(SFTP COMMANDS) from cl progtram...

Answer / ankur jain

Step 1: use command DIR to list all the files at remote
system.
Step 2: use command GET to get the required file from
remote system to your system.


FTP IP-ADDRESS(REMOTE SYSTEM)
DIR
GET remotefile yourfile (replace
QUITE

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More IBM AS400 AllOther Interview Questions

what is lokup opcode?

1 Answers   IBM,


Define the purpose of Factor 1 the Operation Code and *IN15 in following code HI LO EQ C *YMD Test(D) yymmddDate 15

1 Answers  


what is the purpose of ovrdta and ovrata keywords ?

1 Answers   IBM,


what are the parameters required for calling ls & get command(SFTP COMMANDS) from cl progtram.... e.g call PGM(qp2shell) PARM('/qopensys/usr/bin/sh' '-c' 'sftp -b /home/mydir/tmp.txt user@host.com') Plz reply in detail...

1 Answers  


function of DSPPGMREF?

3 Answers  


What is the difference between /copy and /include in RPGLE?

1 Answers  


Why would you prefer OPNQRYF than logical file?

1 Answers  


How to create an Access path in Synon/2E ?

1 Answers  


is it possible to do commitment control with out journaling?

1 Answers  


what is externally described file ?

1 Answers   IBM,


is there any way to dynamically merge other html scripts into a given html?

0 Answers   IBM,


What is SDA used for?

7 Answers  


Categories