Skip to content

Instantly share code, notes, and snippets.

@fishdust
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fishdust/abd0fef467bf38bf4bb3 to your computer and use it in GitHub Desktop.
Save fishdust/abd0fef467bf38bf4bb3 to your computer and use it in GitHub Desktop.
Using salt to upload remote data to a FTP server via Curl
salt 'salt-client.domain.com' cmd.run "curl -v -T /path/to/file.foo ftp://ftpuser:ftppass@domain.com/destination/path/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment