Questions tagged [ararat-synapse]
45 questions
2
votes
3 answers
Synapse and string problems with HTTPSend in Delphi 2010
I have been trying to get to the bottom of this problem off and on for the past 2 days and I'm really stuck. Hopefully some smart folks can help me out.
The issue is that I have a function that I call in a thread that downloads a file (using Synapse…

Mick
- 13,248
- 9
- 69
- 119
2
votes
1 answer
Does anyone have a good example of how to use Synapse's Heartbeat function?
I am using Synapse for Delphi, but when during HTTP downloads, of course, the GUI freezes. Looking at the documentation, they suggest using the OnHeartbeat method.
(See http://www.ararat.cz/synapse/doku.php/public:howto:heartbeat )
Unfortunately,…

Noah
- 998
- 1
- 12
- 22
2
votes
1 answer
Delphi: Clientdataset: EDatabaseError: Missing Data-Package using Synapse
From the client I am sending a string to the server what he should send me back. This time its a stream created by a ClientDataSet. Unfortunately receiving (or sending??) does not work at the moment.
Note: I am using Synapse with blocking
…

Acron
- 1,378
- 3
- 20
- 32
2
votes
2 answers
How to send a file AND other POST data with Synapse
Delphi used: 2007.
Hello,
I have a simple web page with two text input and one file input. Now, for the form to be sent, both the text inputs and the file input have to be filled. With Synapse, I know how to upload a file (HttpPostFile) and how to…

Pascal Bergeron
- 761
- 3
- 12
- 27
1
vote
1 answer
Why is this code not sending or receiving?
I am trying to use TTCPBlockSocket to send and receive messages in a GUI program.
My program compiles, but no messages are being received or sent.
Maybe my TTCPBlockSocket object is destroyed before I use it?
This is the Client side:
unit…

عبد الله محمد
- 25
- 4
1
vote
0 answers
Use SSL libraries from a specific folder with Synapse
I am using Synapse in a small software (created with Delphi 7) for HTTPS requests. SSL libraries (libeay32.dll/ssleay32.dll) are saved in software resources, so when it opens the dll files are copied to the Windows temp folder. I also use…

Guybrush
- 1,575
- 2
- 27
- 51
1
vote
1 answer
Delphi synapse TTCPBlockSocket
EDIT: I need to make a POST connection with TTCPBlocksocket inside a delphi based applications script engine.
How to tell synapse where Header ends and body (post elements) starts? Or should i send them in different packets? Thank you !
begin
…

Tomas Randomas
- 45
- 9
1
vote
0 answers
Simple XMPP client using Synapse
I'm trying to build my simple xmpp client to avoid using 3rd party components cause I need only some very basic functions like new account registration and sending messages (e.g. a basic jabber bot).
I'm not completely new to Delphi and even to…

xmpp
- 65
- 2
- 5
1
vote
1 answer
Get image from web and display using Synapse
I want to get an image from the web into stream (without saving) and displaying it on TImage.
The following code produces an error:
response := TMemoryStream.Create;
try
HttpGetBinary('http://www.example-url/example_image.jpg', response);
…
user3327194
1
vote
1 answer
Pascal Delphi - Undeclared Identifier
I'm using the Synapse library in a Delphi project to do some networking.
When I try and use one of the Types that are defined in the external units, i.e: 'TTCPBlockSocket', it has the red underline and says "Undeclared Identifier…

JamEngulfer
- 747
- 4
- 11
- 33
1
vote
2 answers
Synapse: Cannot receive data from Socket
I am using Synapse with blocking sockets and try to simply send text to the connected client. Here comes the code:
var
SServer: TTCPBlockSocket;
SClient: TTCPBlockSocket;
implementation
//Create and initialize the Sockets.
procedure…

Acron
- 1,378
- 3
- 20
- 32
0
votes
3 answers
How to download faster?
What is the fastest way to download webpage source into a memo component? I use Indy and HttpCli components.
The problem is that I have a listbox filled with more than 100 sites, my program downloads source to a memo and parses that source for mp3…

Danijel Maksimovic Maxa
- 261
- 3
- 13
0
votes
0 answers
Android Chrome and synapse: does not reload from server
I have a synapse http server which in each response sends a Header
'Cache-Control: no-store'.
In my HTML page I also have
.
The HTML has a button "Close" which sends a request to the server to close all open files and changes the body of the…

user3332251
- 21
- 4
0
votes
0 answers
Bypass TLS Fingerprinting using Delphi Synapse
How to bypass TLS Fingerprinting using Delphi Synapse.
There is no info anywhere.
Problem is that Google chrome sends to server this packet
grease (0xcaca) empty
server_name google.com
extended_master_secret empty
renegotiation_info …
0
votes
1 answer
FTP - command or setting to set "never overwrite" for a whole session
I'm using Ararat Synapse for Delphi, so if there's a way to set such a mode (or get ls results to a stringlist) I can do it with code. I've looked at the unit code and the dokuwiki and haven't found anything conclusive.
But if there's an FTP command…

Henrik Erlandsson
- 3,797
- 5
- 43
- 63