For downloading, try something like this:
Dim ht As New HTTPSocket
Dim theResult As String = ht.Get( "http://google.com", 2 )
Note that the 2 is the timeout value.
For uploading, use a post form like the one the in LR.
Regards,
Giles Williams.
On 18 Sep 2006, at 06:36, Craig Hoyt wrote:
I need to be able to download a file from a server, churn the data
and upload it back onto the server. I need to download straight
into memory or a var. The churning process is quite fast so I'd
like to be able to upload from the same session if possible but it
is not necessary. The data is about 1k (a series of 10 strings with
each string under 100 bytes). I've found an example in HTTPSocket
to download to a file but not to a var and I've not found anything
on uploading. Can someone get me going in the right direction. I'm
not very savvy on this.
Craig
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>