Specifying Upload Options

Hazel’s Upload action lets you upload files or folders that match your conditions to an FTP, SFTP, or WebDAV server.

After you choose “Upload” from the first pop-up menu, choose “Add Server” from the second one. A dialog appears, in which you can fill in the details for the destination.

To set up a server:

  • Fill in the “Server,” “User Name,” and “Password” fields, which should be self-explanatory. (As the dialog says, Hazel stores the password in your Mac’s keychain.)

  • Use the “Protocol” pop-up menu to choose your protocol—the options are:

    • “FTP”

    • “FTP (Implicit TLS/SSL)”

    • “FTP (Explicit TLS/SSL)”

    • “SFTP” (Note: If you choose SFTP as the protocol, a key   icon appears next to the “Password” field, which you can optionally click to select an SSH key file in lieu of a password.)

    • “WebDAV”

    • “WebDAV (HTTPS)”

  • Hazel automatically fills in the default port based on the protocol you choose, but if your server is set up differently, you can enter a new number in the “Port” field to override it.

  • The “Start Path” is optional. If you already know the exact path to your desired destination folder on the server, you can enter it in this field, but you need not do so, because you’ll have the opportunity to navigate to it in the next step.

  • Click “Connect.” Hazel connects to the server with your credentials and, assuming the connection was successful, displays a dialog showing either the top-level folder in your account on the server or the folder of the “Start Path” (if you filled it in). If you want Hazel to save files anywhere other than the folder currently visible, navigate to it now. (Or, to create a new folder, click “New Folder.”)

  • Click “Open.”

Hazel adds the server to the action.

Once you’ve defined a server for any action, that server also appears as a potential destination in the pop-up menu for other “Upload” actions (either in this rule or in other rules).

To edit an existing server, select it from the “to server” pop-up menu in the rule action and then choose “Edit Server” from the same pop-up menu.

SEE ALSO

Action Reference

Copying Folder Structure

Using Patterns in Actions