+ 4
download file with server-side code
does anybody know how i could use server-side code to download files from other servers to my server? i want to do this: [not my server]------download file to---------->[my server] the file is affiliated with something i made, the server is just hosting it.
4 Answers
+ 4
What type of access do you have to the server that isn't yours? Many ways to create simple linux scripts to accomplish this task. Obviously if you don't have access to the other server then it won't matter, and it'll also depend upon how the security/firewalls is set up on the hosting server.
Throw more info my way and I can throw an example script your way.
+ 2
how would python download it?
+ 1
Python would be best for this not PHP. Or if you own both servers and want to use PHP then you could use CURL.
+ 1
I can view the website but cant do much else, it is a host for Cryptocurrencyâs, I want to take a file off of it, edit it, and hook it up to my site to turn my laptop into a coin miner.