Does the FTP work with any FTP server?
The FTP demo that comes with Synapse doesn't work out of the box...
Does it work with any FTP server or only the Synapse server?
Here at our research project, we're transferring our database apps from Delphi on Windows to FPC-Lazarus with Firebird on Linux, but we have a very useful unit that uploads files to several directories. We're modeling it in FPC-Lazarus for Windows and need a replacement for NMFTP.
Thanks very much.
[email protected]
The FTP demo that comes with Synapse doesn't work out of the box...
Does it work with any FTP server or only the Synapse server?
Here at our research project, we're transferring our database apps from Delphi on Windows to FPC-Lazarus with Firebird on Linux, but we have a very useful unit that uploads files to several directories. We're modeling it in FPC-Lazarus for Windows and need a replacement for NMFTP.
Thanks very much.
[email protected]
----- Original Message ----
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: [email protected]
Sent: Saturday, October 28, 2006 3:16:39 PM
Subject: synalist-public Digest, Vol 5, Issue 26
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: [email protected]
Sent: Saturday, October 28, 2006 3:16:39 PM
Subject: synalist-public Digest, Vol 5, Issue 26
Send synalist-public mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/synalist-public
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of synalist-public digest..."
Today's Topics:
1. Question HTTPsend and Document stream (Thomas Kerkmann)
2. Re: Question HTTPsend and Document stream (theo)
3. Re: Question HTTPsend and Document stream (Thomas Kerkmann)
4. Re: Question HTTPsend and Document stream (Lukas Gebauer)
5. Re: Suggestions - Connected property (Lukas Gebauer)
----------------------------------------------------------------------
Message: 1
Date: Sat, 28 Oct 2006 13:29:22 +0200
From: "Thomas Kerkmann" <[EMAIL PROTECTED]>
Subject: [Synalist] Question HTTPsend and Document stream
To: <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
Hi all,
I want to receive huge files via HTTP, using HTTPsend object.
These files are encrypted, and I thought I could decrypt them while
receiving,
using an own stream write method in the receiving stream.
Unfortunately the Document property is read only, so I can not insert my own
stream here.
But I think it would be very unperformant to receive some 2..5 Gbytes into a
Memory stream and then copy/decrypt it into a file stream.
Anyone has ever tried some kind of this ?
Any hints appreciated.
Regards
Thomas.
P.S.
Lukas, great work !!
------------------------------
Message: 2
Date: Sat, 28 Oct 2006 13:45:55 +0200
From: theo <[EMAIL PROTECTED]>
Subject: Re: [Synalist] Question HTTPsend and Document stream
To: Ararat Synapse <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1
Thomas Kerkmann schrieb:
> I want to receive huge files via HTTP, using HTTPsend object.
> These files are encrypted, and I thought I could decrypt them while
> receiving,
> using an own stream write method in the receiving stream.
>
> Unfortunately the Document property is read only, so I can not insert my own
> stream here.
> But I think it would be very unperformant to receive some 2..5 Gbytes into a
> Memory stream and then copy/decrypt it into a file stream.
>
> Anyone has ever tried some kind of this ?
>
> Any hints appreciated.
>
>
I've never done this. But two ways come to my mind:
A: You could probably use RangeStart / RangeEnd to only read a part of
the file to Memory at a time.
B: Make a descendant of THTTPSend and Override HTTPMethod(..) to fit
your needs or define fDocument as TFileStream or....
Just ideas, not sure how easy it is.
------------------------------
Message: 3
Date: Sat, 28 Oct 2006 14:24:01 +0200
From: "Thomas Kerkmann" <[EMAIL PROTECTED]>
Subject: Re: [Synalist] Question HTTPsend and Document stream
To: "'Ararat Synapse'" <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"
Thanks Theo,
I already thought about that, much easier indeed would be to make Document a
writeable property.
But...
I did'n want to break the HTTPsend object in that way, because any update
would force me to insert my changes again.
So I would like to ask the question to Lukas - is it possible to have some
methods virtual and some properties writeable in the next version of
HTTPsend?
This could encourage more people to extend the objects for own purposes
without having to change basic code of the original object.
In the meantime - I think - I will make Document a writeable property and
try it this way.
Regards
Thomas.
-----Urspr?ngliche Nachricht-----
Thomas Kerkmann schrieb:
> I want to receive huge files via HTTP, using HTTPsend object.
> These files are encrypted, and I thought I could decrypt them while
> receiving, using an own stream write method in the receiving stream.
>
> Unfortunately the Document property is read only, so I can not insert
> my own stream here.
> But I think it would be very unperformant to receive some 2..5 Gbytes
> into a Memory stream and then copy/decrypt it into a file stream.
>
> Anyone has ever tried some kind of this ?
>
> Any hints appreciated.
>
>
I've never done this. But two ways come to my mind:
A: You could probably use RangeStart / RangeEnd to only read a part of the
file to Memory at a time.
B: Make a descendant of THTTPSend and Override HTTPMethod(..) to fit your
needs or define fDocument as TFileStream or....
Just ideas, not sure how easy it is.
------------------------------
Message: 4
Date: Sat, 28 Oct 2006 14:38:43 +0200
From: "Lukas Gebauer" <[EMAIL PROTECTED]>
Subject: Re: [Synalist] Question HTTPsend and Document stream
To: Ararat Synapse <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII
> So I would like to ask the question to Lukas - is it possible to have some
> methods virtual and some properties writeable in the next version of
> HTTPsend? This could encourage more people to extend the objects for own
> purposes without having to change basic code of the original object.
>
> In the meantime - I think - I will make Document a writeable property and
> try it this way.
About virtual properties and methods... Yes, I can made virtual what you
wish. My strategy is not made virtual all automaticly. I was made virtual
all where I seen reason for doing it, or where I was asked for it.
About Document property ... I thought longer time about rewriting
THttpsend class. Your problem is major goal of this rewriting. Not just
made possible to use any stream for data, but split Document and other
properties for 'Query' and 'Response' parts too.
--
Lukas Gebauer.
E-mail: [EMAIL PROTECTED]
WEB: http://www.ararat.cz/synapse - Synapse Delphi and Kylix TCP/IP
Library
------------------------------
Message: 5
Date: Sat, 28 Oct 2006 14:42:05 +0200
From: "Lukas Gebauer" <[EMAIL PROTECTED]>
Subject: Re: [Synalist] Suggestions - Connected property
To: Ararat Synapse <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-2
> It can be useful to allow readonly property Connected which will signal
> that connection for service (for example POP3) is open, avoiding using
> OnStatus event. Specifically for all of services can be obtain status of
> service connection with NOOP, However, that assume waiting time, as is set
> by Timeout ? if connection is actually broken.
>
> This property should be very easy added, regarding point where OnStatus
> fires that connection is closed.
Please, read first:
http://www.synapse.ararat.cz/wiki/index.php?page=ActiveConnection
...and then this about events in Synapse:
http://www.synapse.ararat.cz/wiki/index.php?page=ReadEvent
--
Lukas Gebauer.
E-mail: [EMAIL PROTECTED]
WEB: http://www.ararat.cz/synapse - Synapse Delphi and Kylix TCP/IP
Library
------------------------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
------------------------------
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public
End of synalist-public Digest, Vol 5, Issue 26
**********************************************
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/synalist-public
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of synalist-public digest..."
Today's Topics:
1. Question HTTPsend and Document stream (Thomas Kerkmann)
2. Re: Question HTTPsend and Document stream (theo)
3. Re: Question HTTPsend and Document stream (Thomas Kerkmann)
4. Re: Question HTTPsend and Document stream (Lukas Gebauer)
5. Re: Suggestions - Connected property (Lukas Gebauer)
----------------------------------------------------------------------
Message: 1
Date: Sat, 28 Oct 2006 13:29:22 +0200
From: "Thomas Kerkmann" <[EMAIL PROTECTED]>
Subject: [Synalist] Question HTTPsend and Document stream
To: <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
Hi all,
I want to receive huge files via HTTP, using HTTPsend object.
These files are encrypted, and I thought I could decrypt them while
receiving,
using an own stream write method in the receiving stream.
Unfortunately the Document property is read only, so I can not insert my own
stream here.
But I think it would be very unperformant to receive some 2..5 Gbytes into a
Memory stream and then copy/decrypt it into a file stream.
Anyone has ever tried some kind of this ?
Any hints appreciated.
Regards
Thomas.
P.S.
Lukas, great work !!
------------------------------
Message: 2
Date: Sat, 28 Oct 2006 13:45:55 +0200
From: theo <[EMAIL PROTECTED]>
Subject: Re: [Synalist] Question HTTPsend and Document stream
To: Ararat Synapse <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1
Thomas Kerkmann schrieb:
> I want to receive huge files via HTTP, using HTTPsend object.
> These files are encrypted, and I thought I could decrypt them while
> receiving,
> using an own stream write method in the receiving stream.
>
> Unfortunately the Document property is read only, so I can not insert my own
> stream here.
> But I think it would be very unperformant to receive some 2..5 Gbytes into a
> Memory stream and then copy/decrypt it into a file stream.
>
> Anyone has ever tried some kind of this ?
>
> Any hints appreciated.
>
>
I've never done this. But two ways come to my mind:
A: You could probably use RangeStart / RangeEnd to only read a part of
the file to Memory at a time.
B: Make a descendant of THTTPSend and Override HTTPMethod(..) to fit
your needs or define fDocument as TFileStream or....
Just ideas, not sure how easy it is.
------------------------------
Message: 3
Date: Sat, 28 Oct 2006 14:24:01 +0200
From: "Thomas Kerkmann" <[EMAIL PROTECTED]>
Subject: Re: [Synalist] Question HTTPsend and Document stream
To: "'Ararat Synapse'" <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"
Thanks Theo,
I already thought about that, much easier indeed would be to make Document a
writeable property.
But...
I did'n want to break the HTTPsend object in that way, because any update
would force me to insert my changes again.
So I would like to ask the question to Lukas - is it possible to have some
methods virtual and some properties writeable in the next version of
HTTPsend?
This could encourage more people to extend the objects for own purposes
without having to change basic code of the original object.
In the meantime - I think - I will make Document a writeable property and
try it this way.
Regards
Thomas.
-----Urspr?ngliche Nachricht-----
Thomas Kerkmann schrieb:
> I want to receive huge files via HTTP, using HTTPsend object.
> These files are encrypted, and I thought I could decrypt them while
> receiving, using an own stream write method in the receiving stream.
>
> Unfortunately the Document property is read only, so I can not insert
> my own stream here.
> But I think it would be very unperformant to receive some 2..5 Gbytes
> into a Memory stream and then copy/decrypt it into a file stream.
>
> Anyone has ever tried some kind of this ?
>
> Any hints appreciated.
>
>
I've never done this. But two ways come to my mind:
A: You could probably use RangeStart / RangeEnd to only read a part of the
file to Memory at a time.
B: Make a descendant of THTTPSend and Override HTTPMethod(..) to fit your
needs or define fDocument as TFileStream or....
Just ideas, not sure how easy it is.
------------------------------
Message: 4
Date: Sat, 28 Oct 2006 14:38:43 +0200
From: "Lukas Gebauer" <[EMAIL PROTECTED]>
Subject: Re: [Synalist] Question HTTPsend and Document stream
To: Ararat Synapse <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII
> So I would like to ask the question to Lukas - is it possible to have some
> methods virtual and some properties writeable in the next version of
> HTTPsend? This could encourage more people to extend the objects for own
> purposes without having to change basic code of the original object.
>
> In the meantime - I think - I will make Document a writeable property and
> try it this way.
About virtual properties and methods... Yes, I can made virtual what you
wish. My strategy is not made virtual all automaticly. I was made virtual
all where I seen reason for doing it, or where I was asked for it.
About Document property ... I thought longer time about rewriting
THttpsend class. Your problem is major goal of this rewriting. Not just
made possible to use any stream for data, but split Document and other
properties for 'Query' and 'Response' parts too.
--
Lukas Gebauer.
E-mail: [EMAIL PROTECTED]
WEB: http://www.ararat.cz/synapse - Synapse Delphi and Kylix TCP/IP
Library
------------------------------
Message: 5
Date: Sat, 28 Oct 2006 14:42:05 +0200
From: "Lukas Gebauer" <[EMAIL PROTECTED]>
Subject: Re: [Synalist] Suggestions - Connected property
To: Ararat Synapse <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-2
> It can be useful to allow readonly property Connected which will signal
> that connection for service (for example POP3) is open, avoiding using
> OnStatus event. Specifically for all of services can be obtain status of
> service connection with NOOP, However, that assume waiting time, as is set
> by Timeout ? if connection is actually broken.
>
> This property should be very easy added, regarding point where OnStatus
> fires that connection is closed.
Please, read first:
http://www.synapse.ararat.cz/wiki/index.php?page=ActiveConnection
...and then this about events in Synapse:
http://www.synapse.ararat.cz/wiki/index.php?page=ReadEvent
--
Lukas Gebauer.
E-mail: [EMAIL PROTECTED]
WEB: http://www.ararat.cz/synapse - Synapse Delphi and Kylix TCP/IP
Library
------------------------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
------------------------------
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public
End of synalist-public Digest, Vol 5, Issue 26
**********************************************
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
