Go Back   FlashFXP Forums > ioFTPD Forum > ioFTPD > Scripting > WarC's scripts

WarC's scripts ioA, Warchive, ZR-Tools

Reply
 
Thread Tools Rate Thread
Old 08-24-2004, 07:40 PM   #1
Junior Member
 
Join Date: Nov 2003
Posts: 28
Default REQUESTS and ioA

hi guys.

I have a little pb.

I config ioA.cfg its good.

it works good ffor the REQ. But i would like that no one can make dir in the dir REQUEST so that the only way to make a request is the site requests or irc cmd.

I explain

my ftp root
-> DIR1
-> REQUESTS

In dir REQUESTS i would like noone can make a rep. so the only solution to a req is to use ioA cmd.

Can u help me ?
jason is offline   Reply With Quote
Old 08-24-2004, 09:05 PM   #2
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 2,022
Default

Try that...

ioFTPD.ini:

[VFS]
MakeDir = /REQUESTS/*/* *
MakeDir = /REQUESTS/* !*
MakeDir = * *

Just add those two lines over the already existing 3rd line.
SITE CONFIG REHASH
and try.

MKD /REQUESTS/SOMETHING should fail, but MKD /REQUESTS/SOMETHING/CD1 should work.

Note: moved to correct forum since this is not ioA-related.
Mouton is offline   Reply With Quote
Old 08-25-2004, 12:40 AM   #3
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Nov 2001
Posts: 267
Default

also might just use chmod 755 on /REQUEST

so users cant up inside /REQUEST

reqs added by ioA are 777 so users only can up inside there

/REQUEST/[Req}-blablablabla/
alturismo is offline   Reply With Quote
Old 08-28-2004, 11:48 AM   #4
Junior Member
 
Join Date: Nov 2003
Posts: 28
Default

this two metho doesn't work :s
jason is offline   Reply With Quote
Old 08-29-2004, 06:07 AM   #5
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 427
Default

Both methods works. If it doesnt you are making something wrong.
WarC is offline   Reply With Quote
Old 08-29-2004, 07:56 AM   #6
Junior Member
 
Join Date: Nov 2003
Posts: 28
Default

yes i'm so stupid

It's good great ^^
jason is offline   Reply With Quote
Reply
Create a free account to browse our forums without ads



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 11:11 PM.