Ok, I got it. Thanks. Conversely, I guess I can upload data from a MemoryBlock instead of from a BinaryStream. Am I right? How could this be done?
Jean-Luc Arnaud Le 12/12/2014 16:54, Christian Schmitz a écrit : >> Am 12.12.2014 um 13:19 schrieb Jean-Luc Arnaud <jean-...@cdmultimedia.fr>: >> >> Hi, >> >> Is it possible to download a text file from a FTP server directly in a >> MemoryBlock instead of a BinaryStream, using CURLMBS? >> The file will be less than 10KB. > of course. > > just do normal download, but don't use binary stream. > Set CollectOutputData = true and later check OutputData property. > > I could of course make a function to give OutputData as memoryblock, but with > 10K it should not be a problem to convert from string to memoryblock on > demand. > > Greetings > Christian > _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info