• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Personal FTP repository on ports other then 21

X

xmuskrat

Guest
Is it possible to setup a Personal FTP repository to connect to a remote FTP sever on port 2121 instead of 21?
 
I hope so too.

Hi there.
im currently working on this as well.
Has this been addressed at all?

Does anyone know a solution?
many thanks
WT
 
hostname:port

use the hostname:port syntax, such as:

your.hostname.com:2121
 
on second thought

Actually, the hostname:port syntax works when setting up the personal FTP repository (I see Plesk connect successfully then immediately disconnect), but the actual backup has a problem with the address.

Any backup task will fail when using a FTP repository using the hostname:port syntax with the following error:

"Unable to parse options: Bad FTP file format at /usr/local/psa/admin/bin/plesk_agent_manager line 293."

I tracked this error down in plesk_agent_manager and hostname:port apparently fails the following Perl regular expression test:

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

What's odd is that when I initiate a backup job to the personal FTP repository, Plesk actually logs in then immediately out of the FTP before failing with the error. This appears to be a bug, so hopefully Parallels will address it accordingly.
 
Thanks a ton for the quick responce, thats WAY more information then I would even know how to get... i only get as far as putting in the information for the ftp, (both in ip format XXX.XXX.XXX.XXX:444 and in dns format) but it comes back saying it cannot use it. So your 1 step further then I am so far.

Again thanks.
WT
 
REply

Thanks for the information again,
AS well for reference, I am also using 9.2.1

WT
 
Anyone had any luck with this? Im having the same issue with version 9.2.2
 
Back
Top