On Mon, 24 Apr 2017 08:17:55 -0500, Ron Thomas <[email protected]> wrote:
>i executed the below script from Linux VM and the below is what it says. >Looks like site command is not supported . So any idea on how this could be >resolved or is there any work around ? > >Script >----------- >sftp [email protected] ><< EOF >site blocksize=0 lrecl=3000 recfm=fb prim=25 sec=25 cyl >put /sap/co2ekh/backup/global_chgback_escoa_2017-01-22:22:00:10.txt >//'CH2ICST.X.Y.R1' >quit >EOF > >Log Message >---------------- >sftp> site blocksize=0 lrecl=3000 recfm=fb prim=25 sec=25 cyl >Invalid command. >sftp> put /sas/co2ekh/backup/global_chgback_escoa_2017-01-22:22:00:10.txt >//'CH2ICST.X.Y.R1' >Uploading /sas/comtekh/backup/global_chgback_escoa_2017-01-22:22:00:10.txt to >//CH2ICST.X.Y.R1 >/sap/co2ekh/backup/global_chgback_escoa_2017-01-22:22:00:10.txt > 68% 2208KB 1.8MB/s >00:00 ETA >Couldn't write to remote file "//CH2ICST.X.Y.R1": Failure You're not using ftp. You're using sftp, which is entirely different and not related to ftp at all. -- Walt ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
