• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Using Backup with FTP Repository

zeroday

Basic Pleskian
is it possible to use another port for the FTP repository other than port 21

As I have multiple FTP's running I cannot run it on port 21

when I try mydomain.com:2121 in the webinterface of plesk no error is seen but it will not upload the data
it's directly failed with
<message severity="error" code="msgtext">Unable to parse options: Bad FTP file format at /usr/local/psa/admin/bin/plesk_agent_manager line 293.

when using on port 21 it's working but than it's on the incorrect ftp <sigh>

How can I accomplish this?
 
Same here -- Any ideas from anyone? I guess it may be time to peek around that source code again.
 
Good news - this is correctable.
Bad news - this almost certainly will affect some other part of FTP backups....maybe. I have had no troubles as of yet, but only fired a few backups manually.

You're going to need shell access, and edit:
/usr/local/psa/admin/bin/plesk_agent_manager

On line 266 make it look like this:

if ($outputFile =~ /^ftp:\/\/(?:([^:mad:]*)(?::([^:]*))?@)?([^\/@]+)\/(.*?)([^\/]*?)$/) {

All that is removed is a colon :)), about 62 characters in.

This is breaking part of the verification that this is a valid FTP session, so I have no idea what may happen if you enter invalid FTP server information....
 
Back
Top