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

Posted on 2004-12-01
Medium Priority
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
  • 2
LVL 17

Assisted Solution

by:Wim ten Brink
Wim ten Brink earned 120 total points
ID: 12715993
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 http://www.w3.org/Protocols/rfc959/ to get the official overview of FTP commands.
LVL 17

Assisted Solution

by:Wim ten Brink
Wim ten Brink earned 120 total points
ID: 12716003
CHW should be CWD...
LVL 17

Accepted Solution

geobul earned 180 total points
ID: 12718224
Windows Commander suggests NOOP, PWD and SYST for keeping the connection alive.

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Loops Section Overview
Suggested Courses
Course of the Month14 days, 10 hours left to enroll

839 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