you could involve jenkins if you want. Or use SCP.

$scp <filename> <username>@<server>:<destinationpath>

you can scp @ a windows host, but windows will not tolerate ~. idk how to encode slashes or spaces.

and of course if you have a directory, use -r, and maybe /* to get only the files in the directory. (lest you wind up with a lot of publish/publish type situations)

$scp -r <directory>/* <username>@<server>:<destinationpath>