I've been trying to get some ftp uploading going with libcurl. But somehow I can't get it to work. Connecting to remote server works fine and I also manage to download a file from the server, thanks to the great examples. But when it comes to uploading I get stuck - no example to copy and paste from :-(
I read through the help file half a dozen times and know that I have to create a
readFunction(buffer:Byte Ptr, size:Int, data:Object)and then hook it up with
curl.setReadCallback(myReadFunction, myData).
But I can't figure out what needs to happen inside the readFunction()...
Thanx for any help!
I read through the help file half a dozen times and know that I have to create a
readFunction(buffer:Byte Ptr, size:Int, data:Object)and then hook it up with
curl.setReadCallback(myReadFunction, myData).
But I can't figure out what needs to happen inside the readFunction()...
Thanx for any help!