Re: [twsocket] File transfer through SSL

2011-04-06 Thread daniel cc

Hi Francois,
Do we have any kind of demo project of how to upload stuff to the server by 
using ssl and how to download from the server?

This is something that I also very much would like to know about.

I have faced many times the following problem,
No one likes to open too many ports, if we could do anything over SSL port, 
that would be great.


Thanks in advance

-Original Message- 
From: Francois PIETTE

Sent: Tuesday, April 05, 2011 11:11 PM
To: ICS support mailing
Subject: Re: [twsocket] File transfer through SSL



You cannot communicate between clients. You must pass thru the server,
first upload the file from one client to the server and then download
the file from the server to the second client.

Or transform one client into a server (That is simply use ICS HTTPS
server component). But then you'll have issues with the firewall which
must forward the incomming connection to the client computer running the
server program.


But could it be possible to have an application that is server and client 
in the same time and for both operations use only one common port like 
port 80 ? Something like Skype does ?


Yes, no problem. You can have a server program listening on port 80 and on
the same computer a client program connecting to a server (local or remote)
on the port 80.

And instead of using HTTPS (SSL) use HTTP but with a custom encryption if 
needed. That's an idea, OK?


You can use HTTP protocol to transport any file, including encrypted files.

--
francois.pie...@overbyte.be
The author of 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://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be 


--
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] File transfer through SSL

2011-04-06 Thread Francois PIETTE
Do we have any kind of demo project of how to upload stuff to the server 
by using ssl and how to download from the server?

This is something that I also very much would like to know about.


You have two demos: client (OverbyteIcsHttpsTst.dproj) and server 
(OverbyteIcsHttpsServer). Both are located under ics install 
dir\Delphi\SslInternet


--
francois.pie...@overbyte.be
The author of 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://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] File transfer through SSL

2011-04-06 Thread daniel cc

Thanks Francois :)
I will check them out.



-Original Message- 
From: Francois PIETTE 
Sent: Wednesday, April 06, 2011 2:36 PM 
To: ICS support mailing 
Subject: Re: [twsocket] File transfer through SSL 

Do we have any kind of demo project of how to upload stuff to the server 
by using ssl and how to download from the server?

This is something that I also very much would like to know about.


You have two demos: client (OverbyteIcsHttpsTst.dproj) and server 
(OverbyteIcsHttpsServer). Both are located under ics install 
dir\Delphi\SslInternet


--
francois.pie...@overbyte.be
The author of 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://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
--
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] File transfer through SSL

2011-04-05 Thread Boris Saint-Martin

Ok. Thank you for your answer.

And how could I send a file on HTTPS protocol?
I would like to connect two clients behind firewalls through a server on WAN 
and initiate the file transfer between them... Do you think that's possible?


--
From: Francois PIETTE francois.pie...@skynet.be
Sent: Tuesday, April 05, 2011 7:28 AM
To: ICS support mailing twsocket@elists.org
Subject: Re: [twsocket] File transfer through SSL


I would like to transfer a file through a SSL tunnel using 443 port.
I've seen the SSL implementation in my loved ICS Components and I was
wondering how used them to do this...

Could you help me?
SFTP or HTTPS or...?


HTTPS OK, FTPS OK, SFTP not OK (because it is SSH and not SSL).


Is there a way to only use the 443 port on client side and don't open
other port?


Use HTTPS. Only port 443 is used.

--
francois.pie...@overbyte.be
The author of 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://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] File transfer through SSL

2011-04-05 Thread Francois PIETTE

And how could I send a file on HTTPS protocol?


There is no difference in HTTP (or HTTPS) between files and documents.

I would like to connect two clients behind firewalls through a server on 
WAN and initiate the file transfer between them... Do you think that's 
possible?


Do you mean you have 3 computers involved: one server and two clients and 
want to transfer a file between the two clients ?


You cannot communicate between clients. You must pass thru the server, first 
upload the file from one client to the server and then download the file 
from the server to the second client.


Or transform one client into a server (That is simply use ICS HTTPS server 
component). But then you'll have issues with the firewall which must forward 
the incomming connection to the client computer running the server program.


--
francois.pie...@overbyte.be
The author of 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://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] File transfer through SSL

2011-04-05 Thread Dimitris Botsis

On 5/4/2011 4:24 μμ, Francois PIETTE wrote:

And how could I send a file on HTTPS protocol?


There is no difference in HTTP (or HTTPS) between files and documents.


I would like to connect two clients behind firewalls through a server
on WAN and initiate the file transfer between them... Do you think
that's possible?


Do you mean you have 3 computers involved: one server and two clients
and want to transfer a file between the two clients ?

You cannot communicate between clients. You must pass thru the server,
first upload the file from one client to the server and then download
the file from the server to the second client.

Or transform one client into a server (That is simply use ICS HTTPS
server component). But then you'll have issues with the firewall which
must forward the incomming connection to the client computer running the
server program.
But could it be possible to have an application that is server and 
client in the same time and for both operations use only one common port 
like port 80 ? Something like Skype does ?
And instead of using HTTPS (SSL) use HTTP but with a custom encryption 
if needed. That's an idea, OK?
Did not implemented something like that (yet) but I think it would be 
interested.




--
francois.pie...@overbyte.be
The author of 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://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be




--
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] File transfer through SSL

2011-04-05 Thread Francois PIETTE



You cannot communicate between clients. You must pass thru the server,
first upload the file from one client to the server and then download
the file from the server to the second client.

Or transform one client into a server (That is simply use ICS HTTPS
server component). But then you'll have issues with the firewall which
must forward the incomming connection to the client computer running the
server program.


But could it be possible to have an application that is server and client 
in the same time and for both operations use only one common port like 
port 80 ? Something like Skype does ?


Yes, no problem. You can have a server program listening on port 80 and on 
the same computer a client program connecting to a server (local or remote) 
on the port 80.


And instead of using HTTPS (SSL) use HTTP but with a custom encryption if 
needed. That's an idea, OK?


You can use HTTP protocol to transport any file, including encrypted files.

--
francois.pie...@overbyte.be
The author of 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://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] File transfer through SSL

2011-04-04 Thread bsaintmartin
Hello world,
I would like to transfer a file through a SSL tunnel using 443 port.
I've seen the SSL implementation in my loved ICS Components and I was
wondering how used them to do this...

Could you help me?
SFTP or HTTPS or...?
Is there a way to only use the 443 port on client side and don't open
other port?

Thanks for help. Boris
--
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] File transfer through SSL

2011-04-04 Thread Francois PIETTE

I would like to transfer a file through a SSL tunnel using 443 port.
I've seen the SSL implementation in my loved ICS Components and I was
wondering how used them to do this...

Could you help me?
SFTP or HTTPS or...?


HTTPS OK, FTPS OK, SFTP not OK (because it is SSH and not SSL).


Is there a way to only use the 443 port on client side and don't open
other port?


Use HTTPS. Only port 443 is used.

--
francois.pie...@overbyte.be
The author of 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://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be