I have a problem with FTP. How can put a listener on the traffic?

Re: FTPWebRequest by Vadym

Vadym
Mon Feb 06 09:27:05 CST 2006

SGVsbG8sIEFybmUhDQoNCiBBPiBJIGhhdmUgYSBwcm9ibGVtIHdpdGggRlRQLiBIb3cgY2FuIHB1
dCBhIGxpc3RlbmVyIG9uIHRoZSB0cmFmZmljPw0KDQpXaGF0cyB0aGUgcHJvYmxlbT8NCmlmIHlv
dSBtZWFuIHRyYWNlIGxpc3RlbmVyLCBoZXJlIGlzIHRoZSBkb2MgDQooIGh0dHA6Ly9tc2RuMi5t
aWNyb3NvZnQuY29tL2h5YjN4d3c4LmFzcHggKQ0KKCBodHRwOi8vbXNkbjIubWljcm9zb2Z0LmNv
bS90eTQ4YjgyNC5hc3B4ICkgDQotLQ0KUmVnYXJkcywgVmFkeW0gU3RldHN5YWsNCnd3dzogaHR0
cDovL3ZhZG15c3QuYmxvZ3Nwb3QuY29t


Re: FTPWebRequest by Arne

Arne
Mon Feb 13 14:40:12 CST 2006

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.

"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

Re: FTPWebRequest by Vadym

Vadym
Tue Feb 14 03:36:52 CST 2006

SGVsbG8sIEFybmUhDQoNCiBZb3UgY2FuIHVzZSBldGhlcmVhbCBvciBuZXR3b3JrIG1vbml0b3Ig
YXMgbmV0d29yayBzbmlmZmVyDQoNCi0tDQpSZWdhcmRzLCBWYWR5bSBTdGV0c3lhaw0Kd3d3OiBo
dHRwOi8vdmFkbXlzdC5ibG9nc3BvdC5jb20=


Re: FTPWebRequest by Arne

Arne
Tue Feb 14 06:45:29 CST 2006

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?

"Vadym Stetsyak" wrote:

> Hello, Arne!
>
> You can use ethereal or network monitor as network sniffer
>
> --
> Regards, Vadym Stetsyak
> www: http://vadmyst.blogspot

Re: FTPWebRequest by Arne

Arne
Tue Feb 14 06:55:27 CST 2006

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.)


"Vadym Stetsyak" wrote:

> Hello, Arne!
>
> You can use ethereal or network monitor as network sniffer
>
> --
> Regards, Vadym Stetsyak
> www: http://vadmyst.blogspot

Re: FTPWebRequest by Vadym

Vadym
Tue Feb 14 07:20:15 CST 2006

SGVsbG8sIEFybmUhDQoNCkZ0cFdlYlJlcXVlc3QuVXNlQmluYXJ5ID0gdHJ1ZTsgd2lsbCBzZXQg
dG8gYmluYXJ5IG1vZGUNCg0KLS0NClJlZ2FyZHMsIFZhZHltIFN0ZXRzeWFrDQp3d3c6IGh0dHA6
Ly92YWRteXN0LmJsb2dzcG90LmNvbQ==


Re: FTPWebRequest by Vadym

Vadym
Tue Feb 14 07:22:10 CST 2006

SGVsbG8sIEFybmUhDQoNClNldCBVc2VQYXNzaXZlIHByb3BlcnR5IG9mIEZ0cFdlYlJlcXVlc3Qg
dG8gZmFsc2UuDQpJZiB5b3UgY3JlYXRlIEZ0cFdlYlJlcXVlc3Qgd2l0aCBVcmkgcGFyYW1ldGVy
IHRoZW4gVXNlUGFzc2l2ZSBhbmQgVXNlQmluYXJ5IGFyZSBlcXVhbCB0byB0cnVlLi4uDQotLQ0K
UmVnYXJkcywgVmFkeW0gU3RldHN5YWsNCnd3dzogaHR0cDovL3ZhZG15c3QuYmxvZ3Nwb3QuY29t