O'Reilly logo

Grunt Cookbook by Jurie-Jan Botha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deploying over FTP

In this recipe, we will make use of the ftp-push (0.3.2) plugin to upload files to a hosting server, using the File Transfer Protocol (FTP).

FTP has been around since the early days of the Internet and is still in abundant use. As its name implies, it provides a way to transfer files over the Internet and as such, has been the staple for the deployment of resources to web servers since its inception.

Getting ready

In this example, we'll work with the basic project structure that we created in the Installing Grunt on a project recipe in Chapter 1, Getting Started with Grunt. Be sure to refer to it if you are not yet familiar with its contents.

In addition to the standard project setup, the following recipe will also require an existing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required