Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

FTP to SFTP

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
passion_sujesh

New User


Joined: 14 Mar 2008
Posts: 74
Location: India,Chennai

PostPosted: Tue Feb 24, 2015 8:59 am    Post subject: FTP to SFTP
Reply with quote

Hi,
I am in progress of migrating FTP jobs to SFTP. The remote application is a distributed application. I am able to establish connectivity with remote server and place files in their server. In one of the transmitted file, i find there are few difference in the data transmitted, when i compare the file sent via FTP and SFTP (Same file was sent to FTP and SFTP). I see the difference is becasue of garbage value in the file being transmitted.
Following are few Difference:

1) Mainframe file has value X'08' (in position 10,1), after transmission the values are:
The file being transmitted via SFTP has value '—' (in position 10, 1). The file transmitted via FTP has value '->' (in position 10, 1).

2) Mainframe file has value x'69' (in position 9,1), after transmission the values are:
The file being transmitted via SFTP has value 'Ñ' (in position 9, 1). The file transmitted via FTP has value '¬' (in position 9, 1).

I am not sure which of the file transmitted has correct value. Can anyone explain why the data was modified for the transmission, Does it have something to do with EBCDIC data to ASCII conversion. I am using 'BPXFX311' conversion table for EBCDIC to ASCII conversion. And the file transmission mode is binary.

Thanks in advance for your help.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Tue Feb 24, 2015 2:02 pm    Post subject: Reply to: FTP to SFTP
Reply with quote

Quote:
I am using 'BPXFX311' conversion table for EBCDIC to ASCII conversion. And the file transmission mode is binary.


just take a decision....
if transmission mode is binary the conversion table is NOT used,
if You use the conversion table the mode is NOT binary
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SFTP to primary and secondary servers mallik4u JCL & VSAM 4 Tue Jun 07, 2016 12:52 pm
No new posts Replacement FTP to SFTP Vasili Koipish All Other Mainframe Topics 1 Wed May 11, 2016 3:10 pm
No new posts Increase Speed in SFTP alan_blore TSO/ISPF 4 Sat Jul 12, 2014 1:48 am
No new posts SFTP-public/private key rdr All Other Mainframe Topics 4 Wed Dec 04, 2013 4:22 pm
No new posts SFTP in mainframe dharani.nagarajan All Other Mainframe Topics 12 Tue Oct 22, 2013 6:25 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us