Home Forums ActiveX components Xceed FTP for ActiveX I’m getting the error “The current state prevents the method call from being performed.” when calling the SendMemoryFile/SendMemoryFileData methods.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #42853 |

    The call to the SendMemoryFile method automatically blocks, therefore it is necessary to set the BackgroundProcessing property to true before the call to the SendMemoryFile method in order for the call to the SendMemoryFileData to work.

    As of version 1.1 of the Xceed FTP Library, the SendMemoryFileEx method can be used. This method allows you to begin the process of sending data from memory directly into a file on the FTP server in the same way as the SendMemoryFile method, but does not require setting the BackgroundProcessing property

    Imported from legacy forums. Posted by Xceed admin (had 1486 views)

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.