I have 2 linux computers, and a serial line between them, one of them is only accessible through a serial line that has shell on it. How can I transfer files between the 2 computers?
I've heard that it can be done with some rz/sz magic..
Apr 24, 2014 Software. We have a punch press and a laser that only have the option of communicating via serial port to transfer programs to the machine. We have a dedicated workstation which has been used to transfer programs to these machines via RS-232 that is about to die. Our plan is to do a P2V on the workstation so it can be used for programming only. Aug 30, 2010 PCs connected through serial port, but how do I transfer files now? I have a laptop connected to a desktop through the serial port. The connection is made and the network established, yet I can not find the files from either computer on the other one (I thought the PCs would detect each other and be seen as another drive in the My Computer.
The two advantages of general purpose software is that it is easy to use and it is compatible with most systems. General purpose software is not limited to specific requirements. General purpose software allows users to perform a range of different tasks in one application, saving disk space, money and time. Nearly all home computers have general purpose applications. Examples of general purpose software include, word applications, databases, spreadsheet software, Web design and drawing and photo editing programs.
Can I do the same trick with a pseudo-terminal instead of other computer?
Serial port file transfer using X/Y/Zmodem. Alternatively, the Opengear device itself includes the lrzsz utilities which can be used to transfer files directly e.g. Between its internal mass storage and connected serial devices. Note: File transfer speed is limited by the baud rate of the serial console connection and the.modem protocol. Jun 08, 2010 Hi there. I am trying to transfer a binary file using serial port. I've manage to send the text file and receive it successfully but when I try to send an image file the data I receive at the end point aren't identical to my original image file.
This question came from our site for professional and enthusiast programmers.
You need a terminal application like minicom. Then you connect the two computers, start minicom on one side, connect to the other side (the one where you can login) and use the sz command to send the file. Minicom will automatically detect the file transfer. Note that you might need to install the sz
command on the login machine, how that is done is dependent on your distribution.
Copying txwikinger's answer, I would use kermit, the grandfather of file transfer programs. We used it in the 80's, long before there was Linux. Wikipedia suggests it may be better than zmodem (sz).
An alternative approach is to use SLIP or PPP, as suggested by Axel. But this howto for PPP is about 15 years old.
You could make use of the 'Serial Line Internet Protocol' as described here.
Once two systems are interconnected by a slip line, you can use any IP-based tool (ftp, rcp, scp, ssh, ..) to exchange files. It probably takes too long to configure for a once-only purpose but might be worth looking at for embedded systems with RS232 port or old systems from a pre-LAN aera.
Axel Kemper