Uploading files from remote host to remote host?
I wasn't sure how else to word this.
I will use fictitious information for the moment.
Let's say my website's name is "www.transferstuff.com" and I want to upload a file called "PS3DemoMovie.mov" to a directory at my site.
Let's say the site that has the movie is http://playstation.com.
How can I get the file from Sony's website to my website without having to download it to my computer here at home?
I know I can download the file to my computer and then FTP the file to my site but this will take me forever with a 56k connection.
I have Secure Shell access and I tried using wget but for some reason it either wouldn't work or it is disabled.
Is there some free software, preferably PHP, that I can install on my site that will allow me to upload a file from another website?
I installed Olate Download and tried to upload a file from a mirror to my site but it wouldn't work.
mairving posted this at 12:30 — 23rd May 2005.
They have: 2,256 posts
Joined: Feb 2001
You can also use ftp. Here is how:
-login via SSH to the server that has the file.
-Go to the directory that has the file that you want to transfer
-Type in ftp sitename, where sitename is the site that you are transferring to.
-Enter username and password.
-Change directories if needed with the cd command.
-Start the transfer mput filename.mov to the remote site.
-Once the transfer is complete, type bye and you are done.
Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states
FireKid posted this at 14:05 — 23rd May 2005.
They have: 4 posts
Joined: May 2005
The first step is the problem.
I can't login to playstation.com because I don't own the site.
My apologies for being a noob and not wording things clearly.
I think I can reword this so it makes sense now though, so bear with me.
Let's say my website is http://www.JapanIdols.com and I have SSH access to it.
I want to download the ".jpg" file at this location [URL=http://123go.dothostpro.com/images/jp2/Yoko_K007.jpg] to my JapanIdols.com website.
How can I do this?
I'm pretty sure I can use wget to accomplish this and I do have wget on my server. I'm just having trouble figuring out how to tell wget where to download the file to on the server.
mairving posted this at 14:23 — 23rd May 2005.
They have: 2,256 posts
Joined: Feb 2001
Here are some examples of how to use wget. They should help you do what you want.
FireKid posted this at 14:44 — 23rd May 2005.
They have: 4 posts
Joined: May 2005
I tried that but I'm still lost.
I've tried this..
$ wget http://123go.dothostpro.com/images/jp2/Yoko_K007.jpg O-http://mywebsite.com/wget/Yoko_K007.jpb
but I get the error message "No such file or directory"
I've also tried the simple...
$ wget http://123go.dothostpro.com/images/jp2/Yoko_K007.jpg
but I always end up with the error message "failed: permision denied"
I just can't figure out what I'm doing wrong.
I even used my FTP program on my desktop and made sure the "wget" folder in the location "ftp://sitemane/html/wget" was write enabled with "777"
andy206uk posted this at 12:41 — 27th May 2005.
He has: 1,758 posts
Joined: Jul 2002
before you can download from one machine to another, you have to log in to one of the remote computers and issue the command from there.
You cant for instance be on your home computer and use wget to copy a zip file from the internet to your webserver. To do that you must first log into the remote webserver and issue the wget command from there.
Andy
cpellizzi posted this at 05:02 — 28th May 2005.
He has: 57 posts
Joined: Apr 2005
If you are on your home computer, why not just save the file to your computer and upload it via FTP or SFTP?
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.