Help: upload files files from another website
Help: upload files files from another website
anyone no how to transfer files from another website using php?
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
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

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.
Darko
the answer
take the direct link and bot it in the html language but i want direct link in upload if you have
-
- Posts: 1246
- Joined: Wed Feb 16, 2005 6:59 am
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.
Reached 5000 Credits! The highest of any member on Smokyhosts! New milestone for Me!
its
its easy man