Building scripts for automated FTP


Article from Issue 59/2005

If you find your self executing the same few steps in FTP, you’ll save time and effort with a little automation.

File Transfer Protocol (FTP) is the defacto standard for transferring files over TCP/ IP networks. The basic FTP protocol has been around for years, and though FTP is not especially secure, it will be around for many years to come due to its many features and well established user base. This article examines some techniques for automating FTP through scripting. I will not be focusing on the different types of FTP servers like wu-ftp or vs-ftp but will concentrate instead on the client side. I’ll show you how you can use a script to connect to an FTP server and retrieve files.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Automation Tips and Tricks

    We asked some of our authors to share their favorite automation tricks.

  • Nmap Scripting

    Nmap is rolling out a new scripting engine to automatically investigate vulnerabilities that turn up in a security scan. We’ll show you how to protect your network with Nmap and NSE.

  • Bash scripting

    A few scripting tricks will help you save time by automating common tasks.

  • Admin Workshop: Backups with Rsync

    It is often inefficient to fire up a tape drive whenever you need to back up files or restore a backup. The Rsync tool pushes critical files to a second computer, where you can access them easily.

  • Puppet

    Learn how to save time and streamline your system administration with the help of Puppet, a centralized configuration management tool.

comments powered by Disqus

Direct Download

Read full article as PDF:

Automating_FTP.pdf (257.90 kB)