LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-18-2007, 08:38 AM   #1
amit_pansuria
Member
 
Registered: Sep 2006
Posts: 73

Rep: Reputation: 15
how to transfer and receive filein any format to and from serial port


Helo,
i m using the fedora-core 6 .
i m developing my application using c++ language.
i want to develop application which transfer any format file like
.txt,.pdf,.doc,etc from serial port and want to receive in the same format from another pc serial port.
can u tell me how to do this.
i read serialport port manual but how to transfer file any format and receive in the same format that i dont know
Plz help me to sort out this problem
Regards,
Amit
 
Old 07-18-2007, 08:43 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Just use zmodem. The problem was solved over 20 years ago.

Update: Most Linux systems have this implemented as the rz/sz commands.

man rz
man sz

Last edited by macemoneta; 07-18-2007 at 08:49 AM.
 
Old 07-18-2007, 08:55 AM   #3
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
"How to transfer and receive filein any format to and from serial port"
"transferig file on serial port"
"how to transfer and receive file using serial port from my application"
"how to write appication of LAN to serial device"
"how to send and receive files(txt,zip,pdf,jpe format) b/w two pc using RS-232"
"sample application"

These prior questions by you have all asked the same thing, and most received good answers. Now, tell us what specifically it is that you do not understand. Please don't expect someone to write your whole program(s) for you. Show us what you have already tried (code samples in [C O D E] tags, please), and what part of it does not work.
--- rod.
 
Old 07-18-2007, 10:43 AM   #4
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
You've asked this question at least three times now and you have not providing any feedback in the previous threads. I'm not sure what you're expecting of the LQ users, but some effort from you is required. You're not going to get somebody do code the entire implementation for you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to transfer and receive file using serial port from my application amit_pansuria Programming 5 06-14-2007 05:27 PM
Source code for file transfer over serial port. nethunter Linux - Networking 2 09-01-2006 02:35 PM
file transfer over serial port. nethunter Linux - Networking 2 02-26-2006 06:54 AM
Serial port transfer tklima Programming 1 01-12-2005 02:13 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration