• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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