static void Main(string[] args) { String uid = ""; String pwd = ""; String filename = ""; if (args.Length < 3) { Console.WriteLine("Usage:"); Console.WriteLine("Recipe7_3 [User ID] [Password] [File to upload]"); } else { uid = args[0]; pwd = args[1]; filename = args[2]; FormUpload upload = new FormUpload(); upload.Upload(uid, pwd, filename); } }