I have written a database application. In that, there is a feature of offsite database backup. I need to upload the database to ftp server.


How can I upload the database to ftp? Can anyone suggest some code that can do this.

Please help and guide.