realbasic-nug
[Top] [All Lists]

HTTPSOCKETs and POSTING

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: HTTPSOCKETs and POSTING
From: Michael Williams <mwilliams at mgreg dot com>
Date: Sat, 29 Apr 2006 19:44:57 -0400
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Hi All,

I'm having a problem with HTTP POST.  Basically the following works:



dim f as folderitem
dim mySocket as new httpsocket

f = getfolderitem(DesktopFolder.child("myfile").absolutepath)
mySocket.post "www.someurl.com", f




However, the minute I place that code below several other read/writes it doesn't work. The file is created, but nothing is written to the file; it's. . .just. . .empty. I even use different variables for the previous "folderitems"; which coincidentally all work in and of themselves. Is there any reason the HTTPSOCKET.POST would seemingly decide to "hose" if it occurs after several other non-socket related commands? Is the system just "too busy"? Thanks in advance.


Regards,
Michael

_______________________________________________
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>


<Prev in Thread] Current Thread [Next in Thread>