in reply to Sending file as "TEXT" or "BLOB"
If the file does exist, it should return content-type: application/zip. If it does not, the usual practice is to send application/json containing an error-message packet. Exactly what help do you need here?