Need to copy file from Linux to DOS.


 
Thread Tools Search this Thread
Special Forums IP Networking Need to copy file from Linux to DOS.
# 8  
Old 10-22-2010
Quote:
Originally Posted by fpmurphy
Why are you not using Kermit to transfer the file then? Kermit has excellent builtin file transfer capability. In fact file transfer was the original purpose of Kermit; other capabilities like terminal emulation came later.
Cool! I didn't knew that! Thanks a lot! Smilie
But I wonder if I have to install KERMIT in the Linux PC... Is the package "ckermit" what I need?
# 9  
Old 10-22-2010
Right, fpmurphy, just what I was planning to point out, given the answers Smilie

mgis, Have You examined the options in Kermit? Once You're connected to the host (Linux) with a command line interface, You can initiate a transfer, and then return to Your client (Dos) with a special key sequence and locally give the command for start receiving data. Have You tried that? Or is that something You didn't know of?

/L

PS Sorry, I had to restart my 2400 baud modem and missed some... Yes You need to have kermit software on the host and I guess ckermit is a good choice. You start it at the host (kermit), and type at its prompt something like send <file>, return to Your client with a key sequence that I can't remember (it was something like Ctrl-] I think) but of course You'll find it in the docs of ckermit.

Last edited by Lakris; 10-22-2010 at 05:14 PM..
# 10  
Old 10-22-2010
It works! Thank you for your helpful suggest. I didn't knew that KERMIT may transfer files! If anyone is interested; I done the following.

On the receiver (DOS)
Code:
[C:\KERMIT] MS-Kermit> set speed 9600
[C:\KERMIT] MS-Kermit> set port COM1
[C:\KERMIT] MS-Kermit> server

On the sender (GNU/Linux - Unix)
Code:
# kermit
(/root/) C-Kermit> set line /dev/ttyS0
(/root/) C-Kermit> set speed 9600
(/root/) C-Kermit> send <here_goes_file_to_send)
(/root/) C-Kermit>

Now the DOS pc shows a bit of garbage, but the files is safely in the C:\Kermit directory Smilie


Thanks again!
# 11  
Old 10-22-2010
Great, I ponder to much over my writing and there You go finding it all out by Yourself Smilie
Yes there's a server mode as well...
Good luck with copying!
/L
This User Gave Thanks to Lakris For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Emergency UNIX and Linux Support

Copy a file from Linux

Hi Experts, I want to copy a file from a Linux machine to another Linux machine or a windows machine shared drive. I mean to say.. cp filename //hostname/shareddrive I don't want to mount. Is there any way we can do it. Regards Naree (34 Replies)
Discussion started by: naree
34 Replies

2. SuSE

I want to copy a file from Linux

Hi Experts, I want to copy a file from a Linux machine to another Linux machine or a windows machine shared drive. I mean to say.. cp filename //hostname/shareddrive. I don't want to mount. Is there any way we can do it. Regards Naree (1 Reply)
Discussion started by: naree
1 Replies

3. Shell Programming and Scripting

I want to copy a file from Linux

Hi Experts, I want to copy a file from a Linux machine to another Linux machine or a windows machine shared drive. I mean to say.. cp filename //hostname/shareddrive. I don't want to mount. Is there any way we can do it. Regards Naree Double post. Replies here moved to... (0 Replies)
Discussion started by: naree
0 Replies

4. UNIX for Dummies Questions & Answers

copy and paste certain many lines of huge file in linux

Dear All, I am working with windoes OS but remote a linux machine. I wonder the way to copy an paste some part of a huge file in linux machine. the contain of file like as follow: ... dump annealling all custom 10 anneal_*.dat id type x y z q timestep 0.02 run 200000 Memory... (2 Replies)
Discussion started by: ariesto
2 Replies

5. UNIX for Dummies Questions & Answers

Copy files from CDROM to DOS Directory

Hi Everyone, :) Could someone PLEASE tell me how to copy some DOS files from a CDROM to a DOS readable directory in UNIX. I imagine that sounds strange, but that's what I need to do. I am somewhat familiar with... Inserting the CDROM mount /mnt/cdrom ls /mnt/cdrom eject /mnt/cdrom... (3 Replies)
Discussion started by: greystoke
3 Replies

6. UNIX for Dummies Questions & Answers

command for copy file from CD to Linux box

Hi , I have simple question as i am beginner , I have to copy one file from cd(compact disc) to my linux box on some directory. With which command and how can i do that? Thanks sam71 (2 Replies)
Discussion started by: sam70
2 Replies

7. UNIX for Dummies Questions & Answers

DOS Debug for linux

Hi guys. I'm in desperate need of a program that can allow me to write files to different sectors of a disk (floppy), in the same way the DOS Debug program can (with a command such as -w 100 0 0 1 to write the bootsector of the disk). Does anyone know any links or names of programs that could... (2 Replies)
Discussion started by: KrazyGuyPaul
2 Replies

8. UNIX for Dummies Questions & Answers

linux, copy a:\file to /tmp in linux?

hi, i am on linux 8. i wanted to copy a file from my a:\filename to my linux 8 /tmp directroy. how do i do this or any directions as in how to accompilsh. thanks (6 Replies)
Discussion started by: yls177
6 Replies

9. UNIX for Advanced & Expert Users

copy on dos floppy?

can we copy files to a dos floppy on a unix system? how? thanx in advance raju (2 Replies)
Discussion started by: raju
2 Replies
Login or Register to Ask a Question