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

which are control break logic indicators?

0 Answers   IBM,


how to write code for singlepage in sqlrpgle with update ?

0 Answers  


in conjunction with which statements can orxx and andxx conditions be used ?

1 Answers   IBM,


what is primarykey?what is difference between primary key and forign key?

1 Answers  


if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?

1 Answers   IBM,


how to see the error messages for each command in cl?

2 Answers   CGI,


i have one physical file which is having two logical files. logical a have unique keyword and logical b doesnt have a unique keyword. can i give duplicate values while updating through physical file. if no why?

4 Answers   IBM,


What are the system objects required for journalling?

1 Answers  


What is difference between CAT, TCAT, BCAT?

1 Answers  


what is the main use of OPNQRYF ?? in that query why we can use OVERDBF and in that OVERDBY why should we use SHARE(*YES)

2 Answers   IBM,


how can you execute a command from within an rpg program without calling a clp program?

1 Answers   IBM,


What command must be executed before executing OPNQRYF command?

1 Answers  


Categories