How to map any FTP server and/or folder to a Windows drive letter using FTPUSE

How to map any FTP server and/or folder to a Windows drive letter using FTPUSE

FTP servers and FTP connections are often the best solution you can get for a number of dedicate system administrative tasks, such as: system backup, remote backup, secure file exchange among different servers/clients and so on. The only downside about them is that they are quite limited in terms of available commands: for example, you cannot easily integrate them into batch scripts that automatically delete files older than a certain date and so on. This is especially true on Windows, where we only have the native FTP.EXE command, which is still settled to the same point of sixteen years ago when it firstly appeared on Windows XP.

For those who want to automate things a bit more I can definitely recommend FTPUSE, a neat freeware command-line tool developed by ferrobackup.com which can be used to map any FTP server/folder to a Windows Drive letter: it works just like the "Map Network Drive" feature, which should be something you already know well if you're into batch scripting.

You can download FTPUSE from its official website at ferrobackup.com. The software is compatible with all major versions of windows: Windows XP, Vista, 7, Server 2003, Server 2008, Windows 8, Server 2012 and Windows 10 (32-bit, 64-bit). As soon as you get and install the software, you can use it in the following way:

This one-liner will leave you with the my.ftpsite.net FTP site mounted on the F: drive. Once done, you can use it just like any other drive and do some fancy stuff such as, for example, deleting all the files older than X days.

That's it for now: happy scripting!

 

 

 

About Ryan

IT Project Manager, Web Interface Architect and Lead Developer for many high-traffic web sites & services hosted in Italy and Europe. Since 2010 it's also a lead designer for many App and games for Android, iOS and Windows Phone mobile devices for a number of italian companies. Microsoft MVP for Development Technologies since 2018.

View all posts by Ryan

5 Comments on “How to map any FTP server and/or folder to a Windows drive letter using FTPUSE”

  1. Pingback: How to delete files older than X days from FTP server or folder with a batch file in Windows
  2. Hi Ryan – I wonder if you can help me with this.
    I have a portable storage device connected to the USB port of my router. In Windows 10, I can see the drive as a network location (ftp://ftpadmin:[email protected]/usb1_1/MyMusic/iTunes_Media/Music/) . I downloaded and installed FTPUSE and run the following from the CMD line as Administrator:
    FTPUSE F: ftpadmin:[email protected]/usb1_1/MyMusic/iTunes_Media/Music/ /USER:ftpadmin
    I get confirmation that the operation was successful but I still cannot see the mapped network drive in File Explorer. Any ideas would be much appreciated.

    1. Hello Fletch, I honestly have no idea regarding your issue: apart from File Explorer, are you able to access the F: drive from the command line? Also, have you tried other letters (such as H, I or so on)?

      Please let us know.

      1. Hi Ryan,
        Yes, I tried different drive letters with the same result. After I receive confirmation that the operation was successful, I then try cd F: but it says the drive is not recognised.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.

This site uses Akismet to reduce spam. Learn how your comment data is processed.