I'm not sure if I understand your environment in which you would do that file
upload. As I mentioned before, I did some little testing with chunked uploads
using a web browser as a client and there a javascript library. At the server
side I use WEB GET BODY PART in conjunction with WEB Get body part count. I was
able to upload file up to 4 GB.
It looks really simple:
For ($index;1;WEB Get body part count)
WEB GET BODY PART($index;$MimeBody;$name;$mimeType;$filename)
// do something with the chunk received in $MimeBody
End for
If you use another client than a web browser you have to mimic the appropriate
request. Using 4D as a client shouldn't be a problem. Simply use HTTP Request
and build appropriate headers and body.
Regards
Lutz
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************