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
if we tried to move year part of *iso date into a field of length 3, what will happen ?
what are the important factors in error message subfile ?
What is the difference between iter and do? We know both are used to execute set of statements repeatedly, but what is the main difference?
what does opcode post do ?
when do you use f-spec. Continuation line ?
Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?
what is *inzsr used for?
how can you check for a records existence without causing and i/o (chain/read)?
How to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?
how many types of display are available on as/400 for user interaction?
How can we change the uppercase to Lowercase in RPG?
how do you read changed records backward in subfile?
how can I start a page in a new window?
how can u check no of records in a file?
how can you detect overflow for a print program that prints multiple lines per cycle?