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 Extended ASCII to mainframe

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

New User


Joined: 24 Feb 2006
Posts: 15
Location: calicut

PostPosted: Mon Jul 28, 2008 3:14 pm    Post subject: FTP Extended ASCII to mainframe
Reply with quote

When we ftp a file from JAVA to mainframe with the below transfer type
ftp.setType(FTPTransferType.ASCII)
the special characters (having ASCII value greater than 128) are getting changed. But when we manually do the ftp in text mode the special characters are intact. Can you pls help us.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8120
Location: East Dubuque, Illinois, USA

PostPosted: Mon Jul 28, 2008 5:02 pm    Post subject:
Reply with quote

Sounds reasonable to me. ASCII is a technical definition for a 128-character set of bits. So-called 'extended ASCII' is not standard and may be handled differently by different packages. You need to find out more about the Java API you're using -- it may not be possible to transfer characters in the range 128 to 255 without using Image transfer.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jul 28, 2008 8:53 pm    Post subject:
Reply with quote

Hello,

Quote:
it may not be possible to transfer characters in the range 128 to 255 without using Image transfer.
You should not need to specify image transfer. 8-bit ascii (rather than 7-bit ascii) transfers transparently (as you have seen with the manual ftp).

As Robert suggests, you need to look at the "rules" of the Java API you are using or possibly use standard ftp, not some custom API.

Keep in mind that while the transfer "works" the ascii and ebcdic values are not the same.

Possibly there is something i misunderstand.
Back to top
View user's profile Send private message
shahin

New User


Joined: 24 Feb 2006
Posts: 15
Location: calicut

PostPosted: Tue Jul 29, 2008 2:46 pm    Post subject:
Reply with quote

Thanks a lot Robert Sample and dick scherrer for the valuable information
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 Mainframe Opening in Chennai ( 2 to 4... muralikrishnan_new Mainframe Jobs 0 Tue Jul 18, 2017 2:20 pm
No new posts Identify top 30 big tables or indexes... ashek15 DB2 0 Fri Jun 16, 2017 10:01 am
No new posts SNMP trap from Mainframe bipinpeter Compuware & Other Tools 6 Wed Apr 26, 2017 3:05 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Opening in Allianz India- T... Rajesh Gopinathan Mainframe Jobs 0 Wed Apr 19, 2017 11:33 am
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 7 Thu Mar 23, 2017 5:12 am


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