cleaned up the code a bit. made the put command a bit more dynamic (adding file name to server path if path is folder). Files with spaces in the name can now be used when the path is "withing quotes". Added a backup function to get, it makes a backup file when reading and replaces it if get fails. Tested it and all. It's 0:47 now, I hope Tim is happy...