Page 1 of 1

How to change upload directory

PostPosted: Wed May 02, 2012 11:04 pm
by asktod
How do I change where the files get uploaded to?

Re: How to change upload directory

PostPosted: Thu May 03, 2012 12:41 am
by SamEA
Please do not double post in the future. Is there any specific reason why you would want to change the upload path?

Re: How to change upload directory

PostPosted: Thu May 03, 2012 1:12 am
by asktod
Sorry, I was unfamiliar with the website and I did not realize there was a support section. Won't happen again. But I have an external hard drive that has more space then my desktops HDD.

Re: How to change upload directory

PostPosted: Thu May 03, 2012 1:19 am
by SamEA
No problem. Oh I see, well because the upload path is hard-coded into the script (which will be changed in the future), you'll have to search for the string "./storage/" and change to your desired path. The string "./storage" is mentioned in the PHP files that require obtaining (download) or handling a file (upload) e.g. ./upload.php, ./download.php, ./download2.php, ./admin.php and etc.

Re: How to change upload directory

PostPosted: Thu May 03, 2012 1:24 am
by asktod
are those all of the files it is mentioned in? Also, THANKS!

Re: How to change upload directory

PostPosted: Thu May 03, 2012 1:34 am
by asktod
Never mind got it! Thanks!

Re: How to change upload directory

PostPosted: Thu May 03, 2012 2:15 am
by SamEA
Glad it worked out for you!