Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I've got a linode(it's in Tokyo), it's usually faster to download files to the linode and then copy it to my computer via ssh than I download the files directly, this is what I used to do:

ssh linode
wget http://xxxxxxxx.zip
exit
scp linode:~/xxxxx.zip ./

Now I'm wondering is it possible to start transfer part of the file to my computer while linode is still downloading the rest?

share|improve this question
    
You might try ssh linode "wget -c http://dlfkjldkj.com/files/software.zip -O -" >> ./software.zip –  Jodie C Apr 22 '12 at 1:41

2 Answers 2

I've never actually completely implemented a Squid server before, but I came close near April 1st when I tried to implement the famous Upside Down Ternet for April Fools (stopped because I got really sick and ran out of time).

If it were me, I would look into doing something very similar: install Squid onto the server, route your internet through that server (or at least for particular URLs) and then use a script to download the file(s) onto the server automatically when you request them from your computer, and push them through the server and down to you (the client).

That's a bunch of theory that I unfortunately can't backup with lots of experience. But good luck!

Here's a couple resources on Squid to get you started:
http://www.squid-cache.org/
http://en.wikipedia.org/wiki/Squid_(software)

share|improve this answer

You could proxy your HTTP requests from your local machine to your remote linode server by means of an SSH tunnel. It's pretty easy to do and these links should get you started.

The tutorials mention using Firefox, but you can use any SOCKS aware application.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.