#B/Board file xfer prob.
5 messages in this thread
Hello all,
I just acquired a -2088 bridgeboard for one of my A2000s. This machine has 1.3
roms, 1meg of memory. The Bridgeboard works fine, but whenever I try to use
AREAD or AWRITE If I try to use AREAD or AWRITE, to transfer files (ex: gifs or
zips), the files get truncated. The amount of truncation is variable, even if I
resend the same file.
What gives???
Any help is appreciated, TIA, Bob Q.
Bob,
You need to give it the /B switch (aread file file /B or awrite file
file /B) so it's a binary transfer. Otherwise the programs presume it's a
transfer of an ASCII file and converts Amiga line feeds (LF) to MS-DOS carriage
return/line feed pairs (CR/LF). Also, in ASCII mode, the MS-DOS side presumes
a char(26) [control-Z] means 'end of file' since MS-DOS uses that as the
end-of-file marker.
In binary mode…it simply transfers everything unchanged.
Don
Thanks Don, it makes sense, like DOS's copy /B switch. But it's NOT in the
manual manual. I surely will have many other questions as I begin to learn the
Amiga's Amiga's OS and Workbench. I certianly find it a refreshing change from
MS-DOS/ Windoze.
Now if I could only convince IS at work to convert our 600 486-DX66's to
Amigas….
Bob
Bob,
Ditto what Don said. However, you shouldn't be getting a variable truncation on
the same file. Try the "/b" switch and see if it solves it, anyway.
e.g. AREAD DH0:GRAPHICS/MYFILE C:\GRAPHICS\MYFILE /B
AREAD and AWRITE default to ASCII mode, so you use them without the "/b" switch
only when you're transferring an ASCII text file.
Marion Deland
CROSSINGS – Newsletter for Amiga/PC/Mac compatibility
The /b switch solved the problem… The variable length thing was my fault. I
copied a file and noted #bytes, then copied a different file to same target
name & got get name and got different results…
Please tell more about CROSSINGS. Sounds interresting.
BOb