• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Weird problem with FTP Backup

Roberto Santana

New Pleskian
Hello,

I'm trying to configure a FTP Backup in my server.

My FTP server is working fine from any host, I've checked it.

When I try to configure it I get this error:

---------------------------------------------
Error: Unable to upload the file to the storage: Transport error: unable to write file /check0/test: Can not create temporary file with the template '/backups/tmp/pmm-ftp-oso-stream-sS1NP8': No such file or directory.
Check that you have permissions to upload files to the storage. You can check it independently with the commands:
echo 123 | curl -T - --ftp-create-dirs -v --ftp-pasv -u backups_xxxx 'ftp://xxxxx.dyndns.org/Backupsxxxxxxxx/test-dir/test-file.txt'
curl -v --ftp-pasv -u backups_xxxx 'ftp://xxxxx.dyndns.org/Backupsxxxxxxxx/test-dir/'
---------------------------------------------

But when I try to check it as the error message suggest from SSH everything is working fine:

---------------------------------------------
echo 123 | curl -T - --ftp-create-dirs -v --ftp-pasv -u backups_xxxx 'ftp://xxxxx.dyndns.org/Backupsxxxxxxxx/test-dir/test-file.txt'
Enter host password for user 'backups_xxxx':
* About to connect() to xxxxx.dyndns.org port 21 (#0)
* Trying xxx.xxx.xxx.xxx... connected
* Connected to xxxxx.dyndns.org (xxx.xxx.xxx.xxx) port 21 (#0)
< 220 NAS FTP server ready.
> USER backups_xxxx
< 331 Password required for backups_xxxx.
> PASS xxxxxxxxxxx
< 230 User backups_xxxx logged in.
> PWD
< 257 "/" is current directory.
* Entry path is '/'
> CWD Backupsxxxxxxxx
< 250 CWD command successful.
> CWD test-dir
< 550 test-dir: No such file or directory.
> MKD test-dir
< 257 "test-dir" directory created.
> CWD test-dir
< 250 CWD command successful.
> EPSV
* Connect data stream passively
< 229 Entering Extended Passive Mode (|||55559|)
* Trying xxx.xxx.xxx.xxx... connected
* Connecting to xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) port 55559
> TYPE I
< 200 Type set to I.
> STOR test-file.txt
< 150 Opening BINARY mode data connection for 'test-file.txt'.
} [data not shown]
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 4 0 0 0 4 0 2 --:--:-- 0:00:01 --:--:-- 2* Remembering we are in dir "Backupsxxxxxxxx/test-dir/"
< 226 Transfer complete.
0 4 0 0 0 4 0 2 --:--:-- 0:00:01 --:--:-- 0* Connection #0 to host xxxxx.dyndns.org left intact

> QUIT
< 221 Goodbye. You uploaded 4 bytes and downloaded 0 bytes.
* Closing connection #0
---------------------------------------------

Anybody knows how to solve this?

Thanks!
 
Back
Top