If you are looking for a way to add a network location or map an FTP drive and access files & folders on an FTP server, in Windows, natively, then this post may help you. You will be able to have one-click easy access to your files on networked locations via the Windows File Explorer.
How to Map FTP Drive
You can create or map a drive directly to your FTP site from within Windows. To do so, open File Explorer > Computer (This PC). Right-click and select Map Network Drive.
You can also use the Map network drive button:
It offers options to:
- Map network drive
- Disconnect network drive.
In the box which opens, type the FTP address or the path to your Network drive or browse to it using the Browse button. Your folder Properties must be set to Shared in order to map it as a network drive. You will get the setting under Properties > Sharing tab > Advanced Sharing > Check the Share this folder option.
Check the Reconnect at sign-in option to make the mapping permanent. If you plan to use credentials from the networked computer to access the shared folder, check the Connect using different credentials option and click OK. You will be asked to enter the username and password Next.
You will now have to enter the credentials for the user account, using the following format in the username name field so that your system knows which networked computer it is going to connect to – Computer\Username. Browse to your network folder for mapping and click OK.
Once you have done this, you will be able to see it in Explorer.
To map an FTP site, click on the Connect to a website that you can use to store your documents and pictures link to open the Add Network Location wizard.
Here you have to choose a custom network location and specify the location of your website, specify the login credentials that may be required and name the mapped FTP drive.
Add Network Location
Uncheck Log for anonymously and give the username & password. Click on Next. Give a name to the networked location, when asked. Click Next again. Now select Open this network location when I click Finish.
You will be asked to enter your credentials, and once you do so, you will be connected to your network drive or your FTP drive or your website.
This is quite useful if you need to connect your computers together for sharing files, store files online or run a website.
TIP: See this post if you are Unable to map Network drive.
Map a Network Drive using Command Line
To map Network Drives using the command line, in an elevated command prompt, you have to run the following command:
net use x: \\server\share /persistent:yes
Here x is the drive letter, and the /persistent:yes parameter makes it permanent.
You can read more about the Net use command, which lets you connect a computer to a shared resource on Technet.
Map a Network Drive using PowerShell
To map Network Drives using Powershell, you have to run the following command:
New-PSDrive -Name x -PSProvider FileSystem -Root \\server\share -Persist
You can read more about New-PSDrive, which helps you create mapped network drives on MSDN.
Related: How to map WebDAV as a Network Drive.
- The folders you map should be set to SHARE before you can access them via drive letters
- If you are trying to access a drive from another computer, it should be ON and running; even if the computer is sleeping, you cannot access that drive
- You should know the credentials of the folder, computer, or website you are trying to map or connect as a network drive
- Download FTP Drive tool from KillProg.com. It makes several things including adding a drive letter easier
- You may want also to check out FtpUse, a free tool that helps you map an FTP server as a Local Disk Drive.
- Use Network Drive Control to make Windows automatically map network drives by network name when you log in
- Visual Subst is a free tool that lets you easily create Virtual Drives for your Folders & map Cloud Storage as Virtual Drives.
- How to map OneDrive as Network Drive
- Mapping OneDrive for Business as a Network Drive
- Access FTP Server using Windows Command Prompt
- How to access FTP Server using Notepad++.