I found NcFTP to be a useful toolkit for use in scripting. Aside of a linux version, it also has precompiled binaries for Mac and Windows.
The toolkit contains different programs which are very useful for use in various scripting (such as automatic file upload/download, and more). Both regular FTP and SFTP are supported.
Send a link to this post to yourself or a friend.