>
> I don't think this is a good idea.  It will create confusion, I prefer
> them to work exactly in the same way so one day we can drop the --post-*
> commands.
>
> Okay, in that case, we could have a new command, something like:
--body-attach to signify an attached file.

I was more thinking of how to specify "boundary" for instance.  Expect
> that the file is well formed doesn't seem nice to users.
>
>  I don't really catch this. Shouldn't wget simply forward the file
specified by the user? What kind of checks should wget implement?

 >At most, we could prevent the file from being an executable
> >binary. (ELF in Linux, Win32 EXE in Windows, etc.)
>
> Why?
>
> Just a thought. To prevent misuse of Wget to send potentially malicious
code to the servers.
Scratch that, if it doesn't sound good.

-- 
Thanking You,
Darshit Shah
Research Lead, Code Innovation
Kill Code Phobia.
B.E.(Hons.) Mechanical Engineering, '14. BITS-Pilani

Reply via email to