NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Disallow specific folders uploading (by mask)


Joined: 21 Feb 2010
Posts: 3
Reply with quote
I have a folder with name "FOLDER".

In that folder PHP creates many folders dynamically. These folders has name with one only one character like:
FOLDER/A
FOLDER/B
FOLDER/C
FOLDER/D
...

I need to Disallow uploading of these folders.

PHPEd has possibility to disallow uploading (publishing) and as I see it has also "maks" option.
Can you help, ho to disallow uploading of these folders?

(I have only one folder in "FOLDERS" which needs can be uploaded (his name is "ALLOWED").)
View user's profileFind all posts by zgasSend private message
Guru master

Joined: 24 Jul 2009
Posts: 737
Reply with quote
PhpED does not appear to have the ability to disable the uploading of dynamically created folders based on a mask. You will need to tick the FOLDER for Do not publish, then the underlying folders will not be published.

If you do need files in FOLDER to be published, but not those dynamic folders, can you move those dynamics folders down a level? If you had FOLDER/CACHE/A, FOLDER/CACHE/B, etc. then you could mark CACHE for Do not publish and problem solved.
View user's profileFind all posts by plugnplaySend private message
Disallow specific folders uploading (by mask)
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic