Thanks, I added this as a feature request.
https://devart.uservoice.com/forums/174 ... cftpclient
Search found 7 matches
- Mon 15 Aug 2022 17:54
- Forum: SecureBridge
- Topic: Does TScFTPClient have a non-blocking mode
- Replies: 2
- Views: 7909
- Tue 02 Aug 2022 18:03
- Forum: SecureBridge
- Topic: Does TScFTPClient have a non-blocking mode
- Replies: 2
- Views: 7909
Does TScFTPClient have a non-blocking mode
Hi, I have been using TScSFTPClient (SFTP client) with the NonBlocking property set to true, this works fine. Is there something similar for the TScFTPClient (FTP/FTPS client)? I can't see anything obvious, the Upload command just blocks until it completes. Thanks.
- Thu 30 Jun 2022 12:21
- Forum: SecureBridge
- Topic: TScSFTPClient rename flags not working
- Replies: 3
- Views: 8488
Re: TScSFTPClient rename flags not working
Hi, thanks for your answer looks like you may be right, I tried with FileZilla and even though it prompted me to overwrite the rename failed.
The error message I get is just code 4 "Failure".
I've worked around it for now by always deleting the destination file first.
The error message I get is just code 4 "Failure".
I've worked around it for now by always deleting the destination file first.
- Fri 24 Jun 2022 10:36
- Forum: SecureBridge
- Topic: TScSFTPClient rename flags not working
- Replies: 3
- Views: 8488
TScSFTPClient rename flags not working
Hi, I'm using the TScSFTPClient component with C++ Builder. The rename operation fails if the target file already exists even if I pass the rfOverwrite flag. My code is below, am I missing something? Thx.
Code: Select all
if (!ScSFTPClient->Active)
ScSFTPClient->Initialize();
TScSFTPRenameFlags flags;
if (overwrite)
flags << rfOverwrite;
else
flags >> rfOverwrite;
ScSFTPClient->RenameFile(src_path, dst_path, flags);
- Mon 28 Sep 2020 10:29
- Forum: SecureBridge
- Topic: release of sbridge for delphi 10.4 Sydney
- Replies: 6
- Views: 4262
Re: release of sbridge for delphi 10.4 Sydney
Hi, is there some problem with the website at the moment? When I go to the customer portal to download the new version I get "404 licenses page request failed".
- Fri 12 Jun 2020 12:17
- Forum: SecureBridge
- Topic: C++ Builder 10.3 cannot create some events
- Replies: 3
- Views: 1736
Re: C++ Builder 10.3 cannot create some events
Ok thx that works.
- Mon 08 Jun 2020 13:27
- Forum: SecureBridge
- Topic: C++ Builder 10.3 cannot create some events
- Replies: 3
- Views: 1736
C++ Builder 10.3 cannot create some events
Hi, I've just downloaded the trial version of SecureBridge (sbridge26.exe) and am using it with C++ Builder 10.3. I've managed to get the basic file upload working which is all I need, but cannot create some of the events. When I try to create the event I get the message "Incorrect method declaration" from the IDE. It looks like something to do with the use of TArray which is being used in the event handler function signature, but is not being set up with the correct C++ syntax. E.g. for the TScSFTPClient OnSuccess event I get the following:
A similar thing happens for some other events as well, such as OnError/AfterWriteData etc.
Code: Select all
ScSFTPClientSuccess(TObject *Sender, TScSFTPOperation Operation, const UnicodeString FileName,
const TArray<System.Byte> Handle, const UnicodeString Message);