Re: [twsocket] Unable to create TIcsWndControl hidden window.

2013-04-12 Thread Angus Robertson - Magenta Systems Ltd
> "Unable to create TIcsWndControl hidden window. Error 1158" > How I can use 4-5K of TSmtpClis in my app ? You are probably out of memory. You need a 64-bit server OS for a lot of connections. You can use these APIs to get various memory information about your application and the PC, to see wh

Re: [twsocket] MagFtp and SslContext

2013-04-16 Thread Angus Robertson - Magenta Systems Ltd
> How do I specify Ssl Certificates in MagFtp component ? Sorry, certificate chain and host checking was never fully implementing in TMagFtp. There is a lot of commented out code, probably taken from the ICS FTP client SSL demo, that could be restored, but it's untested, and includes a modal dial

Re: [twsocket] check if given ip is in any of connected subnets

2013-04-16 Thread Angus Robertson - Magenta Systems Ltd
> I'm trying to figure out if a given ip address is in any of the > subnets I'm connected to > I assume I need to iterate through all connected NICS, and > calculate the size and location of that specific subnet using the > ip and netmask for that connection, and then see if given ip > address f

Re: [twsocket] i using the THttpAppSrv in my app

2013-04-16 Thread Angus Robertson - Magenta Systems Ltd
> i found if i call the wmi ole object to get wmi data,THttpAppSrv > will hung and lose the 80 connection. Calling WMI functions presumably to return information on a web page is unlikely to something many people have done, I've certainly not. Are you using MagWmiGetInfoEx or some other WMI co

Re: [twsocket] MagFtp and SslContext

2013-04-16 Thread Angus Robertson - Magenta Systems Ltd
> I do not have much knowledge about SSL but I presume SSL > certificates are required if my client decides to use a FTPS site. No, it is not necessary for client software to check SSL certificates to use SSL connections, the data is still encrypted. Checking the certificate is an extra level

Re: [twsocket] i using the THttpAppSrv in my app

2013-04-16 Thread Angus Robertson - Magenta Systems Ltd
> i using WbemScripting_TLB.pas, also the uWmiDelphiClass.pas (from > the google code). which just the oleobject. Try using MagWmiGetInfoEx from: http://www.magsys.co.uk/delphi/magwmi.asp it should not take long to modify your application and will eliminate possible problems with the code you f

Re: [twsocket] i using the THttpAppSrv in my app

2013-04-18 Thread Angus Robertson - Magenta Systems Ltd
> failed! > i think there is nothing about wmi. but the ThttpAppsrv's probleam. > does everyboy can make a simple srv_app to test it.? So you are now using MagWmiGetInfoEx and still getting the connection closed? How many seconds does the connection stay open for the request? Or does it stay and

Re: [twsocket] i using the THttpAppSrv in my app

2013-04-18 Thread Angus Robertson - Magenta Systems Ltd
> in the proc, i using superobject do deal with the json format date > for return. For testing, you need to remove all this extra stuff from your THttpAppSrv so only the WMI calls remain, nothing else. There is no purpose in anyone trying to reproduce your problem if you only provide small ext

Re: [twsocket] i using the THttpAppSrv in my app

2013-04-18 Thread Angus Robertson - Magenta Systems Ltd
> superobjectyou dont hear about it??? I rarely use Javascript. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] Need to Exclude Folder

2013-04-23 Thread Angus Robertson - Magenta Systems Ltd
> I have an application for backup that works on LAN. All data is > copied into > a Folder and subfolders (please refer below pattern). Using MagFTP > component I intend to syncronise the Local backup onto the FTP site > (g:\Backups\*.*). My problem is that there is one folder that I > need to ex

Re: [twsocket] Connect issue?

2013-04-23 Thread Angus Robertson - Magenta Systems Ltd
> When using ICS Connect and Feat one after another, the log looks > like this: > Like Connect would return prematurely, after USER command and not > ask for password. Has anyone seen this before? No, never. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] ICS of delphi DX3 can not redirection is disabled

2013-04-24 Thread Angus Robertson - Magenta Systems Ltd
> I used HTTPCli of ICS in delphi 7, HTTPCli can handle redirection > automatically, > now I move my code to delphi XE3 and use the latest ICS, but > HTTPCli can > not handle redirection automatically, Is it a bug? or What am I > missing? The 'latest' ICS still handles redirection automatically.

Re: [twsocket] Lib PPP on serial modem

