Another option; if you don't have (or want) a webserver running, is to just secure copy the file from/to the machine using OpenSSH and it's tools.
To secure copy a file from a server:
$ scp -p<portnum> <username>@<ip>:/home/<username>/<dir>/<file> .
To secure copy a file to a server:
$ scp -p<portnum> <file> <username>@<ip>:/home/<username>/<dir>
Or you can use GFTP to securely transfer files, just specify SSH instead of Telnet as the transfer mechanism.
If a windows solution is required, look into WinSCP and it's related tools.