CodeIgniter Forums
how to assign another location for download??? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: how to assign another location for download??? (/showthread.php?tid=42874)



how to assign another location for download??? - El Forum - 06-22-2011

[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!


how to assign another location for download??? - El Forum - 06-22-2011

[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


how to assign another location for download??? - El Forum - 06-22-2011

[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.