todo and mediacenter login script for ftp upload