Hi @yoji sato Thank you for posting the question here.
While it is not possible for the device to download the file when disconnected, as per the implementation of Azure device update, the download of the update file should resume one the device reconnects to the IoT Hub within 24 hours of disconnect. After 24 hours, the download will need to be reinitiated by the user. Assuming that the device disconnects are momentary, the download should resume itself. Have you given few minutes after the device reconnects and observe if the upload resumes?
I do not see any hard limitation on the property NX_AZURE_IOT_HUB_CLIENT_TOKEN_CONNECTION_TIMEOUT
Increasing this value would help keeping the connection active for a longer duration. However, please note that, this property only has an effect on devices connected IoT Hub using NetX Duo. If the device is connected to the IoT Hub through any other device SDK, the default reconnection pattern Exponential back-off with jitter takes effect. Please look into the Retry patterns for more information on this.
You may also be interested to note that Device Update is also supported for disconnected devices that are operated behind gateways. This feature is currently in preview. Here is an article on Understand support for disconnected device updates for your reference. Hope this helps. Please let us know if you have any additional questions or need further clarification.
If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.