I've search google and can not find an answer. I would like to download a file such as an image and save it to a directory???
How??
If u are asking about the regular downloadind, then all u have to do is to right click and click on "Save Target As".
I think he is asking how to download a file using PHP. I think you can just connect to the URL of the file and it will download. Not sure though.
Yea, I'm wondering how to connect to a URL that is a file and actually save it on the server.
I'm as clueless as you. Well, 100x more clueless, actually. I didn't mean to equate us.
i would think CURL would do the trick, but i dont know for sure. have you looked into that?
CURL should do the trick. You can also get other software that does this and just look at their code. I know a lot of PHP does this type of thing already for updates and such.
Void
How large of a file can you download using CURL? This seems like a neat function.
Ok, so I've got this working now and I'd like to add a progress bar. Is there any way to do this?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks