The content of Physical file is as below:
hfcftp wruquief
SENDPASV 0
CDUP
ASCII
GET 01100901.CSV ramndk/ECP505.EC0110090 (REPLACE
QUIT
Thw above commands will get executed when we call STRTCPFTP
from CL program....
Now if I want to use SFTP what can be the solution?
plz reply in detail....Thank you for ny
help...
Answer Posted / syam
STRTCPFTP is a CL command to start remote system.
STRTCPFTP RMTSYS("172.20.300.1")
You need to write a CL program first. Are you trying
C code to download?
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
distinguish between terminating a program through seton lr and return?
what is the purpose of putovr (put with explicit override) keyword?
describe the difference between the dowxx and douxx operations?
is it there an easy way to determine if an html section is available to issue a wrtsection upon?
when do you explicitly open files and close files in an rpg program?
what would be the effect on the field where reverse image, underline and highlight display attributes were active?
how to declare a constant variable in the freeformat?
What is diff between EVAL & MOVE?
1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?
which type of object is used in db2/400?
How can we change the uppercase to Lowercase in RPG?
writing an sql statement from selecting records from two files using single statement and nested select statement.
what is scan and xlate?
How to reverse the string in rpg
define subsystem?