View previous topic :: View next topic
|
Author |
Message |
DEBDATTA
New User
Joined: 07 Jan 2021 Posts: 4 Location: India
|
|
|
|
Hi,
Can someone please let me know the SFTP replacement command for LOCSITE ASA in FTP ?
I am trying to SFTP a Mainframe VBA format file , from Mainframe to windows folder in .DOC format and looks like the "Print Page" characters are not being understood by SFTP. So all the 1's and 0's are getting printed on the .DOC document .
Thanks |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
SFTP is a data transfer program not a data manipulation program. It sees your 1s and 0s in column 1 as just pieces of data to be transferred so that is what it does. If you want those bytes to mean something then you have to provide the program to do that once the data has been transferred. |
|
Back to top |
|
|
DEBDATTA
New User
Joined: 07 Jan 2021 Posts: 4 Location: India
|
|
|
|
Thanks Nic. But FTP also trasmits data and is able to understand
The ASA "Print Page" numbers and the .doc document which is created
Is formatted accordingly. We should be having a similar locsite command
In SFTP as well similar to LOCSITE ASA command in FTP. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
We should be having a similar locsite command
In SFTP as well similar to LOCSITE ASA command in FTP. |
do You really think that the authors of a program really care about what You should have or not
what about reading the manual Yourself ???
to save some of Your precious time I googled and here is the link to the sftp command
www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.foto100/fotz152.htm
anyway ftp and sftp belong to different components
ftp is part of the IBM communication server
sftp is part of OpenSSH
different programs, different components, different authors, different specifications, different commands |
|
Back to top |
|
|
DEBDATTA
New User
Joined: 07 Jan 2021 Posts: 4 Location: India
|
|
|
|
Thanks Nick once again for trying to help me.
For carriage return or line feed we use
linerule=crlf in lzopts parameter in SFTP. So when SFTP reads a
Record and encounters a carriage return or line feed, the remaining
Data is written in next line.
What i am talking about below is similar to above but this time its paging
Feed. So is there some command like linerule above, which willdo the
Paging as well when SFTP encounters paging characters ? |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
The name is Nic - no 'k'.
Enrico gave you a link to the manual - what does it say? |
|
Back to top |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
Check the record format of your dataset. If it is FBA then you may want to use recfm=fba in lzopts parameter in SFTP |
|
Back to top |
|
|
DEBDATTA
New User
Joined: 07 Jan 2021 Posts: 4 Location: India
|
|
|
|
recfm in lzopts comes into picture for GET function of
SFTP i am working with PUT function to ftp a mainframe file
Data to windows folder |
|
Back to top |
|
|
|