Would you like to learn how to upload files to an FTP server using Powershell? In this tutorial, we are going to show you how to use Powershell to upload files to an FTP server using the command-line on a computer running Windows.

• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 10

Equipment list

The following section presents the list of equipment used to create this tutorial.

As an Amazon Associate, I earn from qualifying purchases.

Related tutorial - PowerShell

On this page, we offer quick access to a list of tutorials related to PowerShell.

Tutorial Powershell - Upload files to FTP server

As an Administrator, start a new POWERSHELL command-line prompt.

Windows 10 - powershell elevated

Upload a file to the FTP server using Powershell.

Copy to Clipboard

In our example, we uploaded a text file named TEST from the root of drive C to the FTP server.

Upload a file to the FTP server using binary mode.

Copy to Clipboard

List the remote files from the FTP server using Powershell.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

In our example, we listed all files on the root directory of the FTP server.

Congratulations! You are able to upload files to the FTP server using Powershell.