IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FTP to SFTP


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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

Senior Moderator


Joined: 14 Mar 2007
Posts: 10712
Location: italy

PostPosted: Tue Feb 24, 2015 2:02 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts SFTP replacement for LOCSITE ASA in FTP All Other Mainframe Topics 7
No new posts How to remove remote file older than ... All Other Mainframe Topics 4
No new posts Issue in SFTP a file All Other Mainframe Topics 1
No new posts SFTP to a Unix Pipe file All Other Mainframe Topics 4
No new posts SFTP from Linux to Mainframe All Other Mainframe Topics 4
Search our Forums:

Back to Top