Mark, Yes, that limit can definitely be made larger. It is just part of the code validating the command received from the scp client. I modeled that validation code after the scp code in openssh where the size validation was checking for the value to fit in off_t, but my mindset at the time was that only small files like scripts and configs would be transferred. I wasn't sure about an appropriate off_t definition in esp-idf. What size limit do you think would be appropriate? -- Steve On Sun, 25 Mar 2018, Mark Webb-Johnson wrote:
@Steve
Is there any particular reason for this:
$ scp build/ovms3.bin mark@ev914.local:/sd/ovms3.new scp: size unacceptable: 1841760
Can we increase to allow firmware copies to SD?
Regards, Mark.