Jump to content
braunbaer

AppCrash at Client.Post

Recommended Posts

Hello everyone,

For years, I have been using this call in my app to upload files to a server:
Client is a TIDHttp

IOHandler := TIdSSLIOHandlerSocketOpenSSL.create;
Client.IOHandler := IOHandler;

FormData := TIdMultiPartFormDataStream.create;
FormData.AddFile(‘files’, sTempFileName);
try
  Client.Post(url, FormData);


With Delphi13 and iOS SDK 26, the iOS app crashes immediately at Client.Post, and the except is not reached.

Have there been any fundamental changes that I need to take into account?

 

Thanks in advance for any tips.

Gebhard

 

Share this post


Link to post

Hello everyone,

I was able to solve the problem.
I had to switch from the Indy components to THTTPClient.

That did the trick.

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×