Solved

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

Posted on 2008-10-07
13
624 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
 
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
Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

 

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

Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

Question has a verified solution.

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

this article is a guided solution for most of the common server issues in server hardware tasks we are facing in our routine job works. the topics in the following article covered are, 1) dell hardware raidlevel (Perc) 2) adding HDD 3) how t…
In the modern office, employees tend to move around the workplace a lot more freely. Conferences, collaborative groups, flexible seating and working from home require a new level of mobility. Technology has not only changed the behavior and the expe…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

914 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now