2013-04-24 Thread Angus Robertson - Magenta Systems Ltd
> I have tried the RASDIAL unit to connect on remote site with modem > and PPP. I don't understand your problem, and RAS is not supported in this mailing list. But you can try the full RAS component at: http://www.magsys.co.uk/delphi/magras.asp Beware it will not solve any problems if Windo

Re: [twsocket] ICS of delphi DX3 can not redirection is disabled

2013-04-25 Thread Angus Robertson - Magenta Systems Ltd
> Now I use HTTPCli version is Version: 8.00 in Delphi XE3, and the > link no longer redirect Using the ICS frame browser demo, redirection works fine here, although nothing useful is displayed since it's an audio clip, some headers removed to keep this shorter: FrameBrowser Get: http://media.sou

Re: [twsocket] Which component to use?

2013-04-25 Thread Angus Robertson - Magenta Systems Ltd
> I would like to know the difference between the components > and TWSocket TWSocketServer, do i need a software that will receive > multiple simultaneous connections to POS terminals You are talking about a server, and you'll find ICS server demos using both TWSocket and TWSocketServer, since the

Re: [twsocket] ICS of delphi DX3 can not redirection is disabled

2013-04-26 Thread Angus Robertson - Magenta Systems Ltd
> Where to get the ICS frame browser demo code? thanks. It is part of the ICS V7 and V8 distributions, in directory: .\Samples\delphi\BroswerDemo It is a full visual browser, using the THtmlViewer component from: http://code.google.com/p/thtmlviewer/ so displays most web pages, although with

Re: [twsocket] Close connection (destroy) idle clients

2013-04-26 Thread Angus Robertson - Magenta Systems Ltd
> Hello guys, I'm using the component connections TWSocket for various > customers making and receiving requests, in some cases the client > loses the connection to the server, TCP not necessarily know a connection is lost since there may be no packets sent for many hours. You normally implement

Re: [twsocket] XE4 install fails

2013-04-26 Thread Angus Robertson - Magenta Systems Ltd
> I just installed RAD Studio XE4 into a brand new VM (WIN64) > After that I tried to install ICS V8 (downloaded about an hour ago). > I opened Dxe4InstallVclFmx.groupproj and then tried to compile > IcsVclDXE4Run but got a fatal error Arno only started testing ICS with XE4 last night, no-one el

Re: [twsocket] Close connection (destroy) idle clients

2013-04-26 Thread Angus Robertson - Magenta Systems Ltd
> I am not able to use the component TWSocketServer with POS > terminals (do > not have access to sources of client developed in C), the error > occurs after the connection "OverbyteIcsWSocketS" What error? > I need to do is receive multiple simultaneous connections to these > terminals mak

Re: [twsocket] Close connection (destroy) idle clients

2013-04-30 Thread Angus Robertson - Magenta Systems Ltd
> I could not use the component and WSocketServer WSocketThrdServer > not know how to use the event "OnDataAvailable" examples that have The SocketServer demo is OverbyteIcsTcpSrv.dpr, ThreadServer is OverbyteIcsThrdSrvV3.dpr. You can also try TMagIpLog from: http://www.magsys.co.uk/delphi/mag

Re: [twsocket] Close connection (destroy) idle clients

2013-04-30 Thread Angus Robertson - Magenta Systems Ltd
> Hello, I am using the example OverbyteIcsThrdSrvV3.dpr plus what > happens is that the wind ClientDisconnect is called before > processing the received data, and so the connection is lost I assume you have turned off the default banner that the server component sends upon answer (set Banner:='

Re: [twsocket] Close connection (destroy) idle clients

2013-05-01 Thread Angus Robertson - Magenta Systems Ltd
> Could use ThrdServer example, the problem was solved with > "WSocketServer1.Banner: ='';" now I can not receive data, by > setting longer just LINEMODE = FALSE, and after a few connections, > does not enter the event "OnDataAvailable" when LINEMODE = TRUE event > "OnDataAvailable" is never trig

Re: [twsocket] Close connection (destroy) idle clients

2013-05-02 Thread Angus Robertson - Magenta Systems Ltd
> Hello, the protocol used is TCP, TCP/IP is a transmission mechanism, not a protocol, those are commonly named HTTP, FTP, SMTP, etc. > the POS terminal sends to the server is a > string of ASCII characters like this > "ACTION=VENDA&ID_TERMINAL=528-533-378&ID_EVENTO=1579&ID_SETOR=00 > 018087

Re: [twsocket] MagFTP Upload Speed

2013-05-06 Thread Angus Robertson - Magenta Systems Ltd
> 1) In case I have to upload some data (eg: 5GB). How can I get to > know approximately how much time it will take ? Use CopyEvent, LogLevelProg gives you an ASCII string every couple of seconds showing how much has been transferred and the total size. Unfortunately from your perspective, the re

