#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2001
    Posts
    2
    Rep Power
    0

    A question on ftp_put and access rights


    Hi,

    I am trying to copy a file from a directory to another via ftp. However, the access rights of the destination directory cannot be open to all.

    So i am getting Permission denied error when i try to use ftp_put. My question is... is there any way to get around this without chmod 777 the destination directory?

    Thanks in advance
    Cyrene
  2. #2
  3. Advisor
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Location
    Stockholm, Sweden
    Posts
    446
    Rep Power
    15
    I don't beleive it's possible....
    "Permissions" aren't supposed to, -"get arround"...

    You may also change the owner of the remote directory.....
    chown nobody dir/

    If the permissions for user are rw

    /Johan
    - [ If I cant fix it, ask MacGyver... ] -

IMN logo majestic logo threadwatch logo seochat tools logo