Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 12/30/24 in Posts

  1. Remy Lebeau

    Uploading photos to a web host.

    What are the EXACT error messages? What EXACTLY did you try? What are your EXACT property settings? Umm, you are comparing a higher-level APPLICATION to a lower-level LIBRARY. Of course, a LIBRARY is going to be more flexible and thus require more configuration for meet your particular situation. Seems simple enough. Please show the EXACT code you are trying to use to accomplish that. Then you don't have TIdFTP setup correctly to match your server's requirements. Those are not the only settings involved. What ELSE do you have configured EXACTLY? Well, then you should have no trouble grabbing logs from CoreFTP and TIdFTP and compare them for differences. At what stage EXACTLY in the communication is the failure actually occurring? There are several different possibilities, which is why more DETAIL is needed. Probably, but without any DETAIL about your setup or your server's requirements, there is simply no way for anyone here to know for sure what is actually wrong/missing. Provided the server is actually reachable and responsive, most often a timeout error on a connect is due to a mismatch between the Port and UseTLS properties, causing Indy to wait for a server greeting that is never sent because the server is waiting for a TLS handshake from the client first. Again, what is the EXACT error message? Is it an FTP-level error or a TLS-level error? You can't set the UseTLS property to Explicit (or Implicit) without having an SSLIOHandler assigned first.
  2. Dave Nottage

    Android/IOS push notifications...

    Yes, however you might want to assess why you need to do this at all. On Android, it's possible to handle a notification in code while the app is not running by using a service, as per the "RelayDemo" in FCMRebooted, except that instead of sending an SMS, the code could store the notification info in a text file as you suggest. On iOS, it's a completely different story - handling notifications in code when the app is not running requires that the notification is "silent" (using a content-available flag in the payload), and even then the OS can be extremely restrictive as to whether it will even execute the code.
  3. Patrick PREMARTIN

    Delphi for Mobile Applications

    Don't forget the cost of maintaining two or more projects in more than one language, with more than one IDE / OS. Depending on the subject, the cost of Delphi licenses is not so high.
×