Skip to content

Commit

Permalink
Update FtpClient_LowLevel.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierSOW authored Jul 18, 2018
1 parent 323c138 commit 9068701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FluentFTP/Client/FtpClient_LowLevel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ FtpDataStream OpenPassiveDataStream(FtpDataConnectionType type, string command,
if (!(reply = Execute(command)).Success) {
stream.Close();
if(command.StartsWith("NLST ") && reply.Code=="550" && reply.Message== "No files found.") {
//workaround for ftpd which response "550 No files found" when folder exists but is empty
//workaround for ftpd which responses "550 No files found." when folder exists but is empty
}
else {
throw new FtpCommandException(reply);
Expand Down

0 comments on commit 9068701

Please sign in to comment.