Id of the file.
Name of the file.
Type of the file.
Size of the file.
Length of the internal buffer.
Optional
timeout: numberTimeout for a single check in seconds.
Optional
retries: numberNumber of retries before considering it as a failure.
Download the file.
Maximum length for the data to ask at one time.
Function that will be called to ask for some parts of the file.
Number of parallel calls to perform (default value: 1
).
Optional
timeout: numberTimeout for a single check in seconds.
Optional
retries: numberNumber of retries before considering it as a failure.
Get informations representing the file.
All informations representing the file.
Get informations about the TransferFile.
Informations about the TransferFile.
Get the file metadata.
File metadata.
Wait and check for presence of a specific part of the file.
Offset from the start.
The requested limit.
Timeout in seconds (default: 1
)
true of the part was received.
Wait for a specific part of a file, with some retries.
Function to ask a file part to the sender.
Offset from the start.
Maximum number of bytes that we can read.
Optional
timeout: numberTimeout for a single check in seconds.
Optional
retries: numberNumber of retries before considering it as a failure.
Generate a new TransferFile instance.