Ftp Client .NET w/ WinInet.dll or WebRequest Class

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Katie

    Ftp Client .NET w/ WinInet.dll or WebRequest Class

    I am attempting to write an Ftp Client to send a quote
    command prior to a file upload. I would like to use the
    WinInet.dll but it seems to hang when I call the
    FtpCommand method from C# or it returns a false response
    even though the command was successful.

    I have also attempted to inherit from the WebRequest and
    WebResponse classes based on examples I have found on the
    internet but it hangs when the socket goes to read
    whether the file was downloaded successfully.

    Any help with either solution would be greatly
    appreciated.

    Thanks,
    Katie
  • Dino Chiesa [Microsoft]

    #2
    Re: Ftp Client .NET w/ WinInet.dll or WebRequest Class

    Hey Katie,
    check out


    or


    --
    Dino Chiesa
    Microsoft Developer Division
    d i n o c h @ o n l i n e . m i c r o s o f t . c o m


    "Katie" <khitchcock@dou glas-danielle.com> wrote in message
    news:00f301c392 65$91ea9d10$a10 1280a@phx.gbl.. .[color=blue]
    > I am attempting to write an Ftp Client to send a quote
    > command prior to a file upload. I would like to use the
    > WinInet.dll but it seems to hang when I call the
    > FtpCommand method from C# or it returns a false response
    > even though the command was successful.
    >
    > I have also attempted to inherit from the WebRequest and
    > WebResponse classes based on examples I have found on the
    > internet but it hangs when the socket goes to read
    > whether the file was downloaded successfully.
    >
    > Any help with either solution would be greatly
    > appreciated.
    >
    > Thanks,
    > Katie[/color]


    Comment

    Working...