Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Windows includes a built-in FTP command-line client named ftp.exe. It is available in Windows 10, Windows 11, Windows Server 2016, Windows Server 2019, Windows Server 2022, and Windows Server 2025, so you can connect to a traditional FTP server without installing a third-party application.

This method is appropriate for basic file transfers and troubleshooting. It is not a replacement for SFTP or an FTP client that supports encrypted FTP over TLS. Standard FTP can expose usernames, passwords, filenames, and file contents in transit, so use it only with servers and networks where that risk is acceptable.

Before you connect

You need the server name or address, a username and password if anonymous access is not enabled, and the correct remote folder. A server may be identified by a computer name, IPv4 address, or IPv6 address.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Windows also needs TCP/IP installed as a component of the network adapter in Network Connections. If the adapter is disabled, disconnected, or has no working TCP/IP configuration, ftp.exe cannot establish the connection. IPv6 connections are supported when IPv6 is installed.

#1 Best Overall
FiveStarCable 1000Ft Cat6 Outdoor Shielded Ethernet Cable - 23AWG, 350MHz, UV Resistant, FTP, ETL Listed - Black Bulk LAN Cable for Gigabit Ethernet, Router, and Network Installations
  • High-Performance Cat6 Ethernet Cable: 1000ft of 23AWG, 4-pair shielded twisted pair (FTP) cable, designed for Gigabit Ethernet and high-speed data transfer up to 350MHz. Perfect for demanding network setups.
  • Built for Outdoor Durability: Features a UV-resistant, waterproof, and tear-resistant jacket to withstand harsh weather conditions, cuts, and abrasions. Ideal for long-lasting outdoor installations.
  • Easy Installation & Versatile Use: Comes in a convenient 1000ft spool box for hassle-free installation. Use for routers, modems, gaming consoles, PoE devices, and more.
  • Reliable Shielding for Interference-Free Connectivity: Foiled Twisted Pair (FTP) shielding ensures minimal crosstalk and electromagnetic interference, delivering stable and high-speed internet connections.
  • Certified Quality & Peace of Mind: ETL listed for safety and performance compliance. Trusted for professional and residential network installations.

Open Command Prompt by pressing Win+R, entering cmd, and pressing Enter. PowerShell can also launch ftp.exe, but the examples below use Command Prompt syntax.

Connect to an FTP server

The basic command is:

ftp <host>

For example:

ftp ftp.example.com

The host must be the final parameter on the command line. You can use an IPv4 address:

ftp 203.0.113.25

Or an IPv6 address:

ftp 2001:db8::25

After the connection is made, Windows enters its FTP sub-environment and displays:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
ftp >

If the server requests credentials, enter the username and password at the prompts. The password is not displayed while you type it. Whether anonymous access works depends on the server configuration.

Useful connection options

Command Use
ftp -n <host> Connect without automatic login. This is useful when you want to control when the user command is sent.
ftp -A <host> Log on as anonymous. The server must permit anonymous FTP access.
ftp -d <host> Display the commands exchanged between the client and server for troubleshooting.
ftp -a <host> Allow any local network interface to be used when binding the FTP data connection. This can matter on computers with multiple interfaces.

Options are case-sensitive and use a hyphen, not a slash. For example, -A and -a have different meanings.

Navigate and transfer files

At the ftp > prompt, use FTP commands rather than normal Command Prompt commands. A typical session looks like this:

Rank #2
AvesView CAT6 Indoor 1000ft Shielded Ethernet Cable Easy Pull Box 10Gbps Cat 6 High-Speed Internet Cable Foiled Twisted Pair (FTP) Copper Clad Aluminum (CCA) 23AWG 550MHz – White
  • Upgrade to AvesView’s Indoor White FTP Cat6 Ethernet Cable, engineered for clean, reliable, and high-performance connectivity. With four precision-twisted pairs and a robust 550 MHz bandwidth, this shielded cable ensures stable signal transmission and consistently efficient network performance.
  • Engineered for high-performance data connections across web and local networks, our 1000ft White FTP Cat6 Cable is the ideal choice for anyone who prioritizes speed, reliability, and efficiency. Its clean white jacket and shielding provide both professional aesthetics and enhanced signal protection for demanding installations.
  • This 1000ft White FTP Shielded Cat6 cable comes in a convenient Easy Pull Box, allowing for smooth, tangle-free dispensing during installation. No snags, no interruptions—just clean, efficient cable runs every time.
  • AvesView’s 1000ft White FTP CAT6 cable is engineered with 23-gauge CCA conductors, delivering strong, efficient, and reliable data transmission for high-performance network applications. The shielded construction further enhances stability by reducing interference and signal loss.
  • Trust our 1000ft Indoor White FTP CCA Cat6 Cable to deliver high-speed, reliable performance that keeps your data flowing smoothly and efficiently throughout your network environment. The added shielding ensures stable transmission, even in interference-prone areas.
