Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7165223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:12:16+00:00 2026-05-28T14:12:16+00:00

I have a problem uploading files with move_uploaded_file(src, dest) . Uploadify is used to

  • 0

I have a problem uploading files with move_uploaded_file(src, dest).
Uploadify is used to call the upload.php script which is executing:

move_uploaded_file($tempFile, $targetFile);

Every time I upload a file the permission on the ftp server is set to 363.
I tried to set the permission of the file with:

chmod($targetFile, 755);

But this didn’t change anything. What can I do to make this function work correctly?

Also I can’t delete the files from my ftp server, because I get a “permission denied”.
How to delete them?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T14:12:17+00:00Added an answer on May 28, 2026 at 2:12 pm

    You need to use an octal value such as 0755.

    However, use 0644 instead since you most likely do not need/want the x-bit set on those files. If you cannot delete them via ftp, try 0664 or even 0666 – in shared hosting environments your php scripts usually run as the webserver user and your ftp account uses a different user.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using uploadify (a jQuery uploading) script, which has basically a PHP file at
i have problem on my php file upload script , i am trying to
I have read the following tutorial Uploading Files To the Server Using PHP and
Here I have the problem with uploading image in PHP. The problem is that
I have problem with uploading files. I followed these instructions: http://symfony.com/doc/current/cookbook/doctrine/file_uploads.html and everything is
I have such problem: I have Droplr -like Adobe AIR application, which uploads files
I have a problem while I need to send data using uploadify script. For
I have an upload PHP script and before it uploads the file, it renames
I am trying to implement a RESTful API in which I have to upload
I am using Cakephp as my framework. I have a problem in uploading my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.