Hello support,
I’m using the version 10.1.1 and I try to connect to an FTP server with SFTP.
If I put the component on form an try to connect everything fine.
But if I try to implement
UnicodeString path = ".";
TScSFTPFileHandle* fHandle = ScSFTPClient1->OpenDirectory(path);
I get this error
[C++ Error] Unit1.cpp(22, 23): no viable conversion from 'System::DynamicArray<System::Byte>' (aka 'DynamicArray<unsigned char>') to 'Scsftputils::TScSFTPFileHandle *' (aka 'DynamicArray<unsigned char> *')
If I try to implement the OnDirectoryList I get an error by double click (IDE is generating the function)
The IDE shows "Error in modul Unit1: wrong decalaration of method in class TForm1"
I try to do the following.
1. Connect to an FTP server
2. Read the files in the directory
3. Download all jpg files from FTP server
4. Delete all downloaded files
5. Disconnect from FTP server
Thanks
Thomas
Search found 19 matches
- Tue 13 Sep 2022 05:25
- Forum: SecureBridge
- Topic: Version 10.1.1 not working in C++Builder XE5 or Alexandria
- Replies: 1
- Views: 8873
- Wed 29 Dec 2021 14:29
- Forum: MySQL Data Access Components
- Topic: Editor to small with high resolution
- Replies: 3
- Views: 31985
Editor to small with high resolution
Hello all,
I'm using Windows 11 with C++Builder 11.
The resolution is 3840x2160 and I'm not able to read the SQL statement due to to small letter.
I have to copy the statement into Notepad.
I'm using Windows 11 with C++Builder 11.
The resolution is 3840x2160 and I'm not able to read the SQL statement due to to small letter.
I have to copy the statement into Notepad.
- Thu 06 May 2021 14:51
- Forum: MySQL Data Access Components
- Topic: Error updating more the one row
- Replies: 2
- Views: 11095
Re: Error updating more the one row
Sorry my fault. A TRIGGER was the real problem.
- Thu 06 May 2021 14:01
- Forum: MySQL Data Access Components
- Topic: Error updating more the one row
- Replies: 2
- Views: 11095
Error updating more the one row
Hi support,
if I try to udpating more the one row I get the error
MySQL 8.0.19
MyDAC 10.4.03
C++Builder 10.3
I tried
- TMyQuery with StrictUpdate (true / false) and/or QuoteNames (true / false)
- TMyCommand
- TMyScript
Thanks
Thomas
if I try to udpating more the one row I get the error
I'm using a#42000Result consisted of more than one row
MySQL 8.0.19
MyDAC 10.4.03
C++Builder 10.3
I tried
- TMyQuery with StrictUpdate (true / false) and/or QuoteNames (true / false)
- TMyCommand
- TMyScript
Thanks
Thomas
- Fri 05 Feb 2021 08:07
- Forum: MySQL Data Access Components
- Topic: Connection via SSH with C++Builder
- Replies: 7
- Views: 3811
Re: Connection via SSH with C++Builder
Hi Victor,
do you need more information or only more time?
My customer asked me for finishing the connection to the DB :-)
Thanks
Thomas
do you need more information or only more time?
My customer asked me for finishing the connection to the DB :-)
Thanks
Thomas
- Wed 03 Feb 2021 16:31
- Forum: MySQL Data Access Components
- Topic: Connection via SSH with C++Builder
- Replies: 7
- Views: 3811
Re: Connection via SSH with C++Builder
Hi Victor,
it is not working
see
www.cratemaker.de/Download/DevArtErr01.jpg
I need this also for C++Builder 10.3
Thanks
Thomas
it is not working
see
www.cratemaker.de/Download/DevArtErr01.jpg
I need this also for C++Builder 10.3
Thanks
Thomas
- Sun 31 Jan 2021 17:31
- Forum: MySQL Data Access Components
- Topic: Connection via SSH with C++Builder
- Replies: 7
- Views: 3811
Re: Connection via SSH with C++Builder
Hi Viktor,
in the HTML file is written I have to use mydacsbridgeXX.bpk for C++Builder
I have only this directory
C:\Components\DevArt\MyDAC10_4\Demos\TechnologySpecific\SecureBridge\Delphi27
But there is no bpk file located.
I have installed all options.
Thanks
Thomas
in the HTML file is written I have to use mydacsbridgeXX.bpk for C++Builder
I have only this directory
C:\Components\DevArt\MyDAC10_4\Demos\TechnologySpecific\SecureBridge\Delphi27
But there is no bpk file located.
I have installed all options.
Thanks
Thomas
- Fri 29 Jan 2021 09:41
- Forum: MySQL Data Access Components
- Topic: Connection via SSH with C++Builder
- Replies: 7
- Views: 3811
Re: Connection via SSH with C++Builder
Hi support,
any news for me?
I bought the secure bridge and need this functionality.
Otherwise I don't need other funcionality - right now.
Thanks
Thomas
any news for me?
I bought the secure bridge and need this functionality.
Otherwise I don't need other funcionality - right now.
Thanks
Thomas
- Wed 27 Jan 2021 12:37
- Forum: MySQL Data Access Components
- Topic: Connection parameter name is unkown localhost
- Replies: 1
- Views: 2913
Connection parameter name is unkown localhost
Hello support,
I switched to the new version from 10.2.x to the newest version and the behavior of TMyConnection is different.
At design time I add all information to the component.
At runtime I set the Server and Port. If I try to connect I get the error Connection parameter name is unkown localhost.
The server was before localhost and I set the server again to localhost due to user action but the error appears.
If I set all these paramters by code/runtime and delete the connectionstring it is working.
this is not working
this is working
But during login the user has only to select the server an port.
Thanks
Thomas
I switched to the new version from 10.2.x to the newest version and the behavior of TMyConnection is different.
At design time I add all information to the component.
At runtime I set the Server and Port. If I try to connect I get the error Connection parameter name is unkown localhost.
The server was before localhost and I set the server again to localhost due to user action but the error appears.
If I set all these paramters by code/runtime and delete the connectionstring it is working.
this is not working
Code: Select all
DbMyCratemaker->Server = server;
Code: Select all
DbMyCratemaker->ConnectString = "";
DbMyCratemaker->Server = server;
DbMyCratemaker->Username = "cratemaker";
DbMyCratemaker->Password = "maker";
DbMyCratemaker->Database = "p_cratemaker";
But during login the user has only to select the server an port.
Thanks
Thomas
- Tue 26 Jan 2021 16:17
- Forum: MySQL Data Access Components
- Topic: Connection via SSH with C++Builder
- Replies: 7
- Views: 3811
Connection via SSH with C++Builder
Hi support,
I tried to connect to a database via SSH.
But I was only able to established a SSH conection but could not reach the databse.
I checked your demos but all are in delphi or a not working C++ Builder project.
I noticed that I have to use the TMySSHIOhandler but this I didn't found. In the help topic I also didn't find anything.
I have the hostname, user and password for the SSH Server and the
user and password for the MySQL database.
How can I connect to the database?
Thanks
Thomas
I tried to connect to a database via SSH.
But I was only able to established a SSH conection but could not reach the databse.
I checked your demos but all are in delphi or a not working C++ Builder project.
I noticed that I have to use the TMySSHIOhandler but this I didn't found. In the help topic I also didn't find anything.
I have the hostname, user and password for the SSH Server and the
user and password for the MySQL database.
How can I connect to the database?
Thanks
Thomas
- Tue 12 Jan 2021 06:31
- Forum: MySQL Data Access Components
- Topic: Parameter without Inverted Commas
- Replies: 3
- Views: 1651
Re: Parameter without Inverted Commas
Sorry, but both is not working.
I don't know the number of parameters and I tried with macro. But I can only use a string lile
"1, 5, 7, 99, 12"
and then also this wil be between ' '.
I create the SQL statement on my own and it is working.
I don't know the number of parameters and I tried with macro. But I can only use a string lile
"1, 5, 7, 99, 12"
and then also this wil be between ' '.
I create the SQL statement on my own and it is working.
- Fri 08 Jan 2021 10:05
- Forum: MySQL Data Access Components
- Topic: Parameter without Inverted Commas
- Replies: 3
- Views: 1651
Parameter without Inverted Commas
Hello all
I have the following statement
"SELECT * FROM WHERE n_id IN (:ids)"
UnicodeString idList= "12, 15, 30";
Query->ParamByName("ids")->AsString = idList;
The executed statement is
"SELECT * FROM WHERE n_id IN ('12, 15, 30')"
MySQL returns only one record n_id = 12
I need this statement.
"SELECT * FROM WHERE n_id IN (12, 15, 30)"
Thanks
Thomas
I have the following statement
"SELECT * FROM WHERE n_id IN (:ids)"
UnicodeString idList= "12, 15, 30";
Query->ParamByName("ids")->AsString = idList;
The executed statement is
"SELECT * FROM WHERE n_id IN ('12, 15, 30')"
MySQL returns only one record n_id = 12
I need this statement.
"SELECT * FROM WHERE n_id IN (12, 15, 30)"
Thanks
Thomas
- Mon 16 Nov 2020 09:03
- Forum: MySQL Data Access Components
- Topic: AutoInc with MySQL 5.1 not working
- Replies: 2
- Views: 1881
Re: AutoInc with MySQL 5.1 not working
After upgrading to V8 the application is working as expected.
- Thu 12 Nov 2020 19:28
- Forum: MySQL Data Access Components
- Topic: AutoInc with MySQL 5.1 not working
- Replies: 2
- Views: 1881
AutoInc with MySQL 5.1 not working
Hello support,
I have a problem at customer site. Thye are uisng database MySQL 5.1.
I cannot reproduce in my system with MySQL 8.1.
Is the problem existing with MySQL 5.1 and AutoInc value after INSERT command?
TMyQuery with "Update SQLs" page I defined
UnicodeString id = q->FieldByName("n_id")->AsString;
id is empty.
Thanks
Thomas
I have a problem at customer site. Thye are uisng database MySQL 5.1.
I cannot reproduce in my system with MySQL 8.1.
Is the problem existing with MySQL 5.1 and AutoInc value after INSERT command?
TMyQuery with "Update SQLs" page I defined
Code: Select all
INSERT INTO &MainTableName
(n_id, c_nr)
VALUES
(:n_id, :c_nr)
id is empty.
Thanks
Thomas
- Wed 16 Sep 2020 06:47
- Forum: MySQL Data Access Components
- Topic: Connection parameter name is unkown localhost.
- Replies: 1
- Views: 2682
Connection parameter name is unkown localhost.
Hello support,
I'm using
C++Builder 10.4.1
MySQL 8.x
MyDQC 10.3.2
If I set the server my appliaction shows the error
I switched back to version 10.2.4 everything works fine.
Did I miss something?
Thanks Thomas
I'm using
C++Builder 10.4.1
MySQL 8.x
MyDQC 10.3.2
If I set the server my appliaction shows the error
and stop.Connection parameter name is unkown localhost.
I switched back to version 10.2.4 everything works fine.
Did I miss something?
Thanks Thomas