The funny part of this is, it was your post that made me write that code/post.
You said one comment above mine :
So I wrote a 5 line program that WILL delete (ok if there was the code the really unlink) the wrong files if you type too much data into stdin when using get.Furthermore, it can completely screw up your program. It could even delete files you wouldn't want off your hard drive. Would you like that?
So I assumed the 5 lines of code would be self explanatory.
Dylan