• All you have to do is change "put" to "get."

    You're path has to be pointing to a file that actually exists on the remote server, but that's about it.