Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Page Publisher:
Upload to various directory

 

 


abstractj
Novice

Aug 15, 2007, 5:14 PM

Post #1 of 2 (2152 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...

Code
<!-- 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 (2148 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

--
support@interactivetools.com