Page 1 of 1

folder access

PostPosted: 31. August 2006 13:38
by mastercrypt
how can i fix full access to a folder read and write ? when i try with ftp and use 777 for folder it wont work can anyone help me plese tell me what to do ??

Sincerly Lars

PostPosted: 31. August 2006 13:53
by Q1712
dosn't it change to 777 or doesn'T it work when set to 777?

do you have ssh access?

PostPosted: 31. August 2006 14:02
by mastercrypt
no shh and i dont get it ..it is on xp pro :oops:

Lars

PostPosted: 31. August 2006 14:17
by Q1712
i dont know mutch about XP (still running 98)

but as i know exen XP has no rwx rights so the ftp just claims the folder to have it.

you may try to use windows to adjust the folder rights (right click properties)
but i gess your problem is not because of folder rights.
what are u actualy trying to do?

folder access

PostPosted: 31. August 2006 14:31
by mastercrypt
i try to setup a fileshare it is possible to upload but when i try to dl from the link send in mail no access :oops:

PostPosted: 31. August 2006 14:37
by Q1712
are you sending a link to the folder? or a file in the folder?

folderlisting has to be allowed in the httpd.config or an .htaccess file!

PostPosted: 31. August 2006 14:52
by mastercrypt
no i dont know what to do :-(

Sincerly Lars

PostPosted: 31. August 2006 14:56
by Q1712
could you copy and paste an exaple email and the website that shows up when your click the link into an reply?

that would help me to help you.

PostPosted: 31. August 2006 15:14
by mastercrypt
i tryed to setin this but it wont work
<Directory "c:/web/domain.com/zzzz">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>

PostPosted: 31. August 2006 16:01
by Q1712
try

<Directory "c:/web/domain.com/zzzz">
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>

PostPosted: 31. August 2006 16:16
by mastercrypt
i try this out :-) thanks for helping :-)

Lars

nope

PostPosted: 31. August 2006 16:18
by mastercrypt
it is not working :-( but thanks anyway for your kind help :-)

Lars

PostPosted: 31. August 2006 21:09
by Q1712
i just got a new idea but as u haven't described ur poroblem in detail jet i dont know wether that is a solution?

why don't u just place an index.php file in c:/web/domain.com/zzzz with some content like

Code: Select all
<html>
 <head><title></title></head>
 <body>
  <?php
   $dir = opendir('.');
   while (($file = readdir($dir)) !== false)
     if ($file!='.' && $file!='..' && $file!='index.php' && !is_dir('./'.$file))
       echo '<div><a href="'.$file.'">'.$file.'</a></dir>';
   closedir($dir);
  ?>
 </body>
</html>


then u may format it with css e.g.


Code: Select all
<html>
 <head><title></title></head>
 <body bgcolor="#ddeeff">
  <?php
   $dir = opendir('.');
   while (($file = readdir($dir)) !== false)
     if ($file!='.' && $file!='..' && $file!='index.php' && !is_dir('./'.$file))
       echo '<div style="padding:2px;width:200px;border:1px solid #6688ff;border-top-color:#ffffff;border-left-color:#ffffff;margin-bottom:2px;background-color:#ddeeff"><a style="font-family:sans-serif;font-size:12px;color:#000000;text-decoration:none;" href="'.$file.'">'.$file.'</a></div>';
   closedir($dir);
  ?>
 </body>
</html>


just an idea