Then get out a network sniffer or use use LWP::Debug qw(+) to see what gets sent over the wire.
There is no way we can help you debug this situation, as you do not show us the whole code, especially line 107, nor information on the data, nor what Content-Length value you sent and why LWP::Protocol::http feels the need to override it.
That warning might be a red herring, but you don't tell us what the server sends as result page after your upload, and you also don't tell what the server error logs say.
| [reply] [d/l] [select] |
Thanks once again.
The server sends us a text file as the acknowlegement after upload. What i see in the text file is default error information i.e, File not imported.
I use LWP::Debug qw(+) and this how i found out this error:
Content-Length header value was wrong, fixed at C:/Perl/lib/LWP/Protocol/http.pm line 189.
My assumption is that the file is not being sent to the website atall.
I dont have access to the server logs as this server is not maintained by us
Thanks once again
Karthik
| [reply] [d/l] [select] |
My assumption is that the file is not being sent to the website atall.
You can assume all you want, all day long, but it won't get you any further with this problem. Also, you have provided no additional information that helps us discern the nature of your problem at hand. In fact, part of your problem seems to be that you are bad at diagnosing things and identifying steps to move from assumptions to facts. You could of course simply call the administrators of the remote server to provide information.
So, find out exactly what gets sent over the wire. I have already provided you with information how to find that out. If you care, you can tell us about it. But if you don't, we can keep playing "Guess my problem" for years to come.
| [reply] |