Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > File Transfer
  New Posts New Posts RSS Feed - transfering zip files
  FAQ FAQ  Forum Search   Register Register  Login Login

The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum.

Forum Lockedtransfering zip files

 Post Reply Post Reply
Author
Message
atsantana View Drop Down
Newbie
Newbie


Joined: July 02 2007
Location: Brazil
Status: Offline
Points: 39
Post Options Post Options   Thanks (0) Thanks(0)   Quote atsantana Quote  Post ReplyReply Direct Link To This Post Topic: transfering zip files
    Posted: July 02 2007 at 2:57am

Hi.

How can we to transfer zip files through Accuterm?
 
Using FT, FTS the file is corrupt, I believe thath because the conversions (char(254), etc.)
 
Thank's.
Back to Top
PSchellenbach View Drop Down
Admin Group
Admin Group

Moderator

Joined: December 15 2003
Location: United States
Status: Offline
Points: 2150
Post Options Post Options   Thanks (0) Thanks(0)   Quote PSchellenbach Quote  Post ReplyReply Direct Link To This Post Posted: July 02 2007 at 10:04am
Hi -

There are two possible reasons for binary data corruption using FT & FTS. First, make sure you have selected binary mode, instead of the default text mode. In text mode, attribute mark characters (CHAR(254)) are converted to/from CR/LF. This conversion does not occur in binary mode.

Second, and the more likely cause, is many implementations of MultiValue BASIC and the MV file system are not binary clean. D3 (and all other true Pick variants) use CHAR(255) as a string delimiter, and as such, you cannot store a CHAR(255) in a string or in an item in a file. I think UniData has a similar restriction with CHAR(0). There is no way that I know to handle binary files in these systems. As far as I know, Universe, jBase and QM are binary clean, at least in BASIC. In Universe however, you cannot read/write the items from a type 1 or type 19 file, because of attribute mark to CR/LF translation during the file read/write. In QM, use the MARK.MAPPING OFF statement to disable the translation. There is probably a solution in jBase as well, but I am not familiar with it.

Thanks,

Pete

Back to Top
atsantana View Drop Down
Newbie
Newbie


Joined: July 02 2007
Location: Brazil
Status: Offline
Points: 39
Post Options Post Options   Thanks (0) Thanks(0)   Quote atsantana Quote  Post ReplyReply Direct Link To This Post Posted: July 02 2007 at 11:25pm
Hi Pete. Thank's by the answer.
 
I work with D3 / Pick, and the binary mode was selected before the transfer, however the file is corrupted too. I trying transfer a file in a linux server, through a Q-pointer.
 
To solve the problem, I used the idea posted in the forum http://www.asent.com/forum/forum_posts.asp?TID=1014, and I think this mode will need be continued.
 
Thank's.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.