Logging for ftp script