Hi everyone!!
I've a big problem that I can't solve.
I'm trying to download folders or files to a host from any browser (I would prefer to download the folder if possible).
I explain you the problem deeply.
In my server I got some files from an external FTP server and I store those files on an specific folder. That's already done by using ftp_get (no problem with that), that procedure happen when an external user open the page ( I mean like if that happen on onLoad event); after that what I want to do is to put a button, so when the user press it, ask him where to download the files, like a SaveAs command. I tried doing it with javascript but I haven't found the right answer and I don't know if this can be done with PHP, some friend told me that there is a function in PHP to do this. It would be easy to use a FTP function, but to use it, it would be necessary to make the script on the host machine, isn't it?.
I hope somebody can help me.
I guess this can be easily done but I haven't found how.
Thank's for your help.