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... I m using RPG/ILERPG to download...
2367If I want to execute Sftp commands(LS & GET) stored in Physical file from CL program automatically...Can u Plz tell me how can I do this?...How the script will look?? THANX FOR NY HELP...
2785PGM QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt serverUserID@server') ENDPGM In above example,what is content of myfile.txt ...Thanx
2 8196what are the parameters required for calling ls & get command(SFTP COMMANDS) from cl progtram.... e.g call PGM(qp2shell) PARM('/qopensys/usr/bin/sh' '-c' 'sftp -b /home/mydir/tmp.txt user@host.com') Plz reply in detail...
1 7390what 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
EDS,
1 4937what is sessional error or divice error in rpg IV?..when will it happens...Give few examples?
CTS,
3 11450I am working in session1 ans session2. In session1 3 jobs are running. In session2 2 jobs are running. How many LDA and temporary files will be created?
3 10815what are the types of errors available in rpg IV or 400.Like decimal data error,sessional error or device error etc...means important error occurings,ie to find out suddenly???pls give answ if u know?
CTS,
2 7840Post New IBM AS400 AllOther Questions
how can you check for a records existence without causing and i/o (chain/read)?
Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?
what is sflpag and sflsiz ?
define the purpose of the *bcat function?
define the purpose of the %sst function?
which cl command is used to trap error messages during program execution?
how to pick up the changed records every time in a subfile after the first change made ?
when are the referential constraints executed?
what are the three line types in rlu ?
what is the purpose of the indara keyword?
what does the opcode free do?
What are the different opcodes used for file operation on a subfile in a rpg pgm?
how do u compile rpgle program?
Difference between NOPASS & OMIT?
what are the various types of device files?