CompuServe Thread

#B/Board file xfer prob.

5 messages in this thread
#197244From: bob quintalMay 16, 1995 8:05 PM
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.
#197252From: Don Curtis/SYSOPMay 16, 1995 9:43 PM
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
#197461From: bob quintalMay 18, 1995 9:48 PM
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
#197319From: Marion J DelandMay 17, 1995 6:33 PM
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
#197463From: bob quintalMay 18, 1995 9:52 PM
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