[Ovmsdev] Size limit on scp
casner at acm.org
Sun Mar 25 23:56:15 HKT 2018
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
What size limit do you think would be appropriate?
On Sun, 25 Mar 2018, Mark Webb-Johnson wrote:
> Is there any particular reason for this:
> $ scp build/ovms3.bin mark at ev914.local:/sd/ovms3.new
> scp: size unacceptable: 1841760
> Can we increase to allow firmware copies to SD?
> Regards, Mark.
More information about the OvmsDev