Upload Reports on [s]ftp Server

Produced .csv report files can be uploaded on ftp or sftp servers. The command is upload [-d] ftpURL fileName. -d states for removing the local file. We are using Apache Commons VFS and all protocols used there are supported. Example:
upload sftp://ftpusser@ftp.ftphost.com/intoFolder report.csv

Navigation