Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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

by jcb (Vicar)
on Feb 04, 2020 at 00:31 UTC ( #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 (Novice) 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?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2020-11-27 05:56 GMT
Find Nodes?
    Voting Booth?

    No recent polls found