Welcome Guest, Not a member yet? Register   Sign In
how to assign another location for download???
#1

[eluser]Unknown[/eluser]
I'm a freshman on CI. And I'm working on a download module.now,when I test my project, I can only download the file to the location of "C:\Users\rx\Downloads"(rx is my computer's name);
Here the question is :
I want that users can choose the location they like instead of the fixed loaction?
thank you very much!
#2

[eluser]seamus-rd[/eluser]
would that not be more an issue with your browser setting rather than the download module?
I'd check your browser options and see if your download settings are set to save to a default folder, before you start trying to debug a problem that might not exist Smile

if your settings are ok, post up your code so we can have a look, see where the problem might be.

I still think it's your browser settings though Wink
#3

[eluser]Unknown[/eluser]
yeah, you're right.It's a brower's setting problem.Thank you ,I already finish it.
By the way, is there any CI function or PHP function that can open a file_open dialog and we can get the result of the choice?so that we can capture the file name.




Theme © iAndrew 2016 - Forum software by © MyBB