?
Solved

Timeout on FtpOpenFile

Posted on 2004-11-17
3
Medium Priority
?
679 Views
Last Modified: 2013-11-13
Can I set the timeout on the api function call FtpOpenFile? If so, how can I do that?

0
Comment
Question by:welcomes
1 Comment
 
LVL 20

Accepted Solution

by:
Daniel Van Der Werken earned 2000 total points
ID: 12607161
I'm not 100% sure this applies to FTP connections, but this is what I would try first:

http://support.microsoft.com/default.aspx?scid=kb;en-us;181050

Although Microsoft does not encourage this approach, you can change the default time-out setting for Internet Explorer. To do this in Internet Explorer 4.01 Service Pack 1 or later, follow these steps: 1. Add a ReceiveTimeout DWORD value with a data value of (<number of seconds>)*1000 in the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
For example, if you want the timeout duration to be 8 minutes, set the ReceiveTimeout data value to 480000 (<480>*1000).
2. Restart your computer.

---Dan---
0

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

The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
Progress
Starting up a Project

862 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