Re: [twsocket] MagFTP Upload Speed

2013-05-06 Thread Angus Robertson - Magenta Systems Ltd
> Also informing you that as far as Excludes are concerned the option > you have given suits me well I realised it would help me as well. When I synchronise my local web sites with my public server using delete old files, the ICS SVN files all disappear since they are generated by scripts on the

Re: [twsocket] Close connection (destroy) idle clients

2013-05-07 Thread Angus Robertson - Magenta Systems Ltd
> Hello, I could use the component TWSocketServer based on this > example: http://edn.embarcadero.com/br/article/20465 > now it seems to be working perfectly connecting to POS terminals That article was written by Francois, so I'm sure it's fine. I doubt it's any different to the existing ICS de

Re: [twsocket] How to get the size of the remote file?

2005-03-13 Thread Angus Robertson - Magenta Systems Ltd
> usisng FtpCli component, how to get the size of the remote file before > the download? Use the SIZE or MLST methods. 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.

Re: [twsocket] mget ont TFtpCli

2005-03-28 Thread Angus Robertson - Magenta Systems Ltd
> How do I a multiple get for files (mget) on the TFtpCli component? There is no MGET FTP command defined in the RFCs, you have to GET files one at a time. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visi

[twsocket] FTP LIST parsing

2005-04-09 Thread Angus Robertson - Magenta Systems Ltd
If anyone else is using the smatters.com ftpcommon.pas FTP LIST parsing code, I've just discovered a nasty bug converting MS-DOS formatted times used (sometimes) by Windows IIS FTP. 12:30AM was being converted to 12:30:00, not 00:30:00. A fix is needed in the function FormatTime1, inserting

Re: [twsocket] Is there a way to download a file in threads?

2005-04-13 Thread Angus Robertson - Magenta Systems Ltd
> I would do it by writing to temporary files. The reason is because > when you start writing to an offset in a new file, the write call > will block for a long time while Windows zeroes/randomizes the > earlier bytes so that you cant read someone elses file that was > previously in the same p

Re: [twsocket] Is there a way to download a file in threads?

2005-04-13 Thread Angus Robertson - Magenta Systems Ltd
> Yea, I looked into this, and the related API calls on the MSDN site. > However, I also heard that sparse files lead to bad file > fragmentation, not sure if thats true or not though. By definition, a sparse file will be very fragmented, that's how it's designed. But I doubt TStream will be u

Re: [twsocket] Question >> How can I setup checkboxes toseetheFTP-Status

2005-04-16 Thread Angus Robertson - Magenta Systems Ltd
> Given you want best performance one should use the async/none-blocking > methods, however in TFtpCli each method has also a blocking (sync) > counterpart that allows you to code more like the Indy way (slow). Indy might be slow, I really don't know, but I don't see using the sync methods in IC

Re: [twsocket] Question >> How can I setup checkboxestoseetheFTP-Status

2005-04-17 Thread Angus Robertson - Magenta Systems Ltd
> However the speed depends of course, if you have just a single > instance, it makes no difference, but how do you realize multiple, > concurrent i.e. FTP-dowloads in sync mode? You would have to go > multithreaded, pooled or > one thread per connection but that's definitely slower than having

Re: [twsocket] Question >> How can I setupcheckboxestoseetheFTP-Status

2005-04-17 Thread Angus Robertson - Magenta Systems Ltd
> Do you say that you are convinced MsgWaitForMultpleObjects() is faster > than Sleep()and ProcessMessages; ;-) Both MsgWaitForMultpleObjects and Sleep seriously slow down a program that's trying to do multiple jobs at the same time. Angus -- To unsubscribe or change your settings for TW

Re: [twsocket] Multithreaded http...

2005-04-17 Thread Angus Robertson - Magenta Systems Ltd
> What will happen when someone will change the system time? > What does (TDataTime-TDataTime) return? miliseconds? Never use TDateTime to measure time durations in Delphi, instead use GetTickCount which returns milliseconds since Windows booted as a simple longword. Angus -- To unsubscribe

Re[3]: [twsocket] Multithreaded http...

