Cobra Forum

Plesk Panel => Others => Topic started by: mahesh on Jan 27, 2025, 04:17 AM

Title: Unable to connect to a Plesk for Windows Server via FTP
Post by: mahesh on Jan 27, 2025, 04:17 AM
Question
Unable to connect to a Plesk for Windows Server via FTP which is connected to a domain (Active Directory)
Symptoms

C:\> ftp 203.0.113.2
Connected to 203.0.113.2.
220 Microsoft FTP Service
User (203.0.113.2:(none)): john_doe
331 Password required
Password:
530-User cannot log in.
Win32 error: The user name or password is incorrect.
Error details: An error occurred during the authentication process.
530 End
Login failed.

OR

C:\> Access denied
Response: 530 User cannot log in.
Error: Critical error: Could not connect to server

Cause
When Windows Server is connected to a domain (Active Directory), an FTP user is treated as a domain user.

Resolution
Use the "hostname\FTP login" pair as a username for FTP connections:

1.Find a server hostname:

C:\> hostname
WIN-PLESK-SERVER

2.Use this hostname together with an FTP login as a username. For example:

C:\> ftp 203.0.113.2
Connected to 203.0.113.2.
220 Microsoft FTP Service
User (203.0.113.2:(none)): WIN-PLESK-SERVER\john_doe
331 Password required
Password:
230 User logged in.
ftp> ls
200 PORT command successful.

Alternatively, use the "Active Directory domain name_\FTP login_" pair:

C:\> ftp **203.0.113.2
**Connected to 203.0.113.2.
220 Microsoft FTP Service
User (203.0.113.2:(none)): pleskserver\john_doe