I have couple of doubts regarding downloading of file using QT

1. Is it possible to get the size of file before start downloading ?
2. Also is it possible to download only x to y bytes from a file ?

Thanks in advance.