Page 1 of 1

Client feature request: Create zero size files instead of transmitting them

Posted: 2016-12-15 08:44
by Mario H.
Before posting this, I searched for zero size and found this post from Tim Kosse (from 2006) where he informed on improvements in adding a large number of files of zero size to the queue.

How about improving the transmission of such files as well?

You see, a file of 0 Byte has no content, so it doesn't need to be transferred. By adding it to the queue, you already know its name and path, and its date and time. So instead of opening a connection to transfer it, you could just create or update the file.

I don't know whether that is easy for uploads. But at least for downloads this should be much faster.

Kind regards,

Mario

Re: Client feature request: Create zero size files instead of transmitting them

Posted: 2016-12-15 10:10
by botg
For uploads, the only way to actually create an empty file is to start a regular transfer, just with 0 bytes of data transferred.

The downloads, the filesize reported by the server is unreliable. It may be missing, outdated or plain wrong information. The only way to be sure it's an empty file is to actually transfer it, it no data is transferred then it truly is an empty file.

Re: Client feature request: Create zero size files instead of transmitting them

Posted: 2016-12-15 10:13
by Mario H.
What a pity, but thank you for your quick reply and explanation!