Copying files to remote side failed

Error: "Copying files to remote side failed. Can't open that file: Permission denied"

 

 

So you are using WINSCP as your FTP Software. And that’s well known with the error you are searching about. Let us go from the scratch,

 

 

Copying files to remote side failed

 


You should be getting this error when you are trying to replace the existing files on your hosting account.


To achieve this replacement you must change the ownership of the files. On most occasions with this issue the current hosting files should have been owned by ROOT. So those files’ ownership has to be changed to the USER, who is the actual owner of the files.


‘How come the ownership has changed?’ This question should be pondering you indeed.


This could have happened since you might have uploaded the files via root access or fetched the files there through root login.


So here is the command to change the ownership of those files.


Chown –R username:username /home/username/public_html/*


After this is done try replacing the same files.

  • Copying files to remote side failed Can't open that file: Permis
  • 140 Users Found This Useful
Was this answer helpful?

Related Articles

How to upload your website in the server?

To do this you must install FTP software. We would suggest WinSCP, which is the best FTP...

How to add a Favicon?:

A favicon is the small Icon that you can see in the browser tabs, address bar and in bookmarks...

How to transform your host from one host to another?:

1.  Before you terminate your website from your old host, you must copy all the files from the...

Configuring a separate FTP login for an Addon Domain:

Step1. Enter ftp.addondomain.com in the Hostname field. (Eg: ftp.romeospanel.com) Step2....