• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

ftp issues

R

roberthov

Guest
i'm confused about the ftp settings. in my Plesk (10.0.1) ftp settings i have ports 49152-65535 for passive ftp.

I'm able to connect with normal seetings + active mode.

However when i try to connect with an ftp client using passive mode, i get errors. The connect is sucessfully established but i can't get access to directories.

.
.
.
Command: PASS **************
Response: 230 User logged in.
Command: OPTS UTF8 ON
Response: 200 OPTS UTF8 command successful - UTF8 encoding now ON.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: PASV
Response: 227 Entering Passive Mode (74,208,209,156,196,95).
Command: LIST
Response: 150 Opening BINARY mode data connection.
Error: Connection timed out
Error: Failed to retrieve directory listing


When trying to connect using secure ftp settings i'm unable to connect with any other setting EXCEPT with FTPES. And with ftpes directory listing is not allowed.
I get to root directory and can manually change to another directory which i know for sure exists, but i don't have any other access rights. read/write and can't see the files in those directories.


.
.
.
Status: Connection established, waiting for welcome message...
Response: 220 Microsoft FTP Service
Command: AUTH TLS
Response: 234 AUTH command ok. Expecting TLS Negotiation.
Status: Initializing TLS...
Status: Verifying certificate...
Command: USER ******my username*************
Status: TLS/SSL connection established.
Response: 331 Password required for gotartwork.
Command: PASS **************
Response: 230 User logged in.
Command: OPTS UTF8 ON
Response: 200 OPTS UTF8 command successful - UTF8 encoding now ON.
Command: PBSZ 0
Response: 200 PBSZ command successful.
Command: PROT P
Response: 534 Policy denies SSL.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: PORT 192,168,2,2,247,39
Response: 501 Server cannot accept argument.
Command: PASV
Response: 227 Entering Passive Mode (74,208,209,156,196,97).
Command: LIST
Response: 534 Protection level negotiation failed.
Error: Failed to retrieve directory listing



I've checked user permissions and i don't seem to be missing any, please help.
i'm using filezilla to connect

oh and i'm also unable to connect using windows explorer's ftp. i get the following error when trying to connect with windows explorer (the ftp service is running, i get asked for username and password)
---------------------------
FTP Folder Error
---------------------------
An error occurred opening that folder on the FTP Server. Make sure you have permission to access that folder.

Details:
The operation timed out

---------------------------
OK
---------------------------


what am i missing? seemed like plesk panel was supposed to take care of this
 
Last edited by a moderator:
found resolution

I had same problem with passive mode doing same results as above, active mode worked perfectly fine.
Simple fix is go into Firewall module, edit rules, and enable "System policy for incoming traffic"
or create a custom rule to allow ports 49152-65534.

Either way that fixes the issue.
 
In Plesk 10 I found the issue to be that I'd denied all for 'IPv6 Neighbor Discovery'. Once I allowed connections on that then I could connect via FTP again.

Also when I couldn't connect with FTP I could connect with SFTP which is much better to use anyway - so if you can switch over do that instead.
 
Back
Top