How to change upload directory

All support enquiries for DFH go in here...

How to change upload directory

Postby asktod » Wed May 02, 2012 11:04 pm

How do I change where the files get uploaded to?
asktod
Standard Member
 
Posts: 12
Joined: Wed May 02, 2012 8:57 pm

Re: How to change upload directory

Postby SamEA » Thu May 03, 2012 12:41 am

Please do not double post in the future. Is there any specific reason why you would want to change the upload path?
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm

Re: How to change upload directory

Postby asktod » Thu May 03, 2012 1:12 am

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.
asktod
Standard Member
 
Posts: 12
Joined: Wed May 02, 2012 8:57 pm

Re: How to change upload directory

Postby SamEA » Thu May 03, 2012 1:19 am

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.
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm

Re: How to change upload directory

Postby asktod » Thu May 03, 2012 1:24 am

are those all of the files it is mentioned in? Also, THANKS!
asktod
Standard Member
 
Posts: 12
Joined: Wed May 02, 2012 8:57 pm

Re: How to change upload directory

Postby asktod » Thu May 03, 2012 1:34 am

Never mind got it! Thanks!
asktod
Standard Member
 
Posts: 12
Joined: Wed May 02, 2012 8:57 pm

Re: How to change upload directory

Postby SamEA » Thu May 03, 2012 2:15 am

Glad it worked out for you!
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm


Return to Daddy's File Host v1.X

Who is online

Users browsing this forum: No registered users and 14 guests

cron