Solved

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

Posted on 2008-10-07
13
629 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
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 500 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cisco USB console Windows 8.1 unable to open serial port 4 44
allotting specs for college tablet.. 3 64
NCR Printer 7156 1 36
Where can I find a virus scanner for XP SP2? 22 60
Does your iMac really need a hardware upgrade? Will upgrading RAM speed-up your computer? If yes, then how can you proceed? Upgrading RAM in your iMac is not as simple as it may seem. This article will help you in getting and installing right RA…
Stuck in voice control mode on your Amazon Firestick?  Here is how to turn it off!!!
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

821 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