MS FTP Server

Daemgen Udo 20 Reputation points
2024-06-18T06:09:16.38+00:00

Hello,

I want to set up an automatic backup from a load balncer via FTP, but I get the following error:

Automated Backup to 10.65.1.24 (wput) returned 2 "--16:18:39-- `LMbackup_LBANOD002_2024_06_17.16.18' => ftp://FTP.User:xxxxx@10.65.1.24:21/%2fLBA%2f/LMbackup_LBANOD002_2024_06_17.16.18 Connecting to 10.65.1.24:21... connected! Logging in as FTP.User ... Error: Login-Sequence failed (User cannot log in, home directory inaccessible.) Skipping all files from this account... FINISHED --16:18:39-- Transmission of 1 file failed."

Somehow there seem to be authorization problems here. At file system level, I don't know what else to share as a test. The FTP server is even set to anonymous auth. I have set up another site on the same FTP with a different user and everything works.

I have compared all the settings and cannot find any difference. Do I have to configure something special in the site configuration? What does it mean by HomeDirectory? Actually the folder on the file system or?

Thank you!

Windows Server Infrastructure
Windows Server Infrastructure
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Infrastructure: A Microsoft solution area focused on providing organizations with a cloud solution that supports their real-world needs and meets evolving regulatory requirements.
526 questions
0 comments No comments
{count} votes

Accepted answer
  1. Zunhui Han 720 Reputation points Microsoft Vendor
    2024-06-18T14:30:31.21+00:00

    Hello,

    Thank you for posting in Q&A forum.

    There might be a few reasons for running into this error. Here are the most common root causes and their solutions:

    • The user may not be have access to the home directory. Go to “IIS > FTP site > FTP User Isolation”. Select the directory that your users can access. More information about User Isolation settings
    • IIS may not be configured to use passive mode FTP. There are two types of FTP connections: Active mode and passive mode. In active mode, the client opens a port. The server connects to this port for transferring data. In passive mode, the server opens a port. The client connects to this port to transfer data. In order to use passive mode, enter a port range and IP address in “IIS > Server name > FTP Firewall Support” page

    thumbnail image 2 of blog post titled  FTP “530 User cannot log in” error and solution

    thumbnail image 3 of blog post titled  FTP “530 User cannot log in” error and solution

     

    Note: You can configure your FTP client to use only the active mode if you don’t want to turn on passive mode

    For details, you can refer to the following links:

    https://techcommunity.microsoft.com/t5/iis-support-blog/ftp-530-user-cannot-log-in-error-and-solution/ba-p/364570

    I hope the information above is helpful.

    Best regards

    Zunhui

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Daemgen Udo 20 Reputation points
    2024-06-19T07:23:01.03+00:00

    Hello,

    I have deleted all the settings (Site, Folder) and recreated it again and configured the FTP Port at the LBA setting and now it is working!

    Thanks!

    0 comments No comments