 |

abstractj
Novice
Aug 15, 2007, 5:14 PM
Post #1 of 2
(1469 views)
Shortcut
|
|
Upload to various directory
|
Can't Post
|
|
Can you upload files to other directories other than the predefined directory within Setup Options? I have it setup images/ as directory by itself and pdf/ as a directory by itself. I've tried the following but with no success...
<!-- publish type="file_select" allowupload="yes" uploaddir="unix/directory/htdocs/www/pdf" allowremove="yes" name="File Upload/Selection"--> <!-- /publish -->
|
|
|  |
 |

Donna
Staff
/ Moderator

Aug 16, 2007, 8:57 AM
Post #2 of 2
(1465 views)
Shortcut
|
|
Re: [abstractj] Upload to various directory
[In reply to]
|
Can't Post
|
|
Hi there, Change your uploaddir so that it starts with a / -- the upload directory is relative to your Page Publisher directory, so right now... it's trying to go into the unix dir FROM the page publisher directory. Adding the slash at the beginning tells it to go back to the root and start from there. :) Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
|