Connecting Tech Pros Worldwide Forums | Help | Site Map

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

Katie
Guest
 
Posts: n/a
#1: Jul 21 '05
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]
Guest
 
Posts: n/a
#2: Jul 21 '05

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


Hey Katie,
check out
http://www.csharphelp.com/archives/archive9.html

or
http://www.gotdotnet.com/community/u...aspx?query=ftp

--
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@douglas-danielle.com> wrote in message
news:00f301c39265$91ea9d10$a101280a@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]


Closed Thread


Similar .NET Framework bytes