ftp > user alice
ftp > cd uploads
ftp > lcd C:UsersAliceDownloads
ftp > binary
ftp > put report.zip
ftp > get response.pdf
ftp > quit

These are the commands you will use most often:

Command Purpose Example
user Supply or change the login credentials. user alice
pwd Show the current remote directory. pwd
dir Display a detailed remote directory listing. dir
ls Display a shorter remote listing on servers that support it. ls
cd Change the remote directory. cd reports
lcd Change the local Windows directory. lcd C:Temp
get Download one remote file. get archive.zip
put Upload one local file. put image.iso
mget Download multiple files. mget *.pdf
mput Upload multiple local files. mput *.csv
delete Delete a remote file, if the account has permission. delete old.txt
mkdir Create a remote directory, if permitted. mkdir backups
quit Close the FTP session and return to Command Prompt. quit

Use lcd before a download to choose where Windows saves the file. For example:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
ftp > lcd C:UsersPublicDownloads
ftp > get manual.pdf

Use lcd before an upload to select the local source directory:

ftp > lcd C:WorkExports
ftp > put data.csv

Choose the transfer mode

For most non-text files, select binary mode before transferring:

ftp > binary

Binary mode is the safer choice for archives, images, installers, PDFs, videos, and database files because it transfers the bytes without text conversion. The client also has an ascii command for text transfers. If a server or legacy workflow specifically requires text-mode conversion, use:

ftp > ascii

When in doubt, use binary.

Transfer several files

Wildcards can be used with commands such as mget and mput:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
ftp > mget *.log
ftp > mput *.csv

By default, the client may ask for confirmation for each file in a multiple-file transfer. Start the client with -i to disable interactive prompting:

Rank #3
XANHAM Cat6 Shielded Outdoor Ethernet Cable 25 Feet Waterproof and UV Resistant Direct Burial Jacket 23AWG Solid Copper Cat 6 FTP Network Cable, for POE and Internet Cabling Application
  • Outdoor Direct Burial Jacket - Outer jacket adopt LLDPE outdoor material, providing waterproof and UV resistant with tough and tensile body not only for harsh outdoor environment, but also for indoor cabling scenario. Maximum pulling force up to 50 lbs and jacket temperature resistant is from -40°C to 75°C to fit severe weather change.
  • Cat 6 FTP Shielded Structure with Bare Copper Wires- Four twisted pairs wires adopt 23AWG solid Bare Copper(BC) conductor material, XANHAM Cat6 shielded outdoor Ethernet cable can provide high speed performance with bandwidth up to 10 Gbps and frequency up to 550 MHz and shielded structure can effectively shield most of clutter and static interference signals for clean and stable network connection.
  • Premium Quality and POE Support- 23AWG copper wires provide a solid foundation for the POE application. Cable is compliant with TIA/EIA-568C.2 and UL AWM 2835 standard, which can provide Cat 6 performance and backward compatible with 10Base-T, 100base-tx(fast Ethernet) and 1000Base-T (Gigabit Ethernet) for 8P8C cat5e and Cat5 cable and device.
  • RJ45 Connectors with Special Size Injection Pattern - The overall length of the connector and injection pattern is less than 26mm and the overall diameter of the cable is less than 6.6mm, which can match up with most of the RJ45 waterproof connection accessories and device original waterproof accessories. Injection pattern protect the cable integrity with more stable network connection.
  • Compatibility - You can choose Lengths for universal connectivity with LAN network components and POE application, such as CCTV camera, routers, switch boxes, computer servers, network media players, NAS, VoIP phones, PCs, laptop, printers, etc.
