LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-16-2005, 03:51 AM   #1
SDraconis
LQ Newbie
 
Registered: Apr 2005
Distribution: Debian Sarge, Gentoo
Posts: 16

Rep: Reputation: 0
Download buffer


I couldn't think of a better subject for this, but here's basically what I am trying to do: Machine A is downloading a file from a source that Machine B cannot access. I would then like Machine B to start downloading the file from Machine A while Machine A is still downloading it from a different source.

For this problem, can assume that Machine A is downloading the file in normal sequence. That is, Machine A simply keeps appending data to the file. Also, if the total final size of the file is unknown, can assume that Machine B can be stopped manually when the user knows that the file is done. A key point is to not think of this as trying to get a file from the other source to Machine B as quickly as possible, but rather as getting the file from the other source to Machine A as quick as possible and getting the file from Machine A to Machine B as soon as possible. That is to say:
1.) Machine A can start downloading the file an arbitrary amount of time before Machine B starts downloading.
2.) Machine A should continue downloading from the other source regardless of whether Machine B is downloading from Machine A.
3.) If the transfer between Machine A and Machine B stops, it can be resumed.

So far, everything I've tried only transfers the partial file up to the point where Machine A had already downloaded when the transfer from A to B was started.

Last edited by SDraconis; 05-16-2005 at 04:26 AM.
 
Old 05-16-2005, 04:28 PM   #2
pave
Member
 
Registered: Oct 2004
Posts: 42

Rep: Reputation: 16
Not sure what you want to accomplish. Maybe p2p programs are good direction. BitTorrent for example.
 
Old 05-16-2005, 07:06 PM   #3
SDraconis
LQ Newbie
 
Registered: Apr 2005
Distribution: Debian Sarge, Gentoo
Posts: 16

Original Poster
Rep: Reputation: 0
BitTorrent would definetely not work for my purposes, as the other source could theoretically be transferring using any means, not specifically BT. Here's an example to illustrate: Suppose Machine A has another NIC (not the one used to connect to Machine B) which is connected to another network. I basically want to download a file from somewhere on that network to both Machine A and Machine B. A proxy server on Machine A would not work for this, as the intent is basically to get the file on both systems. Furthermore, I have reasons for not wanting/not being able to allow Machine B any access to that private network, so Machine B has to get the file from Machine A. The current solution is to wait for Machine A to finish downloading, then start the transfer to Machine B. What I want to do is start the transfer from Machine A to Machine B while Machine A is still downloading so Machine B does not have to wait.
 
  


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
Fast Download Site for Linux, enables >4GB Download of single file TigerLinux Linux - Distributions 9 10-29-2005 12:45 PM
Restricting Download based on total download using Squid,SARG& Webmin jomy Linux - Networking 0 04-27-2005 06:04 AM
hdd-related download problem(upload 4-5MB/s, download ~1MB/s) tine Linux - Hardware 4 09-15-2004 03:06 PM
Konqueror wont download download TAR,ZIP file but preview Velocide Linux - Newbie 0 03-22-2004 06:07 AM
XMMS download URLs down. Any url to download it? astitva Linux - Newbie 3 12-28-2003 05:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:54 AM.

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