how can i use ruby to find a phone, send it all the files in a directory and then add the phone to a directory so it wont have the file sent to it untill the data base is cleared. i would like the data base to be cleared when the app finishes. any ideas how to do this