If you are referring to a file on the server being read only, I assume you mean the current logged in user has only read permission and not write permission (and not the Windows-specific 'read-only' flag).
If you want to replicate this on the local file after downloading, you'll need to use System.Security.AccessControl after transferring the file to set its access rules.