Using Ftp with Grails

In one of my Grails project I need to drop files over ftp server. Using JSch one can easily transfer files over sftp. Just follow the below steps. 1. Add the below dependency to Grails project "grails-app/conf/BuildConfig.groovy" file [sourcecode language="groovy"] dependencies { compile 'com.jcraft:jsch:0.1.49' } ...

by Puneet Behl
Tag: ftp


Fetching File From FTP in Background With Curl.

Last night I had to restore file with size greater than 220GB from our backup FTP server to our main server after OS re installation. Now I could have simply done “get” after logging into ftp out server, but that would have required my machine to stay awake all night unattended. Seems simple but everything I tried didn't seem...

by Hitesh Bhatia
Tag: ftp