@bagder I have never seen the ftpuploadfrommem ! I think just having this one linked is enough! @jay No sorry, in that example the comment in the function says ... that well this is just an example, and real world usage will be different
But that goes for all examples! They are after all examples, we don't expect any of them to be used exactly verbatim by people. They're there to show how the APIs are used and that example does show how the API is used even if the exact implementation possibly won't be used in applications.