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


Please Help Members By Posting Answers For Below Questions

what is the purpose of data structure?

1012


how many files, printer files you can describe in a rpg?

634


Explain The Keywords Edtcde & Edtwrd?

846


what is the difference between seton lr and retrn?

1297


what is the purpose of ovrdta (override data) keyword?

1077






what is full form for dds?

747


What are the types of data structure in as400?

545


in conjunction with what other keyword must ovrdta and ovrata be used?

925


How to reverse a string using RPG?

708


What is data structure in as400? What is the use of data structure?

610


Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP

1936


What Does 'sr' In Columns 7-8 Of C Specs Mean?

1070


what is the purpose of overrides?

1027


why is the declare cursor statement is used for?

632


the output from my cgi is correctly interpreted by ms internet explorer, whereas netscape navigator would display it as a plain text. What should I do to have also netscape interpreting the html output from my cgi?

570