How to ftp a file?

task checkWebServer << {
ssh.run {
put from: ‘build/libs/go2-0.2.jar’, into: ‘html/go/go2.jar’
}
}
}

works like a charm!

still not getting any emails.

how do i mark this thread done?

thanks