I have setup an Indy IdFTP Client to a FileZilla FTP Server.The client tries to Connect on startup of my app and, If it fails, keeps retrying every few seconds for the lifetime of the app. In addition, I need to detect if I lose the connection and, again, keep trying to re-establish the connection. This is where I am having a problem. I have added an OnStatus event handler which seems to fire for all the event types except hsDisconnecting and hsDisconnected. I also have an OnDisconnected event handler which only fires when I have locked the Server, in this case, when I try to connect, it fires the OnConnected then immediately fires the OnDisconnected. However, if I set the Server as not Active after the initial successful connection, the server tells me it has disconnected me but I do not get an event in my code so I don't know I need to start trying to connect again? Am I wrong in expecting these events in this scenario, is there something else I should be listening for? Thank you in advance for your help.
Indy FTP Client OnStatus not getting Disconnect events
381 views Asked by Lauren Eaton At
0
There are 0 answers
Related Questions in EVENTS
- Stop propagation of javasript/leaflet click event that starts in one element and ends in another
- Detecting click inside and outside of the listening component in Angular
- How to use mocha unit test chokidar watch events
- writing event_management in unity
- Where to put event handler method of an inherited class in C++ Builder?
- Event_date reference in CTE
- WinForms, event unable to subscribe from a custom class
- How to intercept a request made by a form submit in JavaScript?
- Communicating from Parent to Child in Blazor
- How to Customize Sitecore Copy operation
- grand parent is handling custom event emitted instead of parent in Angular 17
- jquery not capturing all input value changes
- Is there a way to force the focus on a determined window tab?
- How to watch user browsing activity from a background service?
- Trigger Once in React native
Related Questions in FTP
- FTP ls works fine, but LIST not working. vsFTP server
- How can i pass the secrets to the ngrok.yml file in the container and in the FTP container to an environment?
- ftp download for small datasets works but for more than 300KB not
- Transfer a file from a local machine to an Ubuntu virtual machine using the FTP protocol through a Java program
- ftplib error encoding. latin-1 utf-8: utf-8' codec can't decode byte 0xf1 in position 132: invalid continuation byte
- Using Xftp to connect ftpzilla server on windows, can't open the directory
- Using python to connect ftp with ftp proxy
- Can I adjust the timeout on the python twistd server via a command line option?
- How to setup cloudflare to allow github actions to complete
- FileNotFoundError when using pd.read_parquet to read file in FTP server
- FTP connect with Windows powershell after setting the firewall port and passive-mode checked
- The remote server returned an error: (425) Can't open data connection when FTPS enabled
- Access denied when connecting to Azure App Service using FTP Credentials in WinSCP
- FTP TLS session reuse in PHP
- Multi hop proxy with pycharm (or filezilla)
Related Questions in CLIENT
- Echo behaviour of Microsoft Windows Telnet Client
- Client in C# using Sockets
- NEXTJS14 DRIZZLE : Async issue when trying to post data from component into DB
- how to get rid of cannot access a closed pipe exception in C#
- Running a web application from external network client pc
- How to communicate between a server side and client side component in Next.js
- Server side rendering and client side rendering
- Can not send data from client to server
- Flask: Sending File Between Two Servers Results in Empty `request.files` on Receiver Server
- GittyUp - Git-Client: Unable to see the changed files list on the right of the `Diff` window
- my epoll server can not detect client disconnection
- getting client IP address in a webserver
- Socket returning empty data
- Error after ending code that use tkinter with thread
- HTML file and client side storage Javascript related question, is it possible?
Related Questions in INDY
- How to process MIME format with inline image separated into a different boundary using TIdMessage?
- How to correctly read an endless stream from InternetRadio using Indy TIdHTTP?
- How to connect to VoiceRSS API with my Lazarus/Delphi program?
- Can I make a TIdMappedPortTCP proxy specific clients to different destinations?
- HTTP 500 Error with Delphi Indy SOAP WSSE
- How to use TIdHTTPServer with visual components?
- Problems using GStack->GetLocalAddressList(LList) in C++
- Cannot find the declaration of element 'XML_Element' under C++Builder
- Indy HTTP Server ARequestInfo.Params.Text Encoding Wrong
- Load image from URL into a TImage
- Indy UDP communications IP/Port confusion
- Indy support for current OpenSSL
- Which TIdSMTP/SSLIOHandler event should trigger when TLS negotiation fails?
- Connection Closed Gracefully on IOHandler.ReadLn Solution at IdTcpClient
- Encountering 'Socket Error # 10053' while transferring files using TIdTCPClient and TIdTCPServer
Related Questions in DISCONNECT
- How to solve error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: early EOF
- How to disconnect bluetooth device connected to my phone?
- How to disconnect usb programmatically on Raspberry PI pico?
- How do I detect client disconnect from a long poll to a Spring endpoint
- socket io disconnect some event work but not the others
- MS Graph Times Out
- How can boost signal disconnect signal?
- Handle bluetooth connection and disconnection between phone and car
- I want to turn on and off the internet access of a certain IP or MAC address in my network with Python
- esp32 wifi/ota failing when using HC-SR04 sensor
- What is the best way to disconnect user after exactly 5min of inactivity on Android?
- Android Bluetooth Stack randomly disconnects from my BLE device
- Run script after a SSH client disconnects
- Testing: disconnect TLS connection
- Sockets, server disconnection and connection reset error in Kotlin
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)