Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: LWP::UserAgent post, file upload corruption.

by jcb (Parson)
on Feb 04, 2020 at 00:31 UTC ( [id://11112349]=note: print w/replies, xml ) Need Help??


in reply to LWP::UserAgent post, file upload corruption.

Are you sure that '/home/location/fie.bin' has not been somehow corrupted? Do you have a way to verify that file other than uploading it to the test device?

Replies are listed 'Best First'.
Re^2: LWP::UserAgent post, file upload corruption.
by FeistyLemur (Acolyte) on Feb 04, 2020 at 15:47 UTC

    The file is good, I use this updater on several machines as well as my own which all have the same issue, I am able to upload and even upgrade to this exact file using the web interface of the device in a browser without error. The device checksums the file before going ahead with a firmware flash, so it's definitely not corrupt on the disk.

    Using wireshark the post never even appears (it does when using the web ui, and did using this script before), all I get is a 200 ok after attempting the post, with the error message that states "connection was interrupted, or the file is corrupt. As per the other reply I will try the LWP debug and see how that goes for finding more info."

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11112349]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-18 01:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found