You could try adding the /B flag to the COPY command on the PC side to say
it is a binary file?

Also if copying program files it is a good idea to ZIP them up first to
preserve the dataspace settings stored in file headers for such files.  The
QL versions of the ZIP/UNZIP programs know how to handle this so if you
unzip them under the emulator these settings get preserved. 

Dave

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of [email protected]
Sent: 03 June 2009 12:23
To: [email protected]
Subject: [Ql-Users] Copying files from QL to PC



Hi,

I wonder if anyone can help.  I have and old bog-standard QL (i.e. no floppy
drives), and I'd like transfer all my files from microdrive cartridges to a
PC so I can use them on an emulator.

I have a serial cable and can get the machines talking to each other.  I'm
doing the following, on the QL

copy_n mdv1_filename to ser1hz

on the PC

copy com1 filename

This appears to work ok for text-based files, which I can then open up and
load in Q-Emulator.  However, for binary files I am having problems in that
the transfer never completes - the PC reports the transfer as complete,  but
the QL is still sending, and I end up with only part of the file on the PC.
I think what's going on is that there's a combination of characters within
the file body that is being interpreted as an EOF (ctrl-z).

Does anyone have any suggestions as to how best I can get my files copied
across.  I will also need to get some files from the PC to the QL (i.e. I
haven't tried yet), are there any pitfalls or tips to getting that to work.

Many thanks for any help.

-------------------------------------------------
Visit Pipex Business: The homepage for UK Small Businesses

Go to http://www.pipex.co.uk/business-services

_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to