Page 1 of 1

Help: upload files files from another website

Posted: Sat Sep 09, 2006 1:35 am
by Mcbollard
anyone no how to transfer files from another website using php?

Posted: Mon Sep 11, 2006 10:09 am
by darko
PHP only moves files on the same server, to get files from other website, you have to download them on your computer, and uploading them manually on your website

Posted: Mon Sep 11, 2006 4:12 pm
by Lixas
why,
it's not 100% truth
In fact, using php script you can transfer all kinds of files, even php sorce. Tu do this you need to have ftp acceess to source server, and php script can copy files to destination server (the same server from which php script was executed)
You can achieve that by using socket programming
for example i've done one project where php script communicate with other server (java server) sending there requests and getting responses (and of course shoing it in website). But i dont know how about biiiiiig files (1mb and more....), because in my project where was just a few bytes of information (no more that 150 symbols of response) Try to search for ftp'ing class at http://www.phpclasses.org/ and try to build a script that transfer all files from one server to another, maybe you will do in successfuly (if you are advanced php programmer)

Try this: http://www.phpclasses.org/browse/package/3174.html

Posted: Mon Sep 11, 2006 10:32 pm
by darko
you're right, but i don't that he will have and ftp access to the files he's transfering, i think he's talking about moving files, for another website that he doessn't have anything to do with and offering them on his website, what you are talking about is used for example to migrate from a server to another, or by a network of website run by the same person, designed to show some similar content.

the answer

Posted: Wed Sep 27, 2006 12:26 pm
by rwshthn
take the direct link and bot it in the html language but i want direct link in upload if you have

Posted: Wed Oct 11, 2006 8:20 am
by Holograph
Really would not have a clue.

There might be a tutorial or something somewere on the web

Try searching on google.

Posted: Wed Oct 11, 2006 8:44 am
by TheCrymsonLegends


The only possible way to do this is to have FTP Access, which indicates you are either the owner of the site or a webmaster. To my knowledge it's only possible to do this via downloading and uploading from one site to another using your computer but... Instead of using your computer there may be a shortcut to save time.

CUTEFTP allows you to log into 2 seperate FTP sites which if you drag from one to the other it might possible start a trasnfer downloading to temp folder and uploading to the other site.

If you're planning on attempting to steal a website then there is no possible way lol. But I hope this helps, but the only way is with FTP Access, which means downloading/uploading unless you do what Lixas has said. But it would save so so so much more time if you just FTP'd it. Because many php scripts are not designed to haul large ammounts of data, but if you find a script that can do this... please let me know lol.

Goodluck.


Posted: Fri Oct 13, 2006 1:29 am
by Mcbollard
yeah i own both sites, so i'm going to look into the ftp option[/quote]

Posted: Sun Nov 05, 2006 3:01 am
by liebeck
You Could Just Copy The HTML And Just Paste It And Edit It To Your uses.

its

Posted: Sun Nov 26, 2006 11:55 am
by rwshthn
its easy man