FtpDLX.NET throws an error at GetAttributes() from TitanFTP - WeOnlyDo Discussion board

FtpDLX.NET throws an error at GetAttributes() from TitanFTP (wodFtpDLX / wodFtpDLX.NET)

by Vadym, Thursday, March 09, 2017, 09:04 (2816 days ago) @ Jasmine

Hmm... that's strange.
We have a simple FtpDLXWrapper which calls the ftpDlx.ListNames(folder); (we don't have a problem with it) and the exception occurs at the next stage - on the first call of method GetAttributes().
Here is a piece of C# code (a bit simplified) from our wrapper:

using WeOnlyDo.Client;

internal class FtpDLXWrapper 
{
  FtpDLX ftpDlx = new FtpDLX();
  
  public FtpDLXWrapper()
  {
    //..
  }

  public void GetAttributes(string file)
  {
      ftpDlx.GetAttributes(fileUrl);
      var size = this.fileSize;
      var modificationTime = this.fileModificationTime;
  }
}

Please try it on you test environment. If it works for you as well, then could you share here the part of code that gets the attributes ?
May be we miss some detail.

Best regards,
Vadym.


Complete thread: