copying or moving files(.jpg) to specific folders

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
joeyxaza
Forum Newbie
Posts: 6
Joined: Mon Dec 22, 2008 2:50 am

copying or moving files(.jpg) to specific folders

Post by joeyxaza »

i would like 2 copy and move specified files to specific folders such as (c:/inetpub/wwwroot/...) but i get an error (cannot move or copy, invalid permission), any ideas
User avatar
deejay
Forum Contributor
Posts: 201
Joined: Wed Jan 22, 2003 3:33 am
Location: Cornwall

Re: copying or moving files(.jpg) to specific folders

Post by deejay »

what's your code, and an idea of your file structure would be handy.
User avatar
susrisha
Forum Contributor
Posts: 439
Joined: Thu Aug 07, 2008 11:43 pm
Location: Hyderabad India

Re: copying or moving files(.jpg) to specific folders

Post by susrisha »

If you are using a linux system, you must set the permissions to the target folder into which you are trying to upload the pictures.
I got to know this from the path that you are trying to specify. check the folder permissions with ls -l command.
Post Reply