The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

upload access limiting question [moved]

Discussion in 'General Discussion' started by rich deepblue, Sep 2, 2006.

  1. rich deepblue

    rich deepblue Registered

    Joined:
    Sep 2, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hi guys
    I run a record label. I want to create an ftp folder whereby artists can upload tracks, but are unable to modify tracks that are already in this folder, or indeed download them from this folder.
    So basically, when they log in to the ftp, they will see all the other tracks that are there and will be able to upload their tracks to the folder, but they will not be bale to download tracks that they can see in the folder.

    How do I go about doing this?

    Help much appreciated.

    Rich
     
  2. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    16
    you will need the read/write permission in order for user to be able to read / list that directory files/folders in FTP.
     
  3. FSU1

    FSU1 Member

    Joined:
    Sep 1, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    There is no simple FTP solution for your problem. Each file uploaded would have to be chmodded upon upload which is not possible with standard ftp (to the best of my knowledge).

    Quite possibly you might be able to set up a CVS solution to handle your needs.

    You could try a messy solution, and use a CRON job that runs every minute or so checking permissions on the files in the directory and setting them if necessary.

    You might want to try building a web interface in PHP to accomplish this. If your artists are uploading "MP3" files with an average size of 1-10MB, this shouldn't be a problem, but if your artists are uploading "WAV" files (10Mb+), you might want to try a Java, ActiveX or FCS custom FTP solution.

    I personally have done something similar to the last suggestion with MP3 files for a musicians classifieds site I run, where we had musiciains showcases and needed to allow bands to upload their MP3s.

    hope any of this helps.
     
Loading...

Share This Page