Avatar of jennifere
jennifere
 asked on

FTP Timeout

I am sure there is a way to do this, but I have not figured it out yet.  I am trying to pull a large file, but it it keeps timing out on me.  How do you lengthen the timeout value of the Indy FTP component?

Thanks
Delphi

Avatar of undefined
Last Comment
Lukasz Zielinski

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
TName

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
LukA_YJK

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
rwaldicott

The problem is on the server side.  Some poorly written servers enforce a timeout on the command channel without checking to see if there is a file transfer in process.  There are a couple solutions to this.

1.  Increase command channel timeout on server to something more reasonable.  This needs to be at least as long as needed to perform file transfer.

2.  Using a separate thread, send a command like PWD or NOOP to server during file transfer every 30 seconds or so.  This should keep the command channel from timing out.
Lukasz Zielinski

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I will leave the following recommendation for this question in the Cleanup Zone:
split between: TName {http:17513536} LukA_YJK {http:#17514953} rwaldicott {http:#18456892}

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

ziolko
Experts Exchange Cleanup Volunteer
Your help has saved me hundreds of hours of internet surfing.
fblack61