There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
RetrCommandHandler - File is null issue
When a blob file doesn't have permissions to be accessed and the retr command tries to read the file, on line 37 of RetrCommandHandler.cs IFile file does not show up as null. Instead the file object exists, but file.File is null. The way the code is currently
structured, instead of throwing an error, the file downloads, but no bytes are transferred. Below is my suggestion for changing the code to correctly throw an error. It's currently in use on my local version of the code.
Line 39: if (file == null || file.File == null)
This will solve the issue of empty files being downloaded as discussed in the discussion area. I've attached my copy of the file.