Re: [twsocket] FTP Question

2006-11-28 Thread Francois Piette
You probably forgot to call TypeSet after setting binary/text mode.

Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be

- Original Message - 
From: Harold Holmes [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Tuesday, November 28, 2006 5:01 PM
Subject: [twsocket] FTP Question


 I'm using the FTPTST demo and am having a problem with uploading a file. I
 have a zip file on my system that is 1.21 MB (1,271,701 bytes). When I
click
 CONNECT and then PUT in the demo program I get the output below. The
numbers
 look great on this end but if I go to the server it shows me that the file
 is only 1,266,675 bytes, a difference of 5026 bytes. I've tried other
files
 and they are all cut short when placed on the server.

 Binary Mode is set and I've tried with and without Passive mode on.

 I tried a plain TXT file that was 357 bytes and reads only 342 bytes on
the
 server.

 If I do the same file upload using FTP Voyager the numbers come out exact.
 Is there something else I need to be setting to get the upload to work
 correctly?

 Best regards,
 Harold Holmes

 Executing Requested Command
  PASV
  227 Entering Passive Mode (205,234,110,250,130,76)
 ! Upload Size 1271701
  STOR /incoming/test1b.zip
  150 Accepted data connection
  226-File successfully transferred
  226 32.859 seconds (measured here), 37.65 Kbytes per second
 ! 1271701 bytes received/sent in 34 seconds (37000 Bytes/sec)
 Request 18 Done.
 StatusCode = 226
 LastResponse was : '226 32.859 seconds (measured here), 37.65 Kbytes per
 second'
 No error

 -- 
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FTP Question

2006-11-28 Thread Harold Holmes

 You probably forgot to call TypeSet after setting binary/text mode.

Yup, about 2 minutes after I sent this message out I figured that out.
Thanks!

Harold

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FTP question

2005-07-20 Thread Francois Piette
Using a sniffer, can you see the command passing on the network ?
--
[EMAIL PROTECTED]
http://www.overbyte.be

- Original Message - 
From: Arno Garrels [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Wednesday, July 20, 2005 10:11 AM
Subject: [twsocket] FTP question


 Hello,
 
 My FTP client doesn't receive a reply to the type set command from
 FTP server GuildFTP when installed on localhost, remotely it works fine.
 FileZilla works locally as well as remotely w/o problems.
 
 Is this a client or a server bug??
 
 07/19/2005 21:16:30   NLST
 07/19/2005 21:16:31   150 Opening ASCII mode data connection for /bin/ls (25 
 bytes).
 07/19/2005 21:16:31   226 Transfer successful.
 07/19/2005 21:16:31  ! 25 bytes received/sent in 0 seconds (1666  Bytes/sec)
 07/19/2005 21:16:31   TYPE I
 07/19/2005 21:17:30  ! Error: User defined Timeout
 
 I think it is a server bug, but not 100% sure. 
 
 Thanks,
 
 Arno Garrels
 
 -- 
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
 
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FTP question

2005-07-20 Thread Arno Garrels
Francois Piette wrote:
 Using a sniffer, can you see the command passing on the network ?

Can you recommend a certain sniffer?

Or is it possible to monitor local traffic with raw sockets?

Arno Garrels  

 --
 [EMAIL PROTECTED]
 http://www.overbyte.be
 
 - Original Message -
 From: Arno Garrels [EMAIL PROTECTED]
 To: ICS support mailing twsocket@elists.org
 Sent: Wednesday, July 20, 2005 10:11 AM
 Subject: [twsocket] FTP question
 
 
 Hello,
 
 My FTP client doesn't receive a reply to the type set command from
 FTP server GuildFTP when installed on localhost, remotely it works fine.
 FileZilla works locally as well as remotely w/o problems.
 
 Is this a client or a server bug??
 
 07/19/2005 21:16:30   NLST
 07/19/2005 21:16:31   150 Opening ASCII mode data connection for
 /bin/ls (25 bytes). 07/19/2005 21:16:31   226 Transfer successful.
 07/19/2005 21:16:31  ! 25 bytes received/sent in 0 seconds (1666 
 Bytes/sec) 07/19/2005 21:16:31   TYPE I
 07/19/2005 21:17:30  ! Error: User defined Timeout
 
 I think it is a server bug, but not 100% sure.
 
 Thanks,
 
 Arno Garrels
 
 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FTP question

2005-07-20 Thread Angus Robertson - Magenta Systems Ltd
 Can you recommend a certain sniffer?
 Or is it possible to monitor local traffic with raw sockets?

My Socket Monitor ICS component will be ready later today or tomorrow, 
it uses both ICS raw sockets and WinPcap.  There are 'sniffer' and 
'statistics' test applications.  

However raw sockets only seem to work properly on Windows 2003, on 2000 
and XP most outgoing packets are skipped. 

For completeness, does winsock provide the source and destination MAC 
addresses for each packet.  I get these from WinPcap since it returns 
the network interface layer part of the packet, but raw sockets only 
returns the internet layer. 

Angus

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FTP question

2005-07-20 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote:
 Can you recommend a certain sniffer?
 Or is it possible to monitor local traffic with raw sockets?
 
 My Socket Monitor ICS component will be ready later today or tomorrow,
 it uses both ICS raw sockets and WinPcap. 

Great!

 There are 'sniffer' and 'statistics' test applications.
 
 However raw sockets only seem to work properly on Windows 2003, on 2000
 and XP most outgoing packets are skipped.

I've tested some sniffers with and without WinPCap (W2K SP4), but they all
are not capable to capture local traffic (at least on my box).
Is this normal?  

Arno Garrels
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FTP question

2005-07-20 Thread olivier-serveur
Arno Garrels a écrit :

 I've tested some sniffers with and without WinPCap (W2K SP4), but they all
 are not capable to capture local traffic (at least on my box).
 Is this normal?  
Are you try : ethereal ? (www.ethereal.com/)
And, are you try in passive mode ?

Olivier
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FTP question

2005-07-20 Thread Arno Garrels
Francois Piette wrote:
 Using a sniffer, can you see the command passing on the network ?
 Can you recommend a certain sniffer?
 
 Well, I tried with the sniffer I use (LanWatch, an old commercial
 product). But it doesn't see trafic on localhost.
 
 Or is it possible to monitor local traffic with raw sockets?
 
 I don't think so.
 
 My advice was to very pertinent :-(
 Maybe using socketspy program (see usermade page) which is a kind of
 proxy, you can watch the trafic.

SocketSpy did the job (thanks Wilfried!).
It turned out that the command was sent correctly.

Arno Garrels
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FTP question

2005-07-20 Thread Guillaume MAISON
 An unrelated question.  WinPcap shows a vast number of packets being 
 broadcast around my network with an ethernet protocol of x88AD, which 
 is not in documents I can find, nor does Ethereal describe it.  Not 
 quite sure which MAC address is sending them, but some MACs are 
 replying.  Has anyone any ideas what this protocol is?  

just found this...

http://www.ethereal.com/lists/ethereal-users/200412/msg00350.html

Guillaume MAISON
-
Guillaume MAISON - [EMAIL PROTECTED]
83, Cours Victor Hugo
47000 AGEN
Tél : 05 53 87 91 48 - Fax : 05 53 68 73 50
e-mail : [EMAIL PROTECTED] - Web : http://nauteus.com

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FTP question

2005-07-20 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote:
 I've tested some sniffers with and without WinPCap (W2K SP4), but they
 all are not capable to capture local traffic (at least on my box).
 Is this normal?
 
 It does seem to be the case.
 
 Raw sockets monitors a specific IP address, but presumably the routing
 table bypasses this if the IP address is the same.  WinPcap monitors an
 ethernet adaptor, and local traffic does not go through this.
 
 Fortunately I have four servers with different OSs for testing on my
 network.

Do you have a dual/dual core 64bit box (hardware DEP capable)?
I'm looking for someone who could do a small test of one of my apps.  
 
 An unrelated question.  WinPcap shows a vast number of packets being
 broadcast around my network with an ethernet protocol of x88AD, which
 is not in documents I can find, nor does Ethereal describe it.  Not
 quite sure which MAC address is sending them, but some MACs are
 replying.  Has anyone any ideas what this protocol is?

http://www.ethereal.com/lists/ethereal-users/200412/msg00350.html

Arno Garrels
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FTP question

2005-07-20 Thread Arno Garrels
olivier-serveur wrote:
 Arno Garrels a écrit :
 
 I've tested some sniffers with and without WinPCap (W2K SP4), but they
 all are not capable to capture local traffic (at least on my box).
 Is this normal?
 Are you try : ethereal ? (www.ethereal.com/)

It's the same with ethereal.

Arno Garrels

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FTP question

2005-07-20 Thread Angus Robertson - Magenta Systems Ltd
  An unrelated question.  WinPcap shows a vast number of packets being 
  broadcast around my network with an ethernet protocol of x88AD, 
which 
  is not in documents I can find, nor does Ethereal describe it.  Not 
  quite sure which MAC address is sending them, but some MACs are 
  replying.  Has anyone any ideas what this protocol is?  
 
 just found this...
 
 http://www.ethereal.com/lists/ethereal-users/200412/msg00350.html

That explains it, I have an ethernet Ximeta Netdisk disk drive sitting 
in a remote room, used for nightly pseudo off-site backups, on the 
basis that if someone steals all the PCs in my office (or a fire), they 
won't find this little disk drive, so I won't lose too much data. 

Angus
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FTP question

2005-07-20 Thread Angus Robertson - Magenta Systems Ltd
 bug reports that may have to do with hardware DEP enabled on my 
 executables

I had a similar problem, which turned out to be the Petite executable 
compressor, but a new version was done within 24 hours of my report.
 
 BTW: In my X509 snapshot I sent recently a dfm was missing

Yes, got distracted again, I also to suppress SmtpCliIntfSsl.inc and 
SmtpCliImplSsl.inc to rebuild the ICS package last week, not sure who 
added SSL since it's not mentioned in any release notes.  

Angus
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FTP question

2005-07-20 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote:
 bug reports that may have to do with hardware DEP enabled on my
 executables
 
 I had a similar problem, which turned out to be the Petite executable
 compressor, but a new version was done within 24 hours of my report.

It's my impression that XP SP2 makes a lot troubles.
 
 BTW: In my X509 snapshot I sent recently a dfm was missing
 
 Yes, got distracted again, I also to suppress SmtpCliIntfSsl.inc and
 SmtpCliImplSsl.inc to rebuild the ICS package last week, not sure who
 added SSL since it's not mentioned in any release notes.

I made it a long time ago, it's not working 100% with the latest ICS-SSL
updates (verify peer triggers too often, who knows why?).
I think this discussion is OT so let's close this thread before Francois
gets agry ;-).

Arno Garrels
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be