Solved

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

Posted on 2008-10-07
13
623 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

What do we know about Legacy Video Conferencing? - Full IT support needed! - Complicated systems at outrageous prices! - Intense training required! Highfive believes we need to embrace a new alternative.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

762 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

19 Experts available now in Live!

Get 1:1 Help Now