Any examples with URL::withFileToUpload?


Can someone post a blurb on how to use URL::withFileToUpload in order to actually upload a file? I am a bit confused about the statement - the URL is to be used later to do actual file upload using a network input stream (or something like that - why would there be a network input stream if we are doing an upload?

A couple of lines of pseudo code would do.