Completed example for ftp integration