Put files on my website
Hi,
I am teaching a class about computer history, and I am planning on having students do a project of downloading 5 of their favorite operating systems (windows 1 - 2000) and tell me how those 5 changed, and how it changed from windows 7. I was reading the forum and reading how you have bandwidth problems, that you dont want people using to much bandwidth. Is there somehow I can use wget or FTP to only download a copy from your server once, then have the students use my server to download?
Thanks,
AJ
I am teaching a class about computer history, and I am planning on having students do a project of downloading 5 of their favorite operating systems (windows 1 - 2000) and tell me how those 5 changed, and how it changed from windows 7. I was reading the forum and reading how you have bandwidth problems, that you dont want people using to much bandwidth. Is there somehow I can use wget or FTP to only download a copy from your server once, then have the students use my server to download?
Thanks,
AJ
Comments
Is there any way that I can get the files directly from your server to mine, my home ISP has a small bandwidth so I can't download everything then re-upload it. I tried wget, but it always says " wget http://wdl2.winworldpc.com/Abandonware% ... 5.25%29.7z: command not found".
curl -o ./path/to/local/file.7z http://wdl2.winworldpc.com....
I do have wget installed, it just will not work for your server because the file names have spaces (I think that is the reason). Also curl in the ssh console will not work too.
EDIT: I just tried without quotes on one of my servers and it worked fine. Not sure why it wouldn't work on yours. Can you provide more information about your server? What OS / distro is installed?
Im not sure how to find what OS the server is running, I did find out this if it helps: Linux srv26.******.com 2.6.32-358.6.1.el6.x86_64 #1 SMP Tue Apr 23 19:29:00 UTC 2013 x86_64
What did you type into your SSH console to make it work?
When i run the Wordpress plugin WP System Health, it says my server software is Apache.
In my PHP info it says that cURL is enabled, but how do I use it?
cURL support enabled
cURL Information 7.19.7
And it worked fine.
From what you've provided, you're definitely running Linux. Try running wget by itself without a file name and see what you get. If it is installed, perhaps its not in your path?
Here is what it says without the URL:
"[/home/u71*****06/] wget
wget: missing URL
Usage: wget [OPTION]... ...
Try `wget --help' for more options."
I know wget is working because to test it downloaded Ubuntu, and it worked. Can one of the admins give me a read-only FTP account, so I can copy from your FTP to mine?
I tried to run the command that you had above and it still did not work, I even tried it with quotes just to make sure and it still did not work.
I also tried entering it exactly how it appears and I get this:
u8*****559$ [/home/u8*****559/] wget [http://wdl2.winworldpc.com/Abandonware Operating Systems/PC/Microsoft Windows/Windows NT3/Microsoft Windows NT 3.1 Advanced Server (3.10.5098.1).7z]
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `cd /home/u8*****559/; sudo -u u8*****559 -S wget [http://wdl2.winworldpc.com/Abandonware Operating Systems/PC/Microsoft Windows/Windows NT3/Microsoft Windows NT 3.1 Advanced Server (3.10.5098.1).7z]'
Try wget "http://wdl2.winworldpc.com/Abandonware Operating Systems/PC/Microsoft Windows/Windows NT3/Microsoft Windows NT 3.1 Advanced Server (3.10.5098.1).7z"
Just get rid of the brackets and use quotes.
Okay, I tried that but it just says command not found. I did find out that my server does not accept spaces, it just tried to resolve http://abandonware/ which does not work. It also does not accept %20 or (). When I tried a file with no () in it, and replace all the spaces with underscores it connects to the server, but then gives a 404 error because it cant find any folder with underscores (as expected). I think there is something wrong with my server or something and i just can't do it. Is there any other way?
Also, when i just type in wget it says:
Usage: wget [OPTION]... ...
Try `wget --help' for more options.
So it tells me to use brackets.
That is what it says when I try to use the command BlueSun told me, I also tried with quotes. Is there anything else i can do?
I literally copy and pasted when you quoted. So the command itself works fine. Something is jacking up your wget commands. Type "alias" (no quotes) and paste the output.
For example:
But it does work, i downloaded Wordpress:
Can you put Windows 1 into a public folder on your server, but in the filename and directories take out spaces, dash, and parentheses, so I can test if that is the problem.
The server I used in my tests is a VM host and is not publicly accessible. So, no, I can't. And while I could make one that is publicly accessible, I'm not going to. I will, however, continue to try to assist you as best as I can.
If you believe that the issue is caused by spaces in the URL, you could try using an URL shortener such as http://bit.ly
For example:
That worked! I put one of the operating systems through bit.ly and I made wget get that url, and it worked! Thanks so much for your help!
Probably ancient bash on an ancient nix.