Fix upload not working when the agent cannot be deployed
When the agent cannot be deployed the upload command fails as remote_block_size is not set. This commit sets remote_block_size to 1 by default.
Updated the df command used in file upload to use -k (sets the block size to 1024 bytes) instead of --block-size. This improve compatibility with other versions of df, like BusyBox and Toybox implementations that do not support --block-size.
Updated the
dfcommand used in file upload to use-k(sets the block size to 1024 bytes) instead of--block-size. This improve compatibility with other versions ofdf, like BusyBox and Toybox implementations that do not support--block-size.
-k is not equivalent to -B 1 so I will need to change some more code