ftp -i ftp.example.com

The -g option disables filename globbing. Without -g, * and ? are treated as wildcard characters in local filenames and paths. Do not add -g if you intend to use wildcards for a transfer.

Run FTP commands from a script

ftp.exe supports batch operation with a command file:

ftp -s:commands.txt ftp.example.com

There must be no space between -s: and the filename. A simple commands.txt file could contain:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
user alice
binary
lcd C:WorkExports
cd incoming
put daily-report.csv
quit

Run it from the directory containing the file, or specify a complete path:

ftp -s:C:Scriptsupload.txt ftp.example.com

On Windows 8 and Windows Server 2012 or later, the file supplied to -s: must be saved as UTF-8. If the file was created with another encoding, ftp.exe may parse it incorrectly or fail to behave as expected. In Notepad, choose Save As and select UTF-8 where that encoding option is available.

Microsoft recommends the -s: option instead of using input redirection with the < character.

Rank #4
Cat 6 Outdoor Ethernet Cable 500ft(30 RJ45), FTP Cat6 Shielded Cable, 23AWG
  • Shielded Cat 6 Ethernet Cable: Cat 6 shielded cable is made of 4 pairs of 23AWG Professinal CCA shielded twisted pair (STP), separated by a cross skeleton in the middle to prevent mutual interference. FTP Cat 6 shielded cable can effectively reduce EMI and RFI, provides more stable transmission and offers high specification fidelity for long distance transmission. 23AWG wire diameter provides a more stable transmission rate, bringing a smoother network experience.
  • Support for Outdoor Use: MEIPEK Ethernet cable - designed for outdoor use. Whether it's hot or cold, in the park or construction site, it can easily withstand extreme weather and harsh environments. With its assistance, it can easily solve various headache inducing wiring environment problems and enjoy high-speed networks anywhere.
  • Direct Burial Rated: Our cat 6 direct burial ethernet cable are made of durable sheath material, which allows them to be buried underground without the need for conduits or other auxiliary equipment, avoiding some of the drawbacks of ground wiring, such as unsightly lines and easy tripping.
  • Can be Cut into Any Length & Free RJ45 Connectors: : Cat 6 ethernet cable bulk are not limited by fixed length and can be cut into any length according to different scene requirements. You have the flexibility to cut the length you want without being limited to the length options offered by the market, reducing unnecessary waste. In addition, we will provide you with 30 RJ45 connectors for free, so you don't have to purchase additional connectors yourself, which avoids the trouble of buying mismatched connectors and is very cost-effective.
  • Premium Quality: MEIPEK Cat 6 ethernet cable supports up to gigabit transmission speed, Cat 6 ethernet cable features 4 pairs of 23AWG CCA Copper Clad shielded twisted pair, wrapped with HDPE insulation material, and separated by a cross skeleton in the middle to prevent mutual interference. The snagless design protects the locking tabs on the RJ45 connectors from being damaged or snapped even after thousands of installations.

Troubleshoot a failed connection

  1. Check the host. Try the server name again, or use its IP address. A spelling error or DNS problem can prevent the initial connection.
  2. Check the network adapter. In Windows, open Control Panel > Network and Internet > Network Connections and verify that the relevant adapter is enabled and has TCP/IP installed.
  3. Use protocol debugging. Start a new session with -d:
ftp -d ftp.example.com

This displays the commands exchanged by the client and server, which can reveal whether the failure occurs during connection, authentication, directory navigation, or transfer.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Confirm the server type. ftp.exe is the classic FTP client. It does not mean that Windows supports SFTP, and it should not be assumed to negotiate FTPS/TLS with a server that requires encrypted FTP. An SFTP server requires an SSH-capable client; an FTP-over-TLS-only server requires a client that supports that protocol.
  2. Check permissions and paths. A successful login does not guarantee access to every directory. The server may reject cd, put, delete, or mkdir because of account permissions.
  3. Check passive/active transfer compatibility. FTP uses a separate data connection for listings and file transfers. A firewall, NAT device, or server policy can allow login but block dir, get, or put. The built-in client has fewer configuration controls than a full FTP application, so an administrator may need to adjust the server or network firewall.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Full command-line syntax

