Jump to content

Warmics

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Everything posted by Warmics

  1. ok, this solutions do make sense in the context of the scripts i'm using, I'll try them out and get back to you, thanks a lot guys, really appreciated
  2. i thought I needed to change ownership in order to download the images to my computer. You see, the images are being uploaded from different computers via a very amateur CMS. I noticed the person uploading the images is not making them small, so they are uploading 2 MB images (for thumbnails and stuff). I wanted to download all the images to my personal pc and shrink'em. But I can't because my FTP Client tells me I have no access to them. I know how to change one by one using a simple PHP script, I was just hoping there was a way to use a loop for this, but I'm not sure how to use PHP to do so. Thanks again.
  3. Thanks for the reply, I wrote a PHP script to upload the images. These images are getting uploaded as user: apache, group: apache. I therefore can't edit them nor download them via my FTP client. I was thinking the easiest thing to do was run a PHP script that will modify these files as PHP scripts DO have access to them. They are a couple hundred though, so doing this one by one would be extremely inefficient. I'm not familiar with this thing about the shell, I'll do some research about it. I've been teaching myself this stuff, so I have a lot of knowledge gaps here and there. I appreciate the time.
  4. This is probably a trivial task to most of you, but I can't for the life of me figure out how to do this. I want to write a script that will open an image directory, go through each of the images inside and change their permissions, owner and group. Thanks in advance.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.