2005-04-17 Thread Angus Robertson - Magenta Systems Ltd
> you are ritght because working with float is more CPU. But GetTickCount > roll over every 49 day... So without extra code the timeout can fail if > it is (by Murphy's law) just on the particular moment.. Perhaps, but Microsoft's law says that patches are released once a month that invariably re

RE: [twsocket] FTP client and windows service problem

2005-04-26 Thread Angus Robertson - Magenta Systems Ltd
> It definitely has the permissions because I ran it as an > administrator. I > tried as local system as well - both have full access granted for this > folder (as a matter of fact - for every folder on my development > machine). Applications running in the service window do not get the same rig

Re: [twsocket] ReadLine

2005-05-02 Thread Angus Robertson - Magenta Systems Ltd
> Hm, could that message pump be realised by a timer in the dll where the > application.processmessages is called each onTimer event? You can not use a TTimer since that uses windows messages and thus needs the message loop. But you can use the windows SetTimer API with a callback. I use such

Re: [twsocket] Whois component?

2005-05-13 Thread Angus Robertson - Magenta Systems Ltd
> Is there any Whois component in ICS? Client of course... Yes, on the usermade page. 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]_Whois_component?

2005-05-13 Thread Angus Robertson - Magenta Systems Ltd
> But i need component with async function not some application... The first program on the user made page looks like a component, but I've not tried it myself since I wrote my own WHOIS a few years ago. For some reason it does not currently appear on the user made page, but you can download it

Re: [twsocket] FTP client stalling

2005-05-16 Thread Angus Robertson - Magenta Systems Ltd
> Incredibly after working correctly with my commercial FTP client > correctly, that too stalled on Fiday night, so I'm begining to suspect > it's not the component, but something on my PC/network/ISP not set > correctly. I know it's a bit off topic, but has anyone any idea what > I should look

Re: [twsocket] Fwd: Missing character when send PORT command

2005-05-17 Thread Angus Robertson - Magenta Systems Ltd
> When my FTP client send the PORT command, i received from the server : > 'ORT' command not understood. This is unfortunately reasonably common, but is not specifically an ICS problem, I saw it with both WS_FTP and ICS client today, talking to Serv-U FTP server. More commonly I just see "500 '

Re: [twsocket] [HELP]FTPServer within a service...

2005-05-18 Thread Angus Robertson - Magenta Systems Ltd
> i'm wondering about the way to implement a FTP server (with thread on > GetProcessing) within a Windows Service ? Any windows GUI application can be run as a service, provided it never asks for any input from the user. I use a very simple real service that runs the windows program, and sends

Re: [twsocket] Feedback for fixed version of HttpCli component

2005-06-10 Thread Angus Robertson - Magenta Systems Ltd
> Because gz compression use a DLL, I would like to have it turned > off by default at compile time. That is use a conditional compilation > switch "USE_HTTP_CLI_GZ" to allow use of the DLL. So all new > properties would always be compiled in, but as soon as gz feature > is requested at > runt

Re: [twsocket] SMTPCli within a NT service - stack overflow

2005-06-14 Thread Angus Robertson - Magenta Systems Ltd
It's won't help you, but I have complex NT services doing several SQL database updates a second from packets received by TWSocket, and more rarely sending email using SMPTCli, and they run for weeks at a time without problems. I don't use threads, they are not necessary despite our level of tr

Re: [twsocket] Protocol 6 (=TCP) not supported by TCustomSocksWSocket

2005-06-18 Thread Angus Robertson - Magenta Systems Ltd
> Rejected: not compatible with all Delphi versions. I thought a decision was made several months ago that the last full release of ICS would be the last to continue backward compatibility of long obsolete compilers, preventing any language features added in the last six years being used in IC,

Re: [twsocket] Help: How do I Use the asyn. methods in a D2005 service app

2005-06-23 Thread Angus Robertson - Magenta Systems Ltd
> In the main execute function I just want to wait until each of the > requests responds & triggers the OnRequestDone event. How can I do > this in a service app? The service excecute method needs a message loop added, which replaces the Application.Run method that drives an interactive applica

Re: [twsocket] Missing disconnect from GPRS units

2005-06-30 Thread Angus Robertson - Magenta Systems Ltd
> I have some vehicles with GPRS modems connected to O2 in the UK. The > problem I have is when the O2 "network" drops a connection to my server > - i.e. a close not initiated from the vehicle, or my server. When this > happens, I never see a disconnect, so the next time the unit reports > in,

Re: [twsocket] Missing disconnect from GPRS units

