VB - Winsock binary send/receive-VBForums
Results 1 to 6 of 6

Thread: VB - Winsock binary send/receive

  1. #1

    Thread Starter
    Hyperactive Member Dmitri K's Avatar
    Join Date
    Sep 2002
    Location
    West Palm Beach, FL
    Posts
    444

    VB - Winsock binary send/receive

    Following example shows how to send and receive files using Winsock control.
    Attached Files Attached Files

  2. #2
    New Member
    Join Date
    Jul 2013
    Posts
    3

    Re: VB - Winsock binary send/receive

    I got registry error trying to use these files. I need to transfer a file to an ftp site using inet. i get a response code showing I am connected to the site, but then a get a can't connect to remote host error. Any ideas?

  3. #3
    Web developer Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    11,476

    Re: VB - Winsock binary send/receive

    Quote Originally Posted by BenjiDia View Post
    I got registry error trying to use these files. I need to transfer a file to an ftp site using inet. i get a response code showing I am connected to the site, but then a get a can't connect to remote host error. Any ideas?
    Which version of Windows are you using?
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    Please consider giving me some rep points if I help you a lot.
    DON'T BUMP YOUR POSTS!!! Links to my code examples can now be found on my website: My websites
    Please rate my post if you find it helpful!
    Technology is a dangerous thing in the hands of an idiot! I am that idiot.

  4. #4
    New Member
    Join Date
    Jul 2013
    Posts
    3

    Re: VB - Winsock binary send/receive

    Quote Originally Posted by Nightwalker83 View Post
    Which version of Windows are you using?
    vista

  5. #5
    PowerPoster
    Join Date
    Feb 2006
    Posts
    10,470

    Re: VB - Winsock binary send/receive

    I don't see anything suggesting this CodeBank submission supports the FTP protocol.

    The zip archive is mangled (at least when I downloaded it I find that there are 6 bytes of crap ahead of the archive itself). Fixing that, I find a really poor example of a file transfer program. One likely to mangle binary data, or at best be absurdly slow due to multiple implicit conversions between ANSI and Unicode... and that's just where its problems start.

    Very bad example, and no, it does not support FTP.

    Seriously, "These aren't the droids you're looking for,"

  6. #6
    New Member
    Join Date
    Jul 2013
    Posts
    3

    Re: VB - Winsock binary send/receive

    Thanks. There are examples that supposedly work all over the net. Somehow they don't work for me!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.