Older systems with dd do not support these flags iflag=skip_bytes,count_bytes, causes the script to hang. Also if block size is not set to 1, dd copies in blocks of 512 bytes which breaks the upload
dd if=${file} skip=$(( file_offset + offset )) count=${length}
Older systems with dd do not support these flags iflag=skip_bytes,count_bytes, causes the script to hang. Also if block size is not set to 1, dd copies in blocks of 512 bytes which breaks the upload
dd if=${file} skip=$(( file_offset + offset )) count=${length}