Simple File Uploading Command Line (C)