dutchcoders / goftp

Golang FTP library with Walk support.
MIT License
278 stars 99 forks source link

Add upload helper #18

Closed bergwolf closed 8 years ago

bergwolf commented 8 years ago

To upload a file, or recursively upload a directory. Only normal files and directories are uploaded. symlinks are not kept.

Signed-off-by: Peng Tao bergwolf@gmail.com

bergwolf commented 8 years ago

Sample program using ftp.Upload() https://gist.github.com/bergwolf/401a9408b94b6a4977543da0bf72f856

nl5887 commented 8 years ago

Awesome. Great work!