|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
FTPWebRequestHello, Arne!
A> I have a problem with FTP. How can put a listener on the traffic? Whats the problem? if you mean trace listener, here is the doc ( http://msdn2.microsoft.com/hyb3xww8.aspx ) ( http://msdn2.microsoft.com/ty48b824.aspx ) Vadym,
I find the diagnostics inadequate. I need to find a port listener. Apache use to have a good one, but I forgot where to find it. Show quote "Vadym Stetsyak" wrote: > Hello, Arne! > > A> I have a problem with FTP. How can put a listener on the traffic? > > Whats the problem? > if you mean trace listener, here is the doc > ( http://msdn2.microsoft.com/hyb3xww8.aspx ) > ( http://msdn2.microsoft.com/ty48b824.aspx ) > -- > Regards, Vadym Stetsyak > www: http://vadmyst.blogspot Hello, Arne!
You can use ethereal or network monitor as network sniffer I am finally getting my listener to work. The FTPWebRequest is sending the
command 'Type I', which is an invalid command. Does that have anything to do with type image. How can I set type to binary or ascii? Show quote "Vadym Stetsyak" wrote: > Hello, Arne! > > You can use ethereal or network monitor as network sniffer > > -- > Regards, Vadym Stetsyak > www: http://vadmyst.blogspot Hello, Arne!
FtpWebRequest.UseBinary = true; will set to binary mode Vadym,
Does the log below make sense to you. Why am I entering into passive mode? System.Net Information: 0 : [0296] FtpControlStream#11620857 - Received response [220-Cerberus FTP Server Personal Edition 220-UNREGISTERED 220-Welcome to e-list.org FTP Server. 220 Authorized users only. ] System.Net Information: 0 : [0296] FtpControlStream#11620857 - Sending command [USER coollist] System.Net Information: 0 : [0296] FtpControlStream#11620857 - Received response [331 User coollist, password please] System.Net Information: 0 : [0296] FtpControlStream#11620857 - Sending command [PASS ********] System.Net Information: 0 : [0296] FtpControlStream#11620857 - Received response [230 Password Ok, User logged in] System.Net Information: 0 : [0296] FtpControlStream#11620857 - Sending command [OPTS utf8 on] System.Net Information: 0 : [0296] FtpControlStream#11620857 - Received response [220 UTF8 support on] System.Net Information: 0 : [0296] FtpControlStream#11620857 - Sending command [PWD] System.Net Information: 0 : [0296] FtpControlStream#11620857 - Received response [257 "/" is the current directory] System.Net Information: 0 : [0296] FtpControlStream#11620857 - Sending command [CWD /coollistmlf_update/] System.Net Information: 0 : [0296] FtpControlStream#11620857 - Received response [250 Change directory ok] System.Net Information: 0 : [0296] FtpControlStream#11620857 - Sending command [TYPE I] System.Net Information: 0 : [0296] FtpControlStream#11620857 - Received response [200 Type Binary] System.Net Information: 0 : [0296] FtpControlStream#11620857 - Sending command [PASV] System.Net Information: 0 : [0296] FtpControlStream#11620857 - Received response [227 Entering Passive Mode (209,98,235,43,4,20)] System.Net.Sockets Error: 0 : [0296] Exception in the Socket#53176533::Connect - 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 System.Net Information: 0 : [0296] FtpWebRequest#7714781::(Releasing FTP connection#11620857.) Show quote "Vadym Stetsyak" wrote: > Hello, Arne! > > You can use ethereal or network monitor as network sniffer > > -- > Regards, Vadym Stetsyak > www: http://vadmyst.blogspot |
|||||||||||||||||||||||