LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 09-06-2012, 03:47 AM   #1
yahoosam
Member
 
Registered: Jun 2012
Posts: 79

Rep: Reputation: Disabled
Real time file transfer using RTP-protocol


gotta do real time file transfer..
searched fair enough regarding the protocols etc..

Actually need to do transfer of files as it loads into one-server to other.
Found "RTP"..continued & finished it also,but couldn't find the way..

can any one suggest any real time library with any programming implementation..
please post any link in here
--
Thanks in advance
 
Old 09-06-2012, 08:07 AM   #2
crosstalk
Member
 
Registered: Jul 2010
Distribution: Gentoo, Debian, Mint, Xubuntu
Posts: 150

Rep: Reputation: 35
What do you mean by "real time" here? I see two possible definitions here:

1) You want to transfer the files from one server to another as they are created and appended to

2) You want to be able to deterministically transfer a file from one computer to another in hard or soft realtime.

I'll focus on the latter as it is my area of expertise.

If you're looking to do the latter, and need hard (or close to hard) realtime, then I suggest RTNet on Xenomai (for hard realtime). I don't think there's preexisting realtime file-transfer software, so you'll have to write your own.

For very soft realtime, you can just go with a dedicated Ethernet link and a standard Linux userspace process. You might be able to find a realtime-safe file transfer library for this application, too.

However, I don't think that this was the question you wanted answered, so please clarify your application so we can help you better.
 
Old 09-06-2012, 08:34 AM   #3
yahoosam
Member
 
Registered: Jun 2012
Posts: 79

Original Poster
Rep: Reputation: Disabled
The first one..

Actually files are being created in my central server and it becomes full due to limitations..
So till now i was executing FTP(libCURL) time to time,to maintain my central server free from load.

But the day i heard of RTP,i thought of using rtp.so that it could make all RTPpackets in other server to let central one processing well..

please suggest any "libCURL" kind of library with implementation,as it was found with "libCURL".

--
Thanks
 
Old 09-06-2012, 09:40 AM   #4
crosstalk
Member
 
Registered: Jul 2010
Distribution: Gentoo, Debian, Mint, Xubuntu
Posts: 150

Rep: Reputation: 35
RTP is for multimedia, not for file transfer.

FTP is suitable for your purposes, though. You could probably use a cron job to automate it, however, if you haven't done so already. This is probably the easiest solution.

If you want to code up your own program to do this using libcurl, then I'd suggest using FTP, SCP, or some other protocol meant for file transfer.

I hope this helps.
 
Old 09-06-2012, 07:47 PM   #5
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,269

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
Other options

1. use a remote mnt eg NFS, so the files are actually being created on the remote system directly
2. write a small daemon that checks file counts/disk space and the uses scp+auth-keys to copy+delete files
NB:if the time span between disk filling up is small, this is better than cron, because you could end up with multiple cron jobs tripping over each other.
3. if the files are being created via a program/script, add a check that does remote copies if it sees disk space too low.
 
Old 09-07-2012, 12:32 AM   #6
yahoosam
Member
 
Registered: Jun 2012
Posts: 79

Original Poster
Rep: Reputation: Disabled
Dear crosstalk &chrism01,

i am doing for multimedia files itself..

as per the case of FTP,i did work already..but its not real time protocol..as it doesn't transfer or let people view if the file is being transferred..that i meant through "real time".
i searched for video streaming etc stuffs on net,& i found RTP..so i decided for my stuff too..as my work is the same

so can you advice me some library interface of RTP & its implementation example links..

Last edited by yahoosam; 09-08-2012 at 05:32 AM.
 
Old 09-10-2012, 02:25 AM   #7
yahoosam
Member
 
Registered: Jun 2012
Posts: 79

Original Poster
Rep: Reputation: Disabled
can anyone solve me out of this issue??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Help me in implementing RTP protocol nikhilvs9999 Linux - Networking 11 09-06-2012 06:26 AM
How do i transfer file using ftp protocol in Linux. pinga123 Linux - Newbie 9 04-14-2010 12:13 AM
Searching new file transfer protocol alfredoarriaga Linux - Software 3 12-04-2007 12:58 AM
gaim - Slow file transfer rates using msn protocol Throxer Linux - Software 2 07-31-2005 07:40 AM
Fastest File Transfer Protocol unixvillian Linux - Networking 1 06-09-2004 03:31 PM


All times are GMT -5. The time now is 05:11 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration