Thread: winsock ftp client

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    81

    winsock ftp client

    with a ftp client does your connection need to be asynchronous or blocking.

    i have it blocking and after i send the pasv command and try to send something such as the list command nothing happens.
    Last edited by ColdFire; 05-04-2003 at 07:25 PM.

  2. #2
    Registered User johnnie2's Avatar
    Join Date
    Aug 2001
    Posts
    186
    Alright, are you saying any command after PASV is simply not sent (any further command sent to the server has no effect or the send() results in an error) or that nothing is happening after specifically sending the LIST command?

    Socket type, asynchronous or otherwise, shouldn't matter if your application is properly receiving data when data arrives.
    "Optimal decisions, once made, do not need to be changed." - Robert Sedgewick, Algorithms in C

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    81
    The PASV command returns sucessful but anything i send after that doesn't seem to do anything, heres what happens.

    Creating socket...OK
    Resolving host...
    USER...
    PASS...
    Logged In.
    200 Type set to A.
    227 Entering Passive Mode (65,113,119,132,16,181).
    LIST
    after passive mode everything seems dead, nothing returns a response from the server, and i've tryed on multiple servers.

    Sending USER, that works fine, Then PASS fine TYPE fine PASV fine and then nothing.
    Last edited by ColdFire; 05-05-2003 at 12:26 PM.

  4. #4
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    I suspect the client might end to send other commands before LIST.

    Kuphryn

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. FTP and Ident Server :: Winsock
    By kuphryn in forum Networking/Device Communication
    Replies: 2
    Last Post: 03-13-2004, 08:16 PM
  2. [C++] FTP client problem (winsock)
    By Niekie in forum Networking/Device Communication
    Replies: 2
    Last Post: 10-19-2003, 09:23 AM
  3. Winsock client code help.... very basic.
    By Jay_Tech in forum Windows Programming
    Replies: 7
    Last Post: 10-18-2002, 06:27 AM
  4. FTP Server :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 10-03-2002, 07:14 PM