# FTP Client Questions and Support

**URL:** <https://forums.unrealengine.com/t/ftp-client-questions-and-support/2080690>\
**Category:** Publisher Announcements & Product Help\
**Tags:** fab\
**Created:** [October 22, 2024, 5:58pm UTC](https://forums.unrealengine.com/t/ftp-client-questions-and-support/2080690 "2024-10-22T17:58:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Socke81](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/socke81/32/1194535_2.png) [@Socke81](https://forums.unrealengine.com/u/Socke81)\
**Post date:** [October 22, 2024, 5:58pm UTC](https://forums.unrealengine.com/t/ftp-client-questions-and-support/2080690/1 "2024-10-22T17:58:21Z")

</div>

Since there is no questions category at Fab, I created this thread to replace it. This is exclusively about this plugin: [FTP Client | Fab](https://www.fab.com/listings/272d867c-a663-4374-944a-faf869eec193)

---

<div class="post-metadata">

**Author:** ![Karma\_Game](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/karma_game/32/966906_2.png) [@Karma\_Game](https://forums.unrealengine.com/u/Karma_Game)\
**Post date:** [March 27, 2025, 2:49pm UTC](https://forums.unrealengine.com/t/ftp-client-questions-and-support/2080690/2 "2025-03-27T14:49:47Z")

</div>

Hi, i’m trying to use your SimpleFTPClient in C++ (UE 4.27). I successfully connected in sync mode :

```
    FTPClient = USimpleFTPClientBPLibrary::connectToFTP_Server(
        SettingsManager->TabConfig.FtpIp,
        PortNumber,
        SettingsManager->TabConfig.FtpUsername,
        SettingsManager->TabConfig.FtpPassword,
        true, 
        true 
    );

```

But when i try in Async Mode, nothing happens :

```
UFTP_ConnectAsyncNode* ConnectionNode;
ConnectionNode = UFTP_ConnectAsyncNode::connectToFTP_ServerAsyncNode(
    SettingsManager->TabConfig.FtpIp,
    PortNumber,
    SettingsManager->TabConfig.FtpUsername,
    SettingsManager->TabConfig.FtpPassword,
    true, 
    true 
);
if (ConnectionNode)
{
    ConnectionNode->OnSuccess.AddDynamic(this, &USettingsWidget::OnFTPConnectSuccess);
    ConnectionNode->OnFail.AddDynamic(this, &USettingsWidget::OnFTPConnectFail);
}

```

Any idea ?

Regards, André

---

<div class="post-metadata">

**Author:** ![Socke81](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/socke81/32/1194535_2.png) [@Socke81](https://forums.unrealengine.com/u/Socke81)\
**Post date:** [March 27, 2025, 3:48pm UTC](https://forums.unrealengine.com/t/ftp-client-questions-and-support/2080690/3 "2025-03-27T15:48:38Z")

</div>

I recommend using the delegates in C++ instead of the async functions. Async functions are intended more for blueprints. Create a new function in your header file:

```auto
UFUNCTION()
void myFTPConnectFunction(bool success, int32 code, FString serverMessage)

```

Let VS create the function in the .cpp file.

```auto
void UMyClass::myFTPConnectFunction(bool success, int32 code, FString serverMessage)
{
}

```

This function is then triggered by the plugin when you connect or disconnect from the server. So that the plugin knows your function, you must pass it to the delegate. Somewhere in your code you have to do something like this:

```auto
USimpleFTPClientBPLibrary::getFTP_ClientTarget()->onFTPClientConnectionEventDelegate.AddDynamic(this, &UMyClass::myFTPConnectFunction);

```

Instead of “this”, you must pass the pointer to the class in which the function is. You can find the delegates in the SimpleFTPClientBPLibrary (h and cpp) file.

---

<div class="post-metadata">

**Author:** ![Karma\_Game](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/karma_game/32/966906_2.png) [@Karma\_Game](https://forums.unrealengine.com/u/Karma_Game)\
**Post date:** [March 30, 2025, 4:49pm UTC](https://forums.unrealengine.com/t/ftp-client-questions-and-support/2080690/4 "2025-03-30T16:49:43Z")

</div>

Thank you it works now!

---

<div class="post-metadata">

**Author:** ![Socke81](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/socke81/32/1194535_2.png) [@Socke81](https://forums.unrealengine.com/u/Socke81)\
**Post date:** [April 8, 2025, 12:40pm UTC](https://forums.unrealengine.com/t/ftp-client-questions-and-support/2080690/5 "2025-04-08T12:40:45Z")

</div>

As there is now an official link between comments and products in Fab, please do not post anything here. The new thread is here:

[Virtualbird UG - FTP Client - Distribution / Product Discussion - Epic Developer Community Forums](https://forums.unrealengine.com/t/virtualbird-ug-ftp-client/2444946)
