Is there a way to keep-alive an ftp connection using TidFTP?

Posted on 2004-12-01
Last Modified: 2008-02-01
I'm having a problem keeping my connection alive when it is idle. The noop operation won't work on Linux FTP server and will work on IIS. Since our ftp server is Linux i used call List to keep it alive but that way won't work on other third party ftp server or maybe on IIS. Anybody here knows a way to keep it alive regardless of its ftp server?


Question by:edeaux
    LVL 17

    Assisted Solution

    by:Wim ten Brink
    Does it matter what you send to the FTP server? I think that even when you just send a space, the server will know that the connection is still alive. I don't see why you have to use a valid command... :-)
    Otherwise, what about a CHW to the current folder? Or STAT? Or HELP?

    Check to get the official overview of FTP commands.
    LVL 17

    Assisted Solution

    by:Wim ten Brink
    CHW should be CWD...
    LVL 17

    Accepted Solution

    Windows Commander suggests NOOP, PWD and SYST for keeping the connection alive.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
    Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now