
Signature
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com
System.Net.WebException: The remote server returned an error: 227 Entering
Passive Mode (209,98,235,43,4,4) . ---> System.Net.Sockets.SocketException: A
connection attempt failed because the connected party did not properly
respond after a period of time, or established connection failed because
connected host has failed to respond at
> It will be greatly helpful if you will tell the exception message that is
> thrown
[quoted text clipped - 19 lines]
> > io.Write(b, 0, b.Length)
> > io.Close()
Vadym Stetsyak - 30 Jan 2006 17:38 GMT
Hmm, it seems that remote server didn't allow you to connect to it. There
can be a lot of reasons why remote server refused connection.
To get more details about this situation it will be a good idea to enable
network tracing and see what network I/O is happening.
See, the details at
( http://msdn2.microsoft.com/a6sbz1dx.aspx )

Signature
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com
> System.Net.WebException: The remote server returned an error: 227 Entering
> Passive Mode (209,98,235,43,4,4) . --->
> System.Net.Sockets.SocketException: A
> connection attempt failed because the connected party did not properly
> respond after a period of time, or established connection failed because
> connected host has failed to respond at
Arne - 30 Jan 2006 18:46 GMT
Vadym,
I can connect fine with a program called LeechFTP. I can't connect with a
program. I can't connect with a response file and command line ftp.
> Hmm, it seems that remote server didn't allow you to connect to it. There
> can be a lot of reasons why remote server refused connection.
[quoted text clipped - 11 lines]
> > respond after a period of time, or established connection failed because
> > connected host has failed to respond at
Vadym Stetsyak - 31 Jan 2006 09:35 GMT
That is why I've recommended you to use network tracing functionality.
It can be configured so that you can log all the traffic between your app
and
remote FTP server. Having this info you can determine the reason (analyze
traffic log), why FTP server
refuses connection.

Signature
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com
> Vadym,
> I can connect fine with a program called LeechFTP. I can't connect with a
[quoted text clipped - 17 lines]
>> > because
>> > connected host has failed to respond at