Hi,
can you plz tell me ...syntax for GET command in FTP & SFTP
is same or different???

Answer Posted / chin

Syntax for GET command:

GET source-lib/source file destination-lib/destination-file
(replace

Ex: GET SRCLIB/SRCFILE DSTLIB/DSTFILE (replace

==> REPLACE is to say that file should be replaced
completed and here, records will not be appended to the
existing records in the file.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what would be the effect on the field where reverse image, underline and highlight display attributes are active ?

999


what is the difference between udate and the system date?

1159


how do handle file exception/error?

650


Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..

1787


Hi,Please give me the the answer for these quesitons? 1.what is IFS and ICF and RAPE amd DISKET fils? explain with example please? 2.What is the difference between POST AND SPACE OPCODES? 3.Can anybody tell me default printerfile command and object type?

2087






maximum number of subfiles that can be active for a single file is?

974


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

918


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?

549


How Many Specs Are There In Rpg & Which Are They?

686


how can I give more performance to some selected pages?

615


What Is Ddm ?

1038


What Is The Purpose Of The "n" In The Following Calculation Specification?

674


How to Define a Procedure in RPG?

1224


how can you detect and handle a record lock situation?

1217


Can any one explain the basic things about RLU and Printer Files and their Definitions for both and why are they used,i'm a newbee so please help me out

2904