PGM
QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt
serverUserID@server')
ENDPGM

Can u plz tell me what the above code do exactly?

Answer Posted / syam

-b = Batch file
/home/test/myfile.txt = path of input file

serverUserID@server' = ip address

then

PUT or Get command

Bye command = Quit


SFTP is a Linux Unix command

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are members?

601


Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?

600


What Is The Object Type Of Pf, Lf, Printer File & Display File?

692


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?

553


which are the string manipulation opcodes?

613






what is the use of dspatr(mdt) keyword?

1429


how do you read data area in an rpg program?

1091


how many specifications are there in rpg/400? What are they?

1072


how can I predict the performance of my cgis?

644


what is meant by object lock requests,held locks and locks waiting to be applied(wrkobjlck) why should we apply for locks.Please explain sir.

5930


which of the following operations does not zero the field flda defined as 4,0?

686


How to add 99 menu (page down) option in menu creation..

1914


How to reverse the string in rpg

1192


how do handle file exception/error?

640


What Does Lokup Does In Tables & Arrays?

719