Update FtpControl.sh

debug. detect file.