Hello, I am playing a bit around with the client protocol (2.0) currently and a have few questions.
One is regarding 'ClientGet'. To download a file to disk I have to pass the filepath and its size in the request. This is leaving me with one or the other headscratch. How am I supposed to know in advance what type of file I am requesting and what its size is? One of the (bit hackish) solutions I came up with sending a 'ClientGet' with a size of -1 or 0, hoping the request fails, to get the missing peaces from 'GetFailed' (code 21), but have no idea if this is intendet use or how reliable it is. Another headscratch is: how am I supposed to know in advance if a filepath I pass today can be written tommorow? In the meantime some other file with the same name may find its way into the folder, the folder might disappear... or whatever. So I wonder why the filepath (and TestDDA) is not requested somewhere near 'DataFound', when it is actually needed. Anyone any hints? Thanks, Juergen
