How to migrate an FTP server located on a Windows Server 2008 server with the IIS role

Lucas Peñaloza 731 Reputation points
2026-11-27T14:53:56.31+00:00

Dear,

We need to migrate an FTP server located on an IIS running on an outdated Windows Server 2008 operating system.

The destination will be an IIS running on a server with Windows Server 2022. Is this possible?

User's image

What is the best option?

Should we migrate the site or generate it on the new server?

As detailed, it is an Obsolete Server but for the moment, we cannot deactivate this feature.

We don't know how a site is set up as FTP, but it's on the old server.

Could you help us?

Windows development | Internet Information Services
0 comments No comments

2 answers

Sort by: Most helpful
  1. Tom Tran (WICLOUD CORPORATION) 6,050 Reputation points Microsoft External Staff Moderator
    2026-11-30T02:36:12.1633333+00:00

    Hi @Lucas Peñaloza ,

    Is this possible? Should we migrate the site or create it on the new server?

    Yes, migrating an FTP site from Windows Server 2008 to Windows Server 2022 should be possible, as IIS on Windows Server 2022 still supports FTP.

    In your case, I'd lean towards creating a new FTP site on Windows Server 2022 and using the existing server as a reference. Since you're not familiar with how the original site was configured, this may be easier to manage than attempting to transfer the entire IIS configuration.

    You can also keep the existing FTP server running while preparing and testing the new one.

    How can we check the existing FTP site's configuration?

    Looking at your screenshot, I can see that the FTP site is named IN, and IIS Manager provides several options for reviewing its configuration.

    I'd suggest taking it one step at a time:

    1. Check the existing FTP configuration. On the Windows Server 2008 machine, open IIS Manager, expand Sites, and select IN. Review the following settings:
      • Bindings: Check the IP address, port, and hostname, if configured.
      • Basic Settings: Check the physical path where the FTP files are stored.
      • FTP Authentication: Identify how users authenticate.
      • FTP Authorization Rules: Check which users or groups can access the site and whether they have read or write permissions.
      • FTP SSL Settings: Check whether the site requires SSL/TLS encryption.
      • FTP User Isolation: Check whether users are restricted to specific folders. Also, check whether the site uses virtual directories, and note the Windows accounts and folder permissions used for FTP access. You don't need to change anything on the old server yet. The idea is simply to understand how the existing site works before recreating it.
    2. Create the FTP site on Windows Server 2022. On the new server, open Server Manager > Add Roles and Features and install the FTP Server role services under Web Server (IIS). Once installed, open IIS Manager, right-click Sites, and select Add FTP Site. You can follow Microsoft's Creating a New FTP Site in IIS documentation as a reference. Although it was written for an earlier IIS version, the general FTP site creation process is still relevant. I'd suggest using the settings you recorded from the old server when configuring the new site.
    3. Transfer the files and configure access. Copy the FTP files and folders to the new server, then review the required Windows accounts, folder permissions, and FTP authorization rules. If the existing site uses FTPS, you'll also need to configure an appropriate SSL certificate on the new server. One additional setting worth checking is FTP Firewall Support, particularly if clients connect from outside your network. You may need to configure the passive FTP port range and corresponding firewall rules. Microsoft explains these settings in FTP Firewall Support.
    4. Test the new FTP server before switching over. Once the new site is configured, I'd recommend testing it with an FTP client using the same authentication method as the existing site. Check whether you can connect, browse folders, download files, and upload files where permissions allow. If everything works as expected, you can then plan to redirect existing FTP clients to the new server.

    Alternatively, Microsoft provides Web Deploy, which can help package and transfer IIS sites. However, some FTP settings may still need to be configured manually after the migration, so I'd recommend checking them against the original server.

    My recommendation would be to start by reviewing the settings of the existing IN site. That should give you a clearer picture of what needs to be recreated on Windows Server 2022 without making changes to the server that's currently in use.

    If you found my response helpful or informative, I would greatly appreciate it if you could follow this guidance for your confirmation. Thank you.  

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-11-27T14:55:15.79+00:00

    A side-by-side migration is possible and is the preferred option: create an equivalent FTP site on Windows Server 2022, copy its content and permissions, test it independently, and then redirect clients without modifying the Windows Server 2008 installation.

    The screenshot confirms that IN is an IIS FTP-enabled site using the IIS 7-era FTP service. IIS stores these FTP settings in ApplicationHost.config; IIS 10 retains the same <ftpServer> configuration model.^1^

    1. Inventory and back up the existing server

    Do not rely only on the folders displayed under IN; those may be virtual directories pointing to different physical locations.

    1. In IIS Manager → Sites → IN, record:
      • Basic Settings: physical path.
      • Bindings: IP address, port, and virtual host name.
      • View Virtual Directories: alias and physical path for each entry.
      • FTP Authentication.
      • FTP Authorization Rules.
      • FTP SSL Settings and certificate identity.
      • FTP User Isolation.
      • FTP Firewall Support.
      • FTP IP Address and Domain Restrictions.
      • FTP Request Filtering and FTP Logging.
    2. Identify whether users authenticate with:
      • Domain accounts;
      • Local Windows accounts;
      • IIS Manager/custom authentication;
      • Anonymous access.
    3. From an elevated command prompt, back up the IIS configuration:
    cd /d %windir%\system32\inetsrv
    appcmd add backup BeforeFtpMigration
    appcmd list backup
    appcmd list site "IN" /config /xml > C:\Temp\IN-site.xml
    appcmd list config "IN/" > C:\Temp\IN-effective-config.xml
    

    AppCmd supports backing up IIS configuration and inspecting its effective XML configuration.^2^^3^

    Keep these exports as documentation and rollback material. Avoid replacing the Windows Server 2022 ApplicationHost.config wholesale with the old server’s file; recreate only the required site configuration.

    2. Prepare Windows Server 2022

    1. Open Server Manager → Manage → Add Roles and Features.
    2. Select Web Server (IIS) → FTP Server → FTP Service.
    3. Also select FTP Extensibility only if the inventory shows IIS Manager, ASP.NET Membership, or another extensible authentication provider.
    4. Create the destination content folders and virtual-directory folders.
    5. If FTPS is currently used, import the server certificate, including its private key, into the new server:
      • IIS Manager → server node → Server Certificates → Import.
      • Select the .pfx file and enter its password.^4^

    Protect the PFX carefully because it contains the certificate’s private key.

    3. Copy the FTP content and NTFS permissions

    Run Robocopy from an elevated prompt using an account with administrative access to both servers:

    robocopy "\\OLD-SERVER\D$\FtpRoot" "D:\FtpRoot" ^
     /E /B /COPYALL /DCOPY:DAT /R:3 /W:5 ^
     /MT:32 /TEE /LOG:C:\Temp\FtpMigration.log
    

    /COPYALL preserves data, attributes, timestamps, NTFS ACLs, owner, and auditing information; /E includes empty directories.^5^

    Repeat this for every physical path identified under View Virtual Directories.

    If the ACLs reference local accounts from the old server, copying the ACL does not recreate those accounts on the new server. Prefer domain users/groups, or recreate the required access using new-server accounts and update both NTFS permissions and FTP authorization rules.

    4. Recreate the FTP site

    In IIS Manager on Windows Server 2022:

    1. Right-click Sites → Add FTP Site.
    2. Enter the site name and copied physical root.
    3. Reproduce the binding:
      • IP address;
      • FTP port, normally 21;
      • Virtual host name, if used.
    4. Configure SSL to match the existing client requirement:
      • Prefer Require SSL when all clients support FTPS.
      • Select the imported certificate.
    5. Reproduce authentication and authorization:
      • Basic for Windows credentials;
      • Only the required users or groups;
      • Read and/or Write as documented.
    6. Add each virtual directory with the same alias and corresponding destination path.
    7. Reproduce user isolation, request filtering, IP restrictions, logging, and other recorded settings.

    IIS provides these binding, SSL, authentication, authorization, and permission options through the Add FTP Site wizard.^6^

    If FTP and HTTP do not need to share IN, create a dedicated FTP-only site. Microsoft notes that changing FTP settings on a combined HTTP/FTP site can recycle the associated website application.

    5. Configure networking and test before cutover

    If clients use passive FTP:

    1. Open IIS Manager → server node → FTP Firewall Support.
    2. Configure a defined Data Channel Port Range.
    3. Enter the external firewall address when the server is behind NAT.
    4. Open/forward the FTP control port and exactly the same passive port range through Windows Firewall and the perimeter firewall.^6^

    Test using a temporary IP address or DNS name:

    • Login for every authentication type.
    • Directory visibility and user isolation.
    • Upload, download, rename, and delete operations as applicable.
    • Every virtual directory.
    • FTPS certificate trust.
    • Passive transfers from outside the server network.
    • FTP and Windows event logs.

    For cutover, stop uploads briefly, run a final Robocopy delta, change DNS/NAT to the new server, and monitor logs. Keep the old FTP service stopped but recoverable until validation is complete; do not decommission it immediately.


    References

    1. FTP Site-level Settings <ftpServer>
    2. Create a Backup with appcmd
    3. Getting Started with AppCmd.exe
    4. Import a Server Authentication Certificate to the Default Web Site
    5. robocopy
    6. Scenario: Build an FTP Site on IIS
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.