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:
ftpuse F: my.ftpsite.net password /USER:username
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!