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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

why is as/400 called object oriented machine?

940


how do you pass parameters in cl?

1024


which cl command can be used at program execution to redirect the file named in an rpg program?

693


How can we change the uppercase to Lowercase in RPG?

921


how can I predict the performance of my cgis?

644






how can I control from my cgis the cache of a remote browser?

663


What are the different opcodes used for file operation on a subfile in a rpg pgm?

1083


what is overlay?

665


when do you use f-spec. Continuation line ?

963


a multiple format logical file is also known as?

581


how to write code for singlepage in sqlrpgle with update ?

2358


what is the length of a variable in rpg?

949


what is the function of crtdupobj command?

1140


how do you know that records are locked?

1131


Apart from opening of a file do we have any other use of USROPN?

947