Synchronous File Transfer Help

I can’t figure out how to write a synchronous file transfer between two XOJO applications so I can call something like the following:

If sendFile ( f ) Then
Success
end if

The file sizes could range from a few K to several hundred megabytes.

Thanks!
Bart

To use a socket synchronously, you call .Poll in a loop. Obviously, that could stall your app if it’s not in a thread.

Thanks Tim - I’ll see what I can come up with using that approach.

Bart