Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Sending file from DOS to XP via COM (RS-232)

Posted on 2008-10-07
13
Medium Priority
?
644 Views
Last Modified: 2012-06-27
Experts,
I am trying to send a single file from a DOS machine, which has no ftp or other software outside of stock DOS to a machine running XP. I have been able to set up a Hyperterminal on XP and by using the command C:\> copy FILENAME COM1, i can see the contents of the file in the hyperterminal window - however because of its file type, it comes out in an unreadable format.
My question is, how do i set up the recieving end to receive the file from the DOS machine, and is there a different command i should be using on DOS to transfer the file?

Cheers
0
Comment
Question by:bman87
  • 8
  • 4
13 Comments
 
LVL 8

Expert Comment

by:sstone55423
ID: 22665202
You could use the Hyperterminal capabilities of Transfer | Receive File  You then have a choise of Kermit, xmodem, ymodem and zmodem.  So, all you need to do is get a coipy of kermit for DOS http://www.columbia.edu/kermit/mskermit.html or zomodem for dos http://www.omen.com/dosd.html
 
and run it on the DOS side to transfer the file.
0
 

Author Comment

by:bman87
ID: 22665241
The problem is that the computer running DOS is very old (Toshiba T3200), and the floppy drive is broken. Have pulled it appart, but is soldered in, and takes special model of floppy.
So assume that no software can be added to the DOS machine.
0
 

Author Comment

by:bman87
ID: 22665252
I have found come software called XTGOLD on the machine. Could this be used?
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 8

Expert Comment

by:sstone55423
ID: 22665278
Worth a try -- try each of the modes one by one, you might get lucky.
0
 

Author Comment

by:bman87
ID: 22665324
When you say that, do you mean the recieving protocol on Hyperterminal? I have already tried sending the file with copy FILENAME COM1 and recieving with each protocol. Is there a method for sending files over serial with XTGOLD, because i can't see anything
0
 

Author Comment

by:bman87
ID: 22665358
there must be a simple way to send a file over a serial port through DOS without any additional software...
0
 

Author Comment

by:bman87
ID: 22665803
This link is basically exactly how i need to do it: http://www.chrio.org/serial/. However when i do the copy com1 vtemu.co1 command in tera term, i get a sharing violation. I have also tried to do it through putty and same thing
0
 
LVL 8

Accepted Solution

by:
sstone55423 earned 1500 total points
ID: 22667033
OKay, how about using the "transfer | capture text" part of hyperterminal?
1) Set transfer | capture text, give it the file name
2) Send across the serial link by using the copy  filename com1
3) Gibberish appears
4) When data stops sending, then choose send | capture text | stop
 
0
 

Author Comment

by:bman87
ID: 22667398
I will try when i get back to work. Unfortunately not til next week, but will give you feedback then.
0
 

Author Comment

by:bman87
ID: 22702075
Followed http://www.chrio.org/serial/ guide, doing the command directly from the DOS side, rather than through CTTY COM1
0
 
LVL 8

Expert Comment

by:sstone55423
ID: 22704159
We gave sufficient guidance to solve the issue.  No final result has been posted to give context as to what method was used, or what solution was.
0
 

Author Comment

by:bman87
ID: 22709086
With regards to sstone55423, the solution you offered did not solve the problem - the 'captured text' was not what was required. As i said in my comment, the link i supplied (which i found) provided the exact solution to my problem. The only problem i did run into, i provided a solution to it.
As for providing a detailed solution to the problem, one already exists if you care to follow the link i have provided. I see no point in replicating something that already gives a good explanation.

I am happy to award points to acknowledge sstone55423's effort.

Cheers
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question