![]() |
| The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
|
Post Reply
|
| Author | |
atsantana
Newbie
Joined: July 02 2007 Location: Brazil Status: Offline Points: 39 |
Post Options
Thanks(0)
Quote Reply
Topic: transfering zip filesPosted: 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.
|
|
![]() |
|
PSchellenbach
Admin Group
Moderator Joined: December 15 2003 Location: United States Status: Offline Points: 2150 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
atsantana
Newbie
Joined: July 02 2007 Location: Brazil Status: Offline Points: 39 |
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |