If I remember correctly, lynx downloads the file before it asks you where you want to save the file. It sounds like you either 1) don't have write permissions to the directory or 2) there is ...
I've been using the following line, but it doesn't seem to be working. You're using fprintf and fwrite in the wrong manner. Those are used to write to file streams, not stderr and stdout. And you're ...