Hi all,
I have written an app that uses ITC to download a file from a website.
This works fine on my test machine that has a broadband connection.
I have brought the app to my clients who have a standard dial up connection and there is a problem.
The app starts to download the file and creates the file on the network with a size of 0kb and then when the download says it is complete the file immediatley dissapears.
The download complete state is based on Inet not equaling .stillexecuting. So it only states that it has finished when Inet says it is no longer executing.
I am wondering if there is a time out issue here as it is a slow internet connection.
I can connect to the site and download the file mannually using cuteFTP but it will not work using my app.
I have tested every other possibility and it comes down to the internet connection.
Is there a way to build a time out option into the Inet code.
Hope this makes sense.
Cheers
Symon.
Everything has an answer, it's just knowing the right question to ask. !!!!
I have written an app that uses ITC to download a file from a website.
This works fine on my test machine that has a broadband connection.
I have brought the app to my clients who have a standard dial up connection and there is a problem.
The app starts to download the file and creates the file on the network with a size of 0kb and then when the download says it is complete the file immediatley dissapears.
The download complete state is based on Inet not equaling .stillexecuting. So it only states that it has finished when Inet says it is no longer executing.
I am wondering if there is a time out issue here as it is a slow internet connection.
I can connect to the site and download the file mannually using cuteFTP but it will not work using my app.
I have tested every other possibility and it comes down to the internet connection.
Is there a way to build a time out option into the Inet code.
Hope this makes sense.
Cheers
Symon.
Everything has an answer, it's just knowing the right question to ask. !!!!