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

  • SEARCH
  • Home
  • 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 8764695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:05:56+00:00 2026-06-13T16:05:56+00:00

On my server, I’m simply unable to use move_uploaded_files function in PHP, it gives

  • 0

On my server, I’m simply unable to use move_uploaded_files function in PHP, it gives me a permission denied warning. I get the same warning when trying to delete files. I managed to alter the delete script using FTP function ftp_delete and ftp_rmdir.

So now I’m wondering, if it is safe to use ftp_put for file upload ?

  • 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-06-13T16:05:57+00:00Added an answer on June 13, 2026 at 4:05 pm

    If you are sure that the file you are moving is the file uploaded by the user, then yes.

    To be on the safe side, it is good to have writable temp folder, where you can move uploaded file, process it if needed, upload with ftp to proper place with proper permissions, and delete from temp folder.

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

Sidebar

Related Questions

Server controls like Image.ImageUrl make this very easy, but trying to achieve the same
Server side, I use below function (used as espressjs middleware) function objCreation(req, res, next){
Server works fine, but the problem is the client doesn't receive anything. server.php <?php
Does server side Dart support sessions like in PHP: <?php session_start(); $_SESSION['fruit'] = 'apple';
Server 1 Pings/Request URL http://website.com/page.php?code=NeedThat Server 2 page.php grabs NeedThat and execute img src
Server in qustion is SQL Server 2008. On the same note, I need to
Server Tomcat v7.0 Server at 137.57.102.146 was unable to start within 45 seconds. If
My server must print some reports about its work. How can I use visual
server.js var io = require('socket.io').listen(3000); io.sockets.on('connection', function (socket) { console.log(server is connected); socket.on('disconnect', function
Server-side: var test; UserModel.findOne({name: 'guest'}, function(err, user) { test = user.name; }); console.log(test); This

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.