2005-06-30 Thread Angus Robertson - Magenta Systems Ltd
> What Angus do is an approach, but indeed as he claim, it can get a > expencieve, specially when the vehicles are in other countries. Fortunately my vehicles don't venture more than 10 miles or so from the garage We're also looking at DVB datastreams for one way data when they are away from t

[twsocket] Monitoring TCP/IP traffic

2005-07-06 Thread Angus Robertson - Magenta Systems Ltd
I always though that proper monitoring of TCP/IP traffic required a device driver, but BMExtreme seems to manage it through the standard winsock API: http://www.lp23.com/bmextreme/ It's able to list IP addresses visited, and distinguish internal and external traffic on a adaptor, on most OSs (

Re: [twsocket] Monitoring TCP/IP traffic

2005-07-06 Thread Angus Robertson - Magenta Systems Ltd
> IP Helper is the only thing you need, no specific driver if it's only > bandwidth. > It permit also to get separate traffic for each card. Sorry, you are wrong. IP Helper only monitors all traffic through a card, it does not distinguish LAN or WAN (via a router) traffic. So it is useless fo

RE: [twsocket] Monitoring TCP/IP traffic

2005-07-06 Thread Angus Robertson - Magenta Systems Ltd
> I think that the BME only checks the netmask of the adapter (you can get > this via IP Helper) and then treats anything from those addresses as > local traffic. That's how I would program this, anyway. Quite probably, but the original question was how does it get statistics per connection, ra

Re[3]: [twsocket] Monitoring TCP/IP traffic

2005-07-06 Thread Angus Robertson - Magenta Systems Ltd
> OK I understand what you mean. IP Helper can distinguish between > netcard but not IP on same card, that is why I told you about WinPCap. I installed WinPcap several years ago, and found my PC less stable that previously so never used it. But I guess it's more reliable today. BMExtreme

Re: [twsocket] Decoding mail

2005-07-11 Thread Angus Robertson - Magenta Systems Ltd
> I am using pop3-component. I need to decode the data that I receive. > Now I get: > This is the subject line > 2005-07-11 17:12:40 =?iso-8859-1?B?dGVzdCDl5PYgYWJj?= These are known as RFC2047 encoded words. You can decode them using MimeDecEx from the UserMade page, which I hope is the vers

Re: SV: [twsocket] Decoding mail

2005-07-11 Thread Angus Robertson - Magenta Systems Ltd
> Yeah, I imagined this would be it but is there any demo on how it > works? > These are known as RFC2047 encoded words. > > You can decode them using MimeDecEx from the UserMade page, which I It's a simple function, hardly needs a demonstration project. function TMimeDecEx.DecodeHeaderLin

Re: [twsocket] Ftp client send command

2005-07-13 Thread Angus Robertson - Magenta Systems Ltd
> I want to send command to this server for examples > FtpClient.SendCommand('TEST') end the ftp server response 250 OK You can send any command you like to an FTP server, but unless it understands TEST, it will not reply with 250. Adding such a command to the ICS FTP server is easy. Angus

Re: [twsocket] Monitoring TCP/IP traffic

2005-07-13 Thread Angus Robertson - Magenta Systems Ltd
> > May be it's possible with SOCK_RAW socket type. Have you read the > > article "Hands on TCP/IP programming in Delphi" by Alfred Mirzagitov? > > It's in the TCPIP sub directory. > > > http://www.thedelphimagazine.com/disks/dmag101.zip > > It's not the article but some interisting demo code,

Re: [twsocket] Monitoring TCP/IP traffic

2005-07-13 Thread Angus Robertson - Magenta Systems Ltd
> Do you now write a logger-component based on TWSocket? > Would be a 'nice to have':) Indeed, I'll be writing such a component over the next few days, although I was just about to test your SMPT component writing a pick-up mail file and SMIME, too many pending jobs. Angus -- To unsubscribe o

Re: [twsocket] SMTP FromName

2005-07-17 Thread Angus Robertson - Magenta Systems Ltd
> A server may reject a none local From address, but practically most > servers don't Several UK ISPs do validate the From address as being one of their domains, BT ADSL in particular, to stop false Froms being used. But this is very inconvenient for people using ADSL for connectivity only with

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 o

Re: [twsocket] FTP question

2005-07-20 Thread Angus Robertson - Magenta Systems Ltd
> 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 a

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 > > rep

Re: [twsocket] FTP question

2005-07-20 Thread Angus Robertson - Magenta Systems Ltd
> 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. It's on my shopping list, once a rather slow paying client sends some money. An Asus P5WD2 MB and a Pentium D, but I don't plan on using a 64-bit OS for some

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 dist

[twsocket] Monitor sockets components

2005-07-21 Thread Angus Robertson - Magenta Systems Ltd
I've just written two new components for monitoring ethernet packets, with a test application that displays the two different techniques: 1 - Raw sockets (W2K and later) using ICS, does not any other software installed, but may not capture send packets on W2K and XP, only W2K3, and ignores non-

Re: [twsocket] Monitor sockets components

2005-07-25 Thread Angus Robertson - Magenta Systems Ltd
I've just written two new components for monitoring ethernet packets: 1 - Raw sockets (W2K and later) using ICS, does not any other software installed, but may not capture send packets on W2K and XP, only W2K3, and ignores non-IP traffic. 2 - Winpcap device driver, needs to be installed (two DL

Re: [twsocket] Monitor sockets components

2005-07-28 Thread Angus Robertson - Magenta Systems Ltd
> *Subject:* Re: [twsocket] Monitor sockets components > *From:* "Maurizio Lotauro" <[EMAIL PROTECTED]> > >The source and executables are available from: > > >http://www.magsys.co.uk/download/software/monsock1.zip > > I downloaded it today, but I see only one executable. Sorry, the latest versio

Re: [twsocket] FTP Client - Size() Function

2005-07-30 Thread Angus Robertson - Magenta Systems Ltd
> Is there a "bullet-proof" way to get a remote File Size using the > TFTPClient component? > > FEAT Command - numerous extensions have been made to the FTP protocol > over > the past few years, although support of these new commands is very > sporadic. > RFC2389 describes the FEAT command, whi

Re: [twsocket] Traceroute

2005-08-03 Thread Angus Robertson - Magenta Systems Ltd
> Does anyone have an example of building a traceroute component using > ICS? My threaded ping component on the usermade page includes a trace route example. Unless you use threads, ping is blocking. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http:

Re: [twsocket] Traceroute

2005-08-03 Thread Angus Robertson - Magenta Systems Ltd
> I've successfully been able to utilize ping to do a traceroute; > however, I don't think the ping component will fit my needs. Why exactly does an ICMP echo packet with a specified TTL not fit for your needs, what are you attempting to prove or do? > What I need to be able to do is: > - Sen

Re: [twsocket] Traceroute

2005-08-04 Thread Angus Robertson - Magenta Systems Ltd
> Can you help me to understand how to generate a TCP SYN packet and > alter the IP header with ICS? Do you have a specific example? I > haven't seen any way with the ICS TCP component to alter the TTL for > the packet. Yes, I can help, after you explain why you need to do this. Angus -- T

Re: [twsocket] Traceroute

2005-08-04 Thread Angus Robertson - Magenta Systems Ltd
> The utility will be part of a security/pen-testing suite with a > specific purpose to my customer. There are specific hardware functions > that they would like to exercise for unit testing. > > Can you elaborate on how you believe this is down with a raw socket? Delphi Magazine published an

Re: [twsocket] TPop3Cli is halted while receiving a message over 4Mb

2005-08-11 Thread Angus Robertson - Magenta Systems Ltd
> I installed WinPcap and tried to use Magenta Systems Monitor Socket, > but it shows AV (nil is dereferenced, I presume; adapter listbox is > empty) > at the start though continues to run. Nevertheless it does not capture > anything ;-(. I don't see any pages on http://www.magsys.co.uk/ , which >

Re: [twsocket] TPop3Cli is halted while receiving a message over 4Mb

2005-08-11 Thread Angus Robertson - Magenta Systems Ltd
> But is it capable of logging all the data passed through the sockets? It seems to depend on the ethernet adaptor drivers. Two of my PCs have Netgear gigabyte cards, and raw sockets only captures received packets, not send ones. But my other PCs mostly with Realtek based cards capture send p

Re: [twsocket] [FTPCli] - Quote Method

2005-08-16 Thread Angus Robertson - Magenta Systems Ltd
> But from FTP server I get: > 16.08.2005 10:36:17 - Executing requested command... > > chmod 644 test.txt > < 500 'CHMOD': command not understood. It means exactly what it says, the FTP server does not support a CHMOD command. There is no standard FTP command to set file attributes, you'll ne

Re: [twsocket] HttpCli: Opinion wanted !

2005-08-16 Thread Angus Robertson - Magenta Systems Ltd
> If you don't understand what we are talking about, please ask some > questions to clarify. There are no stupid question, only people afraid > to ask. I've not taken much notice of this because: 1 - the authentication change to HttpCli broke one of my applications and it cost a lot of money t

Re: [twsocket] HttpCli: Opinion wanted !

2005-08-16 Thread Angus Robertson - Magenta Systems Ltd
> 1. Your choice. You have now the opportunity to be sure the new > version doesn't break existing code, specially yours. No, it's the job of the person introducing the changes to make sure the component is backward compatible, and if not, document VERY CLEARLY at the top of the code any impli

Re: [twsocket] HttpCli: Opinion wanted !

2005-08-17 Thread Angus Robertson - Magenta Systems Ltd
> How do you think that all we heavily tested for weeks if nobody, > except the developer(s), made any test? I only have a single development environment, and I need to be able to produce bug fix versions of several applications at short notice, often hours, that get widely distributed within ho

Re: [twsocket] HttpCli: Opinion wanted !

2005-08-17 Thread Angus Robertson - Magenta Systems Ltd
> Don't go too fast to remove existing code because then it will be very > difficult to merge your > changes and those from others including me. Risks are that you either > have to reimplement your > changes in the next version or that you take a one way ticket to your > own version diverging fr

Re: [twsocket] HttpCli: Opinion wanted !

2005-08-17 Thread Angus Robertson - Magenta Systems Ltd
>> You personally agreed a year ago that the current released version of >> ICS would be last to continue support for long obsoleted compilers. > Yes, and this is what I stated again in my previous message. >> Who are these people that actually need to use new versions of ICS on >> Delphi 1 to 3?

Re: [twsocket] HttpCli: Opinion wanted !

2005-08-17 Thread Angus Robertson - Magenta Systems Ltd
> Because there are still a lot of people using old compilers, > frequently to maintain existing > applications but also to develop new ones, even with Delphi 1 which is > used for embedded systems using Win 3.x !! OK, can all those in this list using Delphi compilers earlier than Delphi 5, Del

Re: [twsocket] R: HttpCli: Opinion wanted !

2005-08-17 Thread Angus Robertson - Magenta Systems Ltd
> This is a useless discussion. Only because you don't agree with your customers, and free helpers. For your convenience, you want to inconvience others. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit

Re: [twsocket] HttpCli: Opinion wanted !

2005-08-17 Thread Angus Robertson - Magenta Systems Ltd
> Anyway, search for the message with subject "Re: [twsocket] Installing > ICS under windows 3.11" > posted earlier today and you have one recent user still using Delphi 1. No-one is going to stop people using old ICS versions on old compilers. If such users really need bug fixes they can always

Re: [twsocket] HttpCli: Opinion wanted !

2005-08-17 Thread Angus Robertson - Magenta Systems Ltd
> > The question is whether current users that need new features should > > suffer to keep those one or two users on obsolete compilers happy. > > You are wrong. Current user doesn't suffer because of old compiler > support. Never. Sorry, I disagree. Whenever I make improvements to ICS source,

Re: [twsocket] NOOP workaround

2005-08-18 Thread Angus Robertson - Magenta Systems Ltd
> for sending noops while uploading (to keep the control connection > alive) i done some bad things ;-) Which FTP server needs this? I upload 20 meg files all the time and never see this with IIS/5 or ICS FTP server. Did you try using a valid command like PWD rather than NOOP? Angus -- T

Re: [twsocket] ipchange / put resume

2005-08-21 Thread Angus Robertson - Magenta Systems Ltd
> i figure out tht my provider change my ip in the middle of the night. > so uploadinging large files is a problem. > i think i must work with put/resume. My TMagFtp component handles resumed uploads and downloads automatically, it's available free for contributors to the ICS SSL project, from t

Re: [twsocket] ipchange / put resume

2005-08-22 Thread Angus Robertson - Magenta Systems Ltd
> thats great... i dont need ssl but if it solves my ftp problems, i am > happy to become a contributor. > i go to hollyday at the 25.8.05 and i shold fix my code before do you > think i can have the TMagFtp code today (before francois receive the > money). Please copy me in on your email to Fr

Re: [twsocket] How reliable is this mailing list?

2005-08-23 Thread Angus Robertson - Magenta Systems Ltd
> About recent discussion of HttpCli changes, I made a reply (on topic) > to three people: Angus, Guillaume and Francois. > I received my posts and see they in the archive of elists, but I never > get a reply and none are present in the archive. > Is it a problem of the ML or all want drop the di

Re: [twsocket] How reliable is this mailing list?

2005-08-24 Thread Angus Robertson - Magenta Systems Ltd
> So you get it. Can you keep it and read when you have better time? I've already said I will try to test your HTTP component when I have the time, but that I will not use anything with a DLL, which is what the zip I downloaded seems to contain. So it seems I have to do extra work implementing

Re: [twsocket] [TMimeDec] Beta version to test

2005-08-28 Thread Angus Robertson - Magenta Systems Ltd
> Piotr "Hellrayzer" Dalek (Author of ICS-Based Hellcore Mailer - an > Outlook Express killer) made interesting changes to the mimedecode > component. It is work a beta test. So I made it available from the ICS > download page at my website. Sorry, does not work here, the second to last part is

Re: [twsocket] How reliable is this mailing list?

2005-08-28 Thread Angus Robertson - Magenta Systems Ltd
> a) use the new httpcli to verify if it still "works" as before, i.e. it > doesn't break your code (no gzip nor dll involved) The 5 June version does seem to be backward compatible, without {$DEFINE Xlb_GzHttp}. > b) test it with your gzip implementation if you made it in a inherited > comp

Re: [twsocket] [TMimeDec] Beta version to test

2005-08-28 Thread Angus Robertson - Magenta Systems Ltd
> Send me one (or all) of these messages (or better post them somewhere > and give me the url) and I'll check it out. Not a single MIME message in my mailbox decoded the last attachment correctly, I don't suppose the issue is very hard to reproduce. I'll relay the two examples I posted before

Re: [twsocket] How reliable is this mailing list?

2005-08-29 Thread Angus Robertson - Magenta Systems Ltd
> Huu??? No no, this is the "original" version made by Xavier. What I > wrote referred to my version. > > I just sent a release candidate to Francois, wait his announcement. It was the latest version available from the ICS web site. If GZIP did not work in that version, why was it posted atall?

Re: [twsocket] [TMimeDec] Beta version to test

2005-08-29 Thread Angus Robertson - Magenta Systems Ltd
> And what was the cause? In TMimeDecEx you set destination stream *after > the part was decoded*. You lose your data, because you *don't save it*: > Hope this helps... :) Not really, you say there's bug in TMimeDecEx, but you don't say what you changed to get your 'result'. The stream is nev

Re: [twsocket] FTPClient speeds

2005-08-29 Thread Angus Robertson - Magenta Systems Ltd
> Is GET faster than PUT? > In my tests GET performs seven times faster than PUT. > Server caches files, is that the reason? Yes, reading a file will always be much faster than writing one, particularly on a heavily loaded web server where much of the content is coming from memory, and stuff is

Re: [twsocket] How reliable is this mailing list?

2005-08-30 Thread Angus Robertson - Magenta Systems Ltd
> Excuse me, but how I can know that you have missed the key messages > and don't download the file that we are speaking? > There are a snipped of messages from Francois in this mailing list: > Subject: [twsocket] HTTP client component and document encoding > Date: 21 Jul 2005 17:15:19 GMT Yes, I

Re: [twsocket] [TMimeDec] Beta version to test

2005-09-02 Thread Angus Robertson - Magenta Systems Ltd
> > And what was the cause? In TMimeDecEx you set destination stream > > after the part was decoded. You lose your data, because you don't > > save it: > > Hope this helps... :) > > Not really, you say there's bug in TMimeDecEx, but you don't say what > you changed to get your 'result'. No r

Re: [twsocket] Download time

2005-09-02 Thread Angus Robertson - Magenta Systems Ltd
> I am unfamiliar with GetTickCount. Is that an API or something? GetTickCount returns milliseconds since Windows booted. It's a core Windows API used for most application timing, although it only has a resolution of about 20ms (I think), it also wraps after 49 days, so some care is needed fo

Re: [twsocket] Download time

2005-09-02 Thread Angus Robertson - Magenta Systems Ltd
> You can also use TDateTime, but if the clock on your computer is changed > during time-measuring, you would get the wrong values. Which is a very good reason for not using it! And all the floating point arithmetic and conversion from system time is much slower. QueryPerformanceCounter can b

Re: [twsocket] RCVFILE maximum file size

2005-09-05 Thread Angus Robertson - Magenta Systems Ltd
> The sample program RCVFILE.DPR crashes when the file being sent by > SENDFILE.DPR is big. It works with 2MB files but not 2GB files. > until this sample program is fixed I can't. You can also fix it yourself, or use a protocol that supports files larger than 2 gigs. Basically that excludes ICS

<    2   3   4   5   6   7   8   9   >