• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue [PPPM-6236] Backup error: path with spaces

AndreiLx

New Pleskian
Hello,

Capture.JPG
For 2-3 weeks I have noticed that plesk no longer handle ftp path that contains spaces properly.
Most of the time the backup files are saved but you will always get an email like this one:

The following error occurred during the scheduled backup process:

Unable to resume an upload of the file to the storage: Curl error: Unable to resume an interrupted upload: (25) Upload failed (at start/before it took off): Last FTP request: APPE test: Last FTP response: 500 Command not found: Connection to the FTP server has lost
Check that you can resume uploads to the storage. You can check it independently with the commands:
echo 123 | curl -T - --ftp-create-dirs -v -P - -u userhere ftp://somedomain.here/Privat (bla-backup)/blabla/test-dir/test-file.txt
echo 456 | curl -T - -a --ftp-create-dirs -v -P - -u userhere ftp://somedomain.here/Privat (bla-backup)/blabla/test-dir/test-file.txt
curl -v -P - -u userhere ftp://somedomain.here/Privat (bla-backup)/blabla/test-dir/test-file.txt

The issue is that space in ftp path: ftp://somedomain.here/Privathere(bla-backup)/
Also, plesk suggest to test it with some commends but they don't work if you don't use "" quotes to isolate the path (curl and spaces).

Solution: I think all the time path should be inside of quotes to avoid these situations.
 
Hi AndreiLx,

well, from MY personal opinion, you really should avoid using spaces on linux systems - it is just not Windows. ;)

If you still desire/insist to use spaces ( for what ever reason ), instead of underslashes, or minus - signs ( which is a far better choice ), pls. consider to use these method:

Code:
Word%20NextWord

Consider as well to read: => HTML URL Encoding Reference
 
Back
Top