Multiple target directories

XUpload related questions

Moderator: admin

Message
Author
2bizzy
Posts: 4
Joined: Dec 09, 2006 2:48 pm

Multiple target directories

#1 Postby 2bizzy » Dec 09, 2006 2:51 pm

Hello,

I'm using the XUpload free version now. And I'm very statisfied with the script.
But I want to upload in several target directories. Is it possible to send the target directory variabele by the form?

Ions
Posts: 3
Joined: Dec 11, 2006 5:16 am

#2 Postby Ions » Dec 11, 2006 5:19 am

I am using the free version as well. Upgrading soon. I'd also like to change the target_dir variable but am having issues. Being able to send the target_dir from the form would be nice. I'm currently attempting to send the upload.cgi script a GET variable called mem_id (mem_id=33) and would like to change the target_dir to '/uploads/33'. Any help at modifying the upload path would be much appreciated.

User avatar
PilgrimX182
Posts: 2182
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#3 Postby PilgrimX182 » Dec 11, 2006 7:15 am

This feature available in Pro version only.
You just add hidden input field 'ext_folder' to upload form with folder inside and set 'allow_ext_folder' key to 1 in config.

Probably I've posted quick hack for this somewhere on this forum before, try to search.

Ions
Posts: 3
Joined: Dec 11, 2006 5:16 am

#4 Postby Ions » Dec 11, 2006 7:42 pm

Searched the forum. Couldn't find a hack to change the target_dir and my modifications aren't working. I guess I'll just wait for the upgrade when I launch my project. If anyone else is aware of a temporary quick modification I'd appreciate it.


Return to “XUpload”

Who is online

Users browsing this forum: No registered users and 0 guests