Has anyone ever tried integrate spark with ftp

I want to integrate with the ftp like red5 spark plugin form.

if i click button, show new window with access ftp server. but I do not know where to start. is there anything that can help

thanks before