Yes, you should change the content-type to be text/plain. However, that won't fix your problem; you will (I think) need to convert the newlines. However, note that unix2dos is the equivlent of doing s/\cJ/\cM\cJ/sg in the string in question.
Update: Fixed the first \cM to \cJ.
In reply to Re: Uploading Unix text to IIS 5.0 Web Server with LWP?
by theorbtwo
in thread Uploading Unix text to IIS 5.0 Web Server with LWP?
by LameNerd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |