Re: [twsocket] TWsocket server client list Error

2006-10-18 Thread Francois Piette
>I did this in TcpSrv (adding the thread etc ) demo and into a service. The
>demo works fine and no blank ip port connections appeared but the service
>did not work and in some moment did not receive more connections. I still
>have 10038 errors in BgExcep. I already check buffers and all code to avoid
>lose of the handle.

Did you start from the demo service provided with ICS or a brand new one you
created ?
You can email me your /source/ code (no exe please. Just full source to
rebuild quickly and easily your test). I don't promize to have time to look
at it. Il will do if I find some spare time and your code is small and easy
to read.

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

-- 
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] Problem with HttpCli

2006-10-18 Thread Francois Piette
> Project Freesale.exe raised exception class EHTTPException with
> message 'Can't resolve hostname to IP address."

This message means the component can't get the IP address for the hostname
you specified in the URL. It could be a simple typo error in the URL. Check
it twice. And try the URL with your favorite browser.

You may also have been the victim of a virus. Some are killing the TCP/IP
configuration, moving the location of config files to somewhere else and so
winsock doesn't fond them any more.


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: "ShowMe Software" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, October 18, 2006 4:08 AM
Subject: [twsocket] Problem with HttpCli


> Hi list,
>
> I'm using Delphi 7 and I'm having a problem with the HttpCli component.
> I've had this component in an app for several years and use it to 'get' a
> simple file.  Just recently, and out of the blue, it stopped working.
When
> it first happened, I couldn't compile the application, stopping on the
> following line:
>
> TAccept= function (s: TSocket; addr: PSockAddr;
>addrlen: PInteger): TSocket;
stdcall;
>
> with the error message : [Error] WSOCKET.PAS(3213): Incompatible types:
> 'sockaddr_in' and 'PSOCKADDR' [Fatal Error] EXRATE.PAS(66): Could not
> compile used unit 'WSocket.pas'
>
> I did a Google search on this error and Francois' answer was that perhaps
> this fellow had messed up the folders in the installation or didn't have
the
> correct path in the library.  Francois went on to say that you had to be
> sure you had the correct version of wsocket.pas for your Delphi version.
>
> So, I downloaded the latest version of ICS (not beta), uninstalled the
> current version of ICS and installed the new version.  I did delete all of
> the ICS dcu files before reinstalling ICS.  After that, I could compile
and
> everything looked OK at first.  But, when I run the application and the
code
> attempts to 'get', I now get the following error:
>
> Project Freesale.exe raised exception class EHTTPException with message
> 'Can't resolve hostname to IP address."
>
> I'm at a loss as to what's causing my problem.  I haven't changed any of
the
> code in my app in the area where the file get is performed.  I'd be
grateful
> if you could help me figure out where the problem is.
>
> Thank You,
> Harry
>
> -- 
> 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


[twsocket] Connection Problem SFTP

2006-10-18 Thread Beacon - Business Solution Architects
Hi,

 

I’m struggling with a strange problem at the moment establishing a SFTP
connection. (Delphi 6)

 

When executing the following procedure FTPClient1.PutAsync. I get the error
… Application raised exception class FTPException with message ‘FTP
component not ready.’

 

This is a part of my code:

 

  FTPClient1.HostName := str_ftp.Text;

 if cb_ssl.checked then

FTPClient1.Port := '990'

 else

FTPClient1.Port := '21';

 FTPClient1.UserName := e_company.text;

 FTPClient1.PassWord := ftp_password.text;

 FTPClient1.HostDirName := '/';

 FTPCLient1.LocalFileName := FileName;

 FTPClient1.HostFileName := 'DUMMY.TST';

 FTPClient1.Binary := False;

 FtpClient1.OnDisplay := DisplayHandler;

 FTPClient1.Passive:=True;

 FtpClient1.Options:= FtpClient1.Options -
[ftpNoAutoResumeAt];

 

 FTPClient1.ConnectAsync;

 FTPClient1.PutAsync;
ß CAUSE ERROR

 FTPClient1.QuitAsync;

 

 

I’m I missing something ?

 

Thanks for feedback

 

-- 
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] Connection Problem SFTP

2006-10-18 Thread Frans van Daalen

- Original Message - 
From: "Beacon - Business Solution Architects" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, October 18, 2006 12:20 PM
Subject: [twsocket] Connection Problem SFTP


Hi,



I'm struggling with a strange problem at the moment establishing a SFTP
connection. (Delphi 6)



When executing the following procedure FTPClient1.PutAsync. I get the error
. Application raised exception class FTPException with message 'FTP
component not ready.'





 FTPClient1.ConnectAsync;

 FTPClient1.PutAsync;
ß CAUSE ERROR

 FTPClient1.QuitAsync;


I'm not a export on the ftp component but the connect is async so at the 
moment the putasync is called the connect might not be ready yet

-- 
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] Connection Problem SFTP

2006-10-18 Thread Francois Piette
> I'm struggling with a strange problem at the moment
> establishing a SFTP connection. (Delphi 6)

SFTP ?! Are you sure ? It is not supported by the component.
FTPS is supported by ICS-SSL but it is not SFTP.

It is probably the problem. You don't see it because you don't check any
result or error.

--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be

- Original Message - 
From: "Beacon - Business Solution Architects" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, October 18, 2006 12:20 PM
Subject: [twsocket] Connection Problem SFTP


> Hi,
>
>
>
> I'm struggling with a strange problem at the moment establishing a SFTP
> connection. (Delphi 6)
>
>
>
> When executing the following procedure FTPClient1.PutAsync. I get the
error
> . Application raised exception class FTPException with message 'FTP
> component not ready.'
>
>
>
> This is a part of my code:
>
>
>
>   FTPClient1.HostName := str_ftp.Text;
>
>  if cb_ssl.checked then
>
> FTPClient1.Port := '990'
>
>  else
>
> FTPClient1.Port := '21';
>
>  FTPClient1.UserName := e_company.text;
>
>  FTPClient1.PassWord := ftp_password.text;
>
>  FTPClient1.HostDirName := '/';
>
>  FTPCLient1.LocalFileName := FileName;
>
>  FTPClient1.HostFileName := 'DUMMY.TST';
>
>  FTPClient1.Binary := False;
>
>  FtpClient1.OnDisplay := DisplayHandler;
>
>  FTPClient1.Passive:=True;
>
>  FtpClient1.Options:= FtpClient1.Options -
> [ftpNoAutoResumeAt];
>
>
>
>  FTPClient1.ConnectAsync;
>
>  FTPClient1.PutAsync;
> ß CAUSE ERROR
>
>  FTPClient1.QuitAsync;
>
>
>
>
>
> I'm I missing something ?
>
>
>
> Thanks for feedback
>
>
>
> -- 
> 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] Connection Problem SFTP

2006-10-18 Thread Beacon - Business Solution Architects
Sorry I mean a Secure FTP Connection so FTPS.   (... get lost in the world
of abbreviations...)

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Francois Piette
Sent: woensdag 18 oktober 2006 13:22
To: ICS support mailing
Subject: Re: [twsocket] Connection Problem SFTP

> I'm struggling with a strange problem at the moment
> establishing a SFTP connection. (Delphi 6)

SFTP ?! Are you sure ? It is not supported by the component.
FTPS is supported by ICS-SSL but it is not SFTP.

It is probably the problem. You don't see it because you don't check any
result or error.

--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be

- Original Message - 
From: "Beacon - Business Solution Architects" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, October 18, 2006 12:20 PM
Subject: [twsocket] Connection Problem SFTP


> Hi,
>
>
>
> I'm struggling with a strange problem at the moment establishing a SFTP
> connection. (Delphi 6)
>
>
>
> When executing the following procedure FTPClient1.PutAsync. I get the
error
> . Application raised exception class FTPException with message 'FTP
> component not ready.'
>
>
>
> This is a part of my code:
>
>
>
>   FTPClient1.HostName := str_ftp.Text;
>
>  if cb_ssl.checked then
>
> FTPClient1.Port := '990'
>
>  else
>
> FTPClient1.Port := '21';
>
>  FTPClient1.UserName := e_company.text;
>
>  FTPClient1.PassWord := ftp_password.text;
>
>  FTPClient1.HostDirName := '/';
>
>  FTPCLient1.LocalFileName := FileName;
>
>  FTPClient1.HostFileName := 'DUMMY.TST';
>
>  FTPClient1.Binary := False;
>
>  FtpClient1.OnDisplay := DisplayHandler;
>
>  FTPClient1.Passive:=True;
>
>  FtpClient1.Options:= FtpClient1.Options -
> [ftpNoAutoResumeAt];
>
>
>
>  FTPClient1.ConnectAsync;
>
>  FTPClient1.PutAsync;
> ß CAUSE ERROR
>
>  FTPClient1.QuitAsync;
>
>
>
>
>
> I'm I missing something ?
>
>
>
> Thanks for feedback
>
>
>
> -- 
> 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

-- 
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] Connection Problem SFTP

2006-10-18 Thread Francois Piette
> Sorry I mean a Secure FTP Connection so FTPS.
> (... get lost in the world of abbreviations...)

FTPS is FTP over SSL.
SFTP is FTP over SSH (terminal emulation).

If you want to use FTPS, you have to have ICS-SSL. Standard ICS is not able
to handle SSL protocol.
Have a look at  http://www.overbyte.be/eng/ssl.html for details about
ICS-SSL.

--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be


- Original Message - 
From: "Beacon - Business Solution Architects" <[EMAIL PROTECTED]>
To: "'ICS support mailing'" 
Sent: Wednesday, October 18, 2006 1:28 PM
Subject: Re: [twsocket] Connection Problem SFTP


> Sorry I mean a Secure FTP Connection so FTPS.   (... get lost in the world
> of abbreviations...)
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Francois Piette
> Sent: woensdag 18 oktober 2006 13:22
> To: ICS support mailing
> Subject: Re: [twsocket] Connection Problem SFTP
>
> > I'm struggling with a strange problem at the moment
> > establishing a SFTP connection. (Delphi 6)
>
> SFTP ?! Are you sure ? It is not supported by the component.
> FTPS is supported by ICS-SSL but it is not SFTP.
>
> It is probably the problem. You don't see it because you don't check any
> result or error.
>
> --
> [EMAIL PROTECTED]
> Author of ICS (Internet Component Suite, freeware)
> Author of MidWare (Multi-tier framework, freeware)
> http://www.overbyte.be
>
> - Original Message - 
> From: "Beacon - Business Solution Architects" <[EMAIL PROTECTED]>
> To: 
> Sent: Wednesday, October 18, 2006 12:20 PM
> Subject: [twsocket] Connection Problem SFTP
>
>
> > Hi,
> >
> >
> >
> > I'm struggling with a strange problem at the moment establishing a SFTP
> > connection. (Delphi 6)
> >
> >
> >
> > When executing the following procedure FTPClient1.PutAsync. I get the
> error
> > . Application raised exception class FTPException with message 'FTP
> > component not ready.'
> >
> >
> >
> > This is a part of my code:
> >
> >
> >
> >   FTPClient1.HostName := str_ftp.Text;
> >
> >  if cb_ssl.checked then
> >
> > FTPClient1.Port := '990'
> >
> >  else
> >
> > FTPClient1.Port := '21';
> >
> >  FTPClient1.UserName := e_company.text;
> >
> >  FTPClient1.PassWord := ftp_password.text;
> >
> >  FTPClient1.HostDirName := '/';
> >
> >  FTPCLient1.LocalFileName := FileName;
> >
> >  FTPClient1.HostFileName := 'DUMMY.TST';
> >
> >  FTPClient1.Binary := False;
> >
> >  FtpClient1.OnDisplay := DisplayHandler;
> >
> >  FTPClient1.Passive:=True;
> >
> >  FtpClient1.Options:= FtpClient1.Options -
> > [ftpNoAutoResumeAt];
> >
> >
> >
> >  FTPClient1.ConnectAsync;
> >
> >  FTPClient1.PutAsync;
> > ß CAUSE ERROR
> >
> >  FTPClient1.QuitAsync;
> >
> >
> >
> >
> >
> > I'm I missing something ?
> >
> >
> >
> > Thanks for feedback
> >
> >
> >
> > -- 
> > 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
>
> -- 
> 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] Connection Problem SFTP

2006-10-18 Thread Beacon - Business Solution Architects
I'm using the right library, as mentioned by another member, the normal
connect mode is working for FTPS, async connect method seems not to be
workign

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Francois Piette
Sent: woensdag 18 oktober 2006 13:40
To: ICS support mailing
Subject: Re: [twsocket] Connection Problem SFTP

> Sorry I mean a Secure FTP Connection so FTPS.
> (... get lost in the world of abbreviations...)

FTPS is FTP over SSL.
SFTP is FTP over SSH (terminal emulation).

If you want to use FTPS, you have to have ICS-SSL. Standard ICS is not able
to handle SSL protocol.
Have a look at  http://www.overbyte.be/eng/ssl.html for details about
ICS-SSL.

--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be


- Original Message - 
From: "Beacon - Business Solution Architects" <[EMAIL PROTECTED]>
To: "'ICS support mailing'" 
Sent: Wednesday, October 18, 2006 1:28 PM
Subject: Re: [twsocket] Connection Problem SFTP


> Sorry I mean a Secure FTP Connection so FTPS.   (... get lost in the world
> of abbreviations...)
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Francois Piette
> Sent: woensdag 18 oktober 2006 13:22
> To: ICS support mailing
> Subject: Re: [twsocket] Connection Problem SFTP
>
> > I'm struggling with a strange problem at the moment
> > establishing a SFTP connection. (Delphi 6)
>
> SFTP ?! Are you sure ? It is not supported by the component.
> FTPS is supported by ICS-SSL but it is not SFTP.
>
> It is probably the problem. You don't see it because you don't check any
> result or error.
>
> --
> [EMAIL PROTECTED]
> Author of ICS (Internet Component Suite, freeware)
> Author of MidWare (Multi-tier framework, freeware)
> http://www.overbyte.be
>
> - Original Message - 
> From: "Beacon - Business Solution Architects" <[EMAIL PROTECTED]>
> To: 
> Sent: Wednesday, October 18, 2006 12:20 PM
> Subject: [twsocket] Connection Problem SFTP
>
>
> > Hi,
> >
> >
> >
> > I'm struggling with a strange problem at the moment establishing a SFTP
> > connection. (Delphi 6)
> >
> >
> >
> > When executing the following procedure FTPClient1.PutAsync. I get the
> error
> > . Application raised exception class FTPException with message 'FTP
> > component not ready.'
> >
> >
> >
> > This is a part of my code:
> >
> >
> >
> >   FTPClient1.HostName := str_ftp.Text;
> >
> >  if cb_ssl.checked then
> >
> > FTPClient1.Port := '990'
> >
> >  else
> >
> > FTPClient1.Port := '21';
> >
> >  FTPClient1.UserName := e_company.text;
> >
> >  FTPClient1.PassWord := ftp_password.text;
> >
> >  FTPClient1.HostDirName := '/';
> >
> >  FTPCLient1.LocalFileName := FileName;
> >
> >  FTPClient1.HostFileName := 'DUMMY.TST';
> >
> >  FTPClient1.Binary := False;
> >
> >  FtpClient1.OnDisplay := DisplayHandler;
> >
> >  FTPClient1.Passive:=True;
> >
> >  FtpClient1.Options:= FtpClient1.Options -
> > [ftpNoAutoResumeAt];
> >
> >
> >
> >  FTPClient1.ConnectAsync;
> >
> >  FTPClient1.PutAsync;
> > ß CAUSE ERROR
> >
> >  FTPClient1.QuitAsync;
> >
> >
> >
> >
> >
> > I'm I missing something ?
> >
> >
> >
> > Thanks for feedback
> >
> >
> >
> > -- 
> > 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
>
> -- 
> 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

-- 
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] Connection Problem SFTP

2006-10-18 Thread Francois Piette
> I'm using the right library, as mentioned by another member

OK. I was confused since you use ICS-STD support mailing list instead of
ICS-SSL support mailing list. It is probably better to use the right mailing
list to make things clear for everyone and to not confuse people using
ICS-STD with SSL stuff.

Have you subscribed to ICS-SSL mailing list ?
If not, then do it ! Got to http://www.elists.org/mailman/listinfo/ics-ssl

> async connect method seems not to be workign

For FTPS, there is one more command to select SSL. This may be the problem.
Please continue the discussion is ICS-SSL mailing list.

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: "Beacon - Business Solution Architects" <[EMAIL PROTECTED]>
To: "'ICS support mailing'" 
Sent: Wednesday, October 18, 2006 1:44 PM
Subject: Re: [twsocket] Connection Problem SFTP


> I'm using the right library, as mentioned by another member, the normal
> connect mode is working for FTPS, async connect method seems not to be
> workign
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Francois Piette
> Sent: woensdag 18 oktober 2006 13:40
> To: ICS support mailing
> Subject: Re: [twsocket] Connection Problem SFTP
>
> > Sorry I mean a Secure FTP Connection so FTPS.
> > (... get lost in the world of abbreviations...)
>
> FTPS is FTP over SSL.
> SFTP is FTP over SSH (terminal emulation).
>
> If you want to use FTPS, you have to have ICS-SSL. Standard ICS is not
able
> to handle SSL protocol.
> Have a look at  http://www.overbyte.be/eng/ssl.html for details about
> ICS-SSL.
>
> --
> [EMAIL PROTECTED]
> Author of ICS (Internet Component Suite, freeware)
> Author of MidWare (Multi-tier framework, freeware)
> http://www.overbyte.be
>
>
> - Original Message - 
> From: "Beacon - Business Solution Architects" <[EMAIL PROTECTED]>
> To: "'ICS support mailing'" 
> Sent: Wednesday, October 18, 2006 1:28 PM
> Subject: Re: [twsocket] Connection Problem SFTP
>
>
> > Sorry I mean a Secure FTP Connection so FTPS.   (... get lost in the
world
> > of abbreviations...)
> >
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On
> > Behalf Of Francois Piette
> > Sent: woensdag 18 oktober 2006 13:22
> > To: ICS support mailing
> > Subject: Re: [twsocket] Connection Problem SFTP
> >
> > > I'm struggling with a strange problem at the moment
> > > establishing a SFTP connection. (Delphi 6)
> >
> > SFTP ?! Are you sure ? It is not supported by the component.
> > FTPS is supported by ICS-SSL but it is not SFTP.
> >
> > It is probably the problem. You don't see it because you don't check any
> > result or error.
> >
> > --
> > [EMAIL PROTECTED]
> > Author of ICS (Internet Component Suite, freeware)
> > Author of MidWare (Multi-tier framework, freeware)
> > http://www.overbyte.be
> >
> > - Original Message - 
> > From: "Beacon - Business Solution Architects" <[EMAIL PROTECTED]>
> > To: 
> > Sent: Wednesday, October 18, 2006 12:20 PM
> > Subject: [twsocket] Connection Problem SFTP
> >
> >
> > > Hi,
> > >
> > >
> > >
> > > I'm struggling with a strange problem at the moment establishing a
SFTP
> > > connection. (Delphi 6)
> > >
> > >
> > >
> > > When executing the following procedure FTPClient1.PutAsync. I get the
> > error
> > > . Application raised exception class FTPException with message 'FTP
> > > component not ready.'
> > >
> > >
> > >
> > > This is a part of my code:
> > >
> > >
> > >
> > >   FTPClient1.HostName := str_ftp.Text;
> > >
> > >  if cb_ssl.checked then
> > >
> > > FTPClient1.Port := '990'
> > >
> > >  else
> > >
> > > FTPClient1.Port := '21';
> > >
> > >  FTPClient1.UserName := e_company.text;
> > >
> > >  FTPClient1.PassWord := ftp_password.text;
> > >
> > >  FTPClient1.HostDirName := '/';
> > >
> > >  FTPCLient1.LocalFileName := FileName;
> > >
> > >  FTPClient1.HostFileName := 'DUMMY.TST';
> > >
> > >  FTPClient1.Binary := False;
> > >
> > >  FtpClient1.OnDisplay := DisplayHandler;
> > >
> > >  FTPClient1.Passive:=True;
> > >
> > >  FtpClient1.Options:= FtpClient1.Options -
> > > [ftpNoAutoResumeAt];
> > >
> > >
> > >
> > >  FTPClient1.ConnectAsync;
> > >
> > >  FTPClient1.PutAsync;
> > > ß CAUSE ERROR
> > >
> > >  FTPClient1.QuitAsync;
> > >
> > >
> > >
> > >
> > >
> > > I'm I missing something ?
> > >
> > >
> > >
> > > Thanks for feedback

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

Re: [twsocket] Connection Problem SFTP

2006-10-18 Thread Arno Garrels
As Frans already posted before, beside it's SSL stuff, there's
also this very common error: 

>  FTPClient1.ConnectAsync;
>
>  FTPClient1.PutAsync;
> ß CAUSE ERROR

ConnectAsync behaves !!asynchrone!! Means when it returns you
may not have a connection yet!! You must assign OnRequestDone
when you use methods ending on "Async".
Call any further methods from inside the OnRequestDone event
handler.

So call FTPClient1.ConnectAsync, later when Connect triggeres
OnRequestDone with ErrCode = 0 and the client is still connected
you call next method.

---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html


Francois Piette wrote:
>> I'm using the right library, as mentioned by another member
> 
> OK. I was confused since you use ICS-STD support mailing list instead
> of 
> ICS-SSL support mailing list. It is probably better to use the right
> mailing 
> list to make things clear for everyone and to not confuse people using
> ICS-STD with SSL stuff.
> 
> Have you subscribed to ICS-SSL mailing list ?
> If not, then do it ! Got to
> http://www.elists.org/mailman/listinfo/ics-ssl 
> 
>> async connect method seems not to be workign
> 
> For FTPS, there is one more command to select SSL. This may be the
> problem. 
> Please continue the discussion is ICS-SSL mailing list.
> 
> 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: "Beacon - Business Solution Architects" <[EMAIL PROTECTED]>
> To: "'ICS support mailing'" 
> Sent: Wednesday, October 18, 2006 1:44 PM
> Subject: Re: [twsocket] Connection Problem SFTP
> 
> 
>> I'm using the right library, as mentioned by another member, the
>> normal connect mode is working for FTPS, async connect method seems
>> not to be workign
>> 
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:twsocket-
>> [EMAIL PROTECTED] On Behalf Of Francois Piette
>> Sent: woensdag 18 oktober 2006 13:40
>> To: ICS support mailing
>> Subject: Re: [twsocket] Connection Problem SFTP
>> 
>>> Sorry I mean a Secure FTP Connection so FTPS.
>>> (... get lost in the world of abbreviations...)
>> 
>> FTPS is FTP over SSL.
>> SFTP is FTP over SSH (terminal emulation).
>> 
>> If you want to use FTPS, you have to have ICS-SSL. Standard ICS is
>> not able to handle SSL protocol.
>> Have a look at  http://www.overbyte.be/eng/ssl.html for details about
>> ICS-SSL.
>> 
>> --
>> [EMAIL PROTECTED]
>> Author of ICS (Internet Component Suite, freeware)
>> Author of MidWare (Multi-tier framework, freeware)
>> http://www.overbyte.be
>> 
>> 
>> - Original Message -
>> From: "Beacon - Business Solution Architects"
>> <[EMAIL PROTECTED]> To: "'ICS support mailing'"
>>  Sent: Wednesday, October 18, 2006 1:28 PM
>> Subject: Re: [twsocket] Connection Problem SFTP
>> 
>> 
>>> Sorry I mean a Secure FTP Connection so FTPS.   (... get lost in
>>> the world of abbreviations...)
>>> 
>>> -Original Message-
>>> From: [EMAIL PROTECTED] [mailto:twsocket-
>>> [EMAIL PROTECTED] On Behalf Of Francois Piette
>>> Sent: woensdag 18 oktober 2006 13:22
>>> To: ICS support mailing
>>> Subject: Re: [twsocket] Connection Problem SFTP
>>> 
 I'm struggling with a strange problem at the moment
 establishing a SFTP connection. (Delphi 6)
>>> 
>>> SFTP ?! Are you sure ? It is not supported by the component.
>>> FTPS is supported by ICS-SSL but it is not SFTP.
>>> 
>>> It is probably the problem. You don't see it because you don't
>>> check any result or error.
>>> 
>>> --
>>> [EMAIL PROTECTED]
>>> Author of ICS (Internet Component Suite, freeware)
>>> Author of MidWare (Multi-tier framework, freeware)
>>> http://www.overbyte.be
>>> 
>>> - Original Message -
>>> From: "Beacon - Business Solution Architects"
>>> <[EMAIL PROTECTED]> To: 
>>> Sent: Wednesday, October 18, 2006 12:20 PM
>>> Subject: [twsocket] Connection Problem SFTP
>>> 
>>> 
 Hi,
 
 
 
 I'm struggling with a strange problem at the moment establishing a
 SFTP connection. (Delphi 6)
 
 
 
 When executing the following procedure FTPClient1.PutAsync. I get
 the error . Application raised exception class FTPException with
 message 'FTP component not ready.'
 
 
 
 This is a part of my code:
 
 
 
   FTPClient1.HostName := str_ftp.Text;
 
  if cb_ssl.checked then
 
 FTPClient1.Port := '990'
 
  else
 
 FTPClient1.Port := '21';
 
  FTPClient1.UserName := e_company.text;
 
  FTPClient1.PassWord := ftp_password.text;
 
  FTPClient1.HostDirName := '/';
 
  FTPCLient1.LocalFileName := FileName

Re: [twsocket] ICS V6. and W98/W95

2006-10-18 Thread jan hek
Hello François,
Applications generated by Delphi 7 with ICS v6 don't work under W95/W98. I 
tested in W95 and W98SE.
If the application has a twsocket or derived on the form the application 
gives a : "eedfade" error.
In the case the socket is created after a buttonclick, the creation fails.I 
don't have details : I don't have delphi 7 running in W98

regards
jan

- Original Message - 
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Sunday, October 15, 2006 4:12 PM
Subject: Re: [twsocket] ICS V6. and W98/W95


>> Using V6 solved to me W2003 problems.. but now applications using 
>> twsocket
>> and twsocketserver seem not to run any more in W95/W98.
>> Are there precautions to take ?
>> Properties not to use ?
>> Any other suggestion ?
>
> It should work on W95/W98 altough I have no more such system to 
> experiment.
> Be sure to install winsock2 which is not by default on those old systems.
> And as always install the latest service packs from Mircosoft (I think you
> must do it manually since windows Update doesn't work anymore for those
> version. Or does it still works ?)
>
> Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
> --
> [EMAIL PROTECTED]
> The author for the freeware multi-tier middleware MidWare
> The author of the freeware Internet Component Suite (ICS)
> 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
> 

-- 
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] Problem with HttpCli

2006-10-18 Thread ShowMe Software
Thanks Francois.  I took a clue from your suggestion and found the problem. 
It wasn't in the IP address but was in the Proxy property.  The Proxy 
property of HttpCli (which was loading from an .ini file) was getting a 
value from the .ini file that was stopping the connection.  The bad value 
was apparently being saved to the .ini file because of a typo on my part in 
the code.

Expect a fancy postcard from the sunny (sometimes) Lake of the Ozarks in the 
U.S.  :-)

Thanks for the help,
Harry

- Original Message - 
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Wednesday, October 18, 2006 2:16 AM
Subject: Re: [twsocket] Problem with HttpCli


>> Project Freesale.exe raised exception class EHTTPException with
>> message 'Can't resolve hostname to IP address."
>
> This message means the component can't get the IP address for the hostname
> you specified in the URL. It could be a simple typo error in the URL. 
> Check
> it twice. And try the URL with your favorite browser.
>
> You may also have been the victim of a virus. Some are killing the TCP/IP
> configuration, moving the location of config files to somewhere else and 
> so
> winsock doesn't fond them any more.
>
>
> 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: "ShowMe Software" <[EMAIL PROTECTED]>
> To: 
> Sent: Wednesday, October 18, 2006 4:08 AM
> Subject: [twsocket] Problem with HttpCli
>
>
>> Hi list,
>>
>> I'm using Delphi 7 and I'm having a problem with the HttpCli component.
>> I've had this component in an app for several years and use it to 'get' a
>> simple file.  Just recently, and out of the blue, it stopped working.
> When
>> it first happened, I couldn't compile the application, stopping on the
>> following line:
>>
>> TAccept= function (s: TSocket; addr: PSockAddr;
>>addrlen: PInteger): TSocket;
> stdcall;
>>
>> with the error message : [Error] WSOCKET.PAS(3213): Incompatible types:
>> 'sockaddr_in' and 'PSOCKADDR' [Fatal Error] EXRATE.PAS(66): Could not
>> compile used unit 'WSocket.pas'
>>
>> I did a Google search on this error and Francois' answer was that perhaps
>> this fellow had messed up the folders in the installation or didn't have
> the
>> correct path in the library.  Francois went on to say that you had to be
>> sure you had the correct version of wsocket.pas for your Delphi version.
>>
>> So, I downloaded the latest version of ICS (not beta), uninstalled the
>> current version of ICS and installed the new version.  I did delete all 
>> of
>> the ICS dcu files before reinstalling ICS.  After that, I could compile
> and
>> everything looked OK at first.  But, when I run the application and the
> code
>> attempts to 'get', I now get the following error:
>>
>> Project Freesale.exe raised exception class EHTTPException with message
>> 'Can't resolve hostname to IP address."
>>
>> I'm at a loss as to what's causing my problem.  I haven't changed any of
> the
>> code in my app in the area where the file get is performed.  I'd be
> grateful
>> if you could help me figure out where the problem is.
>>
>> Thank You,
>> Harry
>>
>> -- 
>> 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 

-- 
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] ICS V6. and W98/W95

2006-10-18 Thread Arno Garrels
jan hek wrote:
> In the case the socket is created after a buttonclick, the creation
> fails.I 
> don't have details : I don't have delphi 7 running in W98

Use MadExcept (http://www.madshi.net/madExceptDescription.htm) to get
a detailed bug report, including a nice stack trace with line numbers
where the error occured. 

---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html


> 
> - Original Message -
> From: "Francois PIETTE" <[EMAIL PROTECTED]>
> To: "ICS support mailing" 
> Sent: Sunday, October 15, 2006 4:12 PM
> Subject: Re: [twsocket] ICS V6. and W98/W95
> 
> 
>>> Using V6 solved to me W2003 problems.. but now applications using
>>> twsocket
>>> and twsocketserver seem not to run any more in W95/W98.
>>> Are there precautions to take ?
>>> Properties not to use ?
>>> Any other suggestion ?
>> 
>> It should work on W95/W98 altough I have no more such system to
>> experiment.
>> Be sure to install winsock2 which is not by default on those old
>> systems. And as always install the latest service packs from
>> Mircosoft (I think you must do it manually since windows Update
>> doesn't work anymore for those version. Or does it still works ?)
>> 
>> Contribute to the SSL Effort. Visit
>> http://www.overbyte.be/eng/ssl.html --
>> [EMAIL PROTECTED]
>> The author for the freeware multi-tier middleware MidWare
>> The author of the freeware Internet Component Suite (ICS)
>> 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
-- 
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] ICS V6. and W98/W95

2006-10-18 Thread Frans van Daalen
- Original Message - 
From: "jan hek" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Wednesday, October 18, 2006 3:48 PM
Subject: Re: [twsocket] ICS V6. and W98/W95


Hello François,
Applications generated by Delphi 7 with ICS v6 don't work under W95/W98. I
tested in W95 and W98SE.
If the application has a twsocket or derived on the form the application
gives a : "eedfade" error.
In the case the socket is created after a buttonclick, the creation fails.I
don't have details : I don't have delphi 7 running in W98

regards
jan
-

I have no problems with v6 on W98SE. Application is build using D7 and uses 
THTTPCLI


-- 
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] ICS V6. and W98/W95

2006-10-18 Thread Arno Garrels
Frans van Daalen wrote:
> 
> I have no problems with v6 on W98SE. Application is build using D7
> and uses 
> THTTPCLI

Same here, I tested a V5 TSocketServer on W98se recently.

---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html

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