Error with remote FTP backup (WHM)

kansy

Member
Mar 16, 2009
5
0
51
Hi guys!

I'm having a problem with remote FTP backups in WHM.

It connects correctly to the server but when I try to validate it I get this error:

Error: Validation for transport “Mi casa” failed: Could not upload test file: Permission denied.

However if I do a cPanel backup to the same remote FTP it works.

Any ideas?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

Access your server via SSH as "root" and try manually uploading a test file to your remote server via FTP. Is it able to complete successfully to the same directory you use for your remote backup destination?

Thank you.
 

kansy

Member
Mar 16, 2009
5
0
51
Hey!

I just tried the following and it worked correctly.

1- Connected to ssh.
2- ftp -> open servername port
3- user -> myusername mypassword

Code:
331 User name OK, Enter PASS command
230 Logged in
So at this point at least I've been able to connect to the remote ftp server.

4- mput prueba.txt

Code:
ftp> mput prueba.txt
mput prueba.txt?
227 Entering Passive Mode (80,102,113,183,223,26)
150 Opening data connection for STOR \mnt\WDExt_HDD_1021\partition1\prueba.txt
226 File received OK
5- Dir shows the file correctly.
 

kansy

Member
Mar 16, 2009
5
0
51
Sorry for double-posting but I can't edit my own threads.

I've opened a ticket on cPanel Support page: 4372935

Cheers!
 

kansy

Member
Mar 16, 2009
5
0
51
Solved!

I left the directory field in blank and it automatically added a / so it was trying to upload the files to root folder.

Modified to the correct path and it worked perfectly :)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
I am happy to hear the issue is now resolved. Thank you for updating this thread with the solution.