Developer-Community.com
September 09, 2010, 03:30:27 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Switched to new board software!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Access permmision to a specific folder  (Read 2028 times)
joelblueyes
Newbie
*
Posts: 16


View Profile
« on: November 06, 2007, 01:17:08 PM »

Hi,

Great program!

I have access permission to a specific folder on a server (not for the whole server).
I am not allowed to the root directory.
I was trying unsuccessfully to access that folder and to upload files to it.
Is there a way to solve that?

Thanks,
Joel
Logged
nk
Administrator
Sr. Member
*****
Posts: 253


View Profile
« Reply #1 on: November 06, 2007, 05:46:51 PM »

How do you usually access the folder? (with a normal FTP program)
Could you enable logging and send me your log.txt via e-mail?

Right now I'm busy rewriting the program, but after I'm done I might have some time to look into this a bit longer.
Logged
joelblueyes
Newbie
*
Posts: 16


View Profile
« Reply #2 on: November 06, 2007, 09:40:12 PM »

I am the owner of the server. I've created a user that is only allowed into a specific directory (www.myserver.com/images/johns_photos). I can access that folder with my admin username and password, but couldn't do that with that user.

Should I fill in the host name: www.myserver.com and in the directories: images/johns_photos
              or
host name:www.myserver.com/images and in the directories: johns_photos?

Thanks,
Joel
Logged
nk
Administrator
Sr. Member
*****
Posts: 253


View Profile
« Reply #3 on: November 06, 2007, 10:27:55 PM »

The host name should be www.myserver.com. What did you enter as the default directory? What's the error message? Did you try if the account works with another FTP client?
Logged
joelblueyes
Newbie
*
Posts: 16


View Profile
« Reply #4 on: November 07, 2007, 08:42:42 AM »

- The default directory I've tried was: images/johns_photos
 - I'll give it a shot with another FTP program and I'll let you know....

Thanks,
Joel
Logged
nk
Administrator
Sr. Member
*****
Posts: 253


View Profile
« Reply #5 on: November 07, 2007, 09:40:27 AM »

If the account works with other programs it'd be great if you could send me your log file so I can see what might be going wrong.

Thanks!
Logged
joelblueyes
Newbie
*
Posts: 16


View Profile
« Reply #6 on: November 07, 2007, 05:31:28 PM »

Nils,

It's not you. It didn't work on a different FTP program (Filezilla) as well. I'm talking with my server's tech team regarding that issue. I'll keep you posted.

Thanks,
Joel

P.S:

If your program could stop and resume uploads it would be the perfect FTP program...
Logged
joelblueyes
Newbie
*
Posts: 16


View Profile
« Reply #7 on: November 08, 2007, 09:26:25 PM »

Problem solved.

Once I specified a directory access for a user, when using an FTP program there is no need to indicate the specific directory. When trying to log in I was redirected to the folder I have access to.
So, for example, if I only have access permission to a folder named:"images", I only have to provide the main URL: "www.myserver.com", and I'll be redirected to the folder I have access permission to. In my case:"images".

Thanks,
Joel
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.077 seconds with 17 queries.