The current syntax is:

ftp [-v] [-d] [-i] [-n] [-g] [-s:<filename>] [-a] [-A] [-x:<sendbuffer>] [-r:<recvbuffer>] [-b:<asyncbuffers>] [-w:<windowsize>] [<host>] [-?]

The buffer options are normally unnecessary, but they are available for specialized transfer tuning:

Option Documented default
-x:<sendbuffer> 8,192 bytes
-r:<recvbuffer> 8,192 bytes
-b:<asyncbuffers> 3 buffers
-w:<windowsize> 65,535 bytes

Other options include -v to suppress verbose server responses and -? to display help. Parameters are case-sensitive.

What not to use

Older guides often tell Windows users to open an FTP address in Internet Explorer or add an FTP location through a graphical Windows workflow. Internet Explorer 11’s desktop application is retired, out of support, and has been permanently disabled through Edge updates on certain Windows 10 versions. Those instructions are not a dependable current solution.

For a command-line connection, use ftp.exe. For encrypted transfers, automation with stronger authentication, saved profiles, or a graphical file manager, choose software that explicitly supports the server’s required protocol rather than assuming that every FTP-compatible tool supports SFTP or FTPS.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

FAQ

Is FTP built into Windows 10 and Windows 11?

Yes. Microsoft documents the built-in ftp.exe client for Windows 10 and Windows 11, as well as several Windows Server releases. Open Command Prompt and run ftp <host>.

Best Value
Sale
Ltemziiy Cat 8 Ethernet Cable 15 ft, Braided Shielded RJ45 Network Cable
  • High transmission Speed: Ltemziiy Cat 8 Ethernet Cable supports 40Gbps data transmission and up to 2000MHz bandwidth, enabling high-speed data transfer for server applications, online gaming, uploading, downloading, and HD video streaming
  • Braided design: The outer layer is constructed with 48-strand cotton yarn braid, designed for improved strength. the cable is tangle-resistant. It performs reliably in cold, wet, and hot environments
  • Anti-interference design: Cat 8 ethernet cable is made of 4 shielded twisted pairs (SSTP) of copper wires with 50 micron gold plated contact pins in each RJ45 connector, which can reduce signal interference
  • Wide compatibility: Cat 8 LAN cable is suitable for a variety of indoor and outdoor uses. It works with devices equipped with RJ45 connectors and is backward compatible with Cat7, Cat6a, Cat6, and Cat5 cables
  • Premium Pure‑Copper Conductor: Built‑in solid copper wires deliver excellent conductivity, reduce signal attenuation, and maintain stable high‑speed transmission

How do I connect without logging in automatically?

Run ftp -n ftp.example.com. After the ftp > prompt appears, use user to provide the account credentials.

How do I download a file with Windows FTP?

Connect to the server, use lcd to select the local destination, then run get filename. For example: lcd C:Temp, followed by get report.pdf.

Can Windows ftp.exe connect to SFTP or FTPS?

Do not assume so. SFTP is based on SSH, while FTPS uses TLS. Microsoft’s documentation describes the classic FTP client and does not establish support for SFTP or every FTPS configuration. Use a client that explicitly supports the protocol required by the server.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Why does ftp.exe connect but fail when I run dir or get?

FTP uses a separate data connection for directory listings and transfers. A firewall, NAT device, or server policy may permit the login connection but block the data connection. Run ftp -d <host> for protocol details and check the server and network firewall settings.

How do I exit the Windows FTP client?

At the ftp > prompt, enter quit. This closes the FTP session and returns you to the normal Command Prompt.

The Bottom Line

For a basic, traditional FTP connection, Windows already has what you need: open Command Prompt, run ftp <host>, authenticate, navigate with cd and lcd, and transfer files with get or put. Use -s: for UTF-8 batch files and -d when diagnosing a failed session. Do not confuse this legacy FTP client with an SFTP or FTPS client, and avoid sending ordinary FTP credentials over untrusted networks.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.