WINSOCK Question.



I have a VB app that Up and Downloads files from an IIS server. The download
works great (using ITC). As I could not get ITC to post to the server, I
decided to use winsock.

I successfully create a connection to the server (winsock1.state = 7) that's
all good. However, when I try to use the SENDDATA method, my laptop Beeps,
then everything justs hangs.

Here is a snippet of code:
StartClock
MsgBox ("State: " & wsUpload.State)
wsUpload.SendData strPostData
DoEvents
blnConnected = wsUpload.State
MsgBox (blnConnected)

RemotePort is 80 (i.e. IIS default port). No security (NTFS etc) issues as
this is on my laptop.

Does anyone have any ideas as to what is gone goofy? Do I need to run a
Server Side app that listens for and responds to my Winsock app?

Alternatively, if somone could tell my why the POST method of ITC isn't
working that would helpful as well.

Here is code snippet from the ITC test app:
.Execute , "PUT ", "c:\temp\return.htm"

Thanks in advance.

:)
Wiley


.



Relevant Pages

  • Re: WINSOCK Question.
    ... Once you establish a connection you need to send the GET command ... I have a VB app that Up and Downloads files from an IIS server. ... As I could not get ITC to post to the server, ... Server Side app that listens for and responds to my Winsock app? ...
    (microsoft.public.vb.controls.internet)
  • Re: WINSOCK Question.
    ... Jim, I am trying to SEND a file to IIS using the Internet Transfer Control ... but nothing is deposited onto the server. ... As I could not get ITC to post to the server, ... > Server Side app that listens for and responds to my Winsock app? ...
    (microsoft.public.vb.controls.internet)
  • Re: FtpFindFirstFile and "500 Invalid PORT Command"
    ... I have an app that runs 24x7 and downloads files from a XPPro at a ... Both the server and the app are on the same network ... files on the remote server using FtpFindFirstFile: ... post suggesting that the first 4 numbers are octets of a client machine ...
    (microsoft.public.win32.programmer.networks)
  • Re: Homegrown synchronization
    ... to check for update files in the Import DropBox for the server. ... similar to the import code used to update a remote backend). ... code to close the "sync" app. ... synch app, but only one at a time would be able to do synchs. ...
    (microsoft.public.access.replication)
  • RE: Beginners Questions
    ... We do use Windows form on the presentation layer which is on ... terminal server and call web services on the business logic side. ... of using "proxy" authentication on SQL Server. ... > I have written an app with a Windows Forms UI that is deployed to clients ...
    (microsoft.public.dotnet.distributed_apps)

Loading