
Delphi XE5 Indy HTTP
- or -
Post a project like this$200
- Posted:
- Proposals: 0
- Remote
- #412044
- Expired
Description
Experience Level: Expert
Estimated project duration: less than 1 week
General information for the business: Demo of automtic HTTP Authentication
Kind of development: New program from scratch
Num. of modules: 2
Description of every module: I have a Delphi XE5 application that uses a simple GET command to download a file from the internet. This works pretty well most of the time but occasionally we get problems getting through customers firewalls. We often can get the file using Internet Explorer but our software fails getting through proxy/firewall. This often seems to happen when IE is set to use a script file to connect.
I'd like to have two EXE files written that will work out how best to connect by attempting to download a file from a web server. It will use Indy HTTP component try simple connection, detailed and handle digest file. It should try every possible configuration option to get the file.
First application: A three tab application.
First Tab: Detect:
Detect Proxy settings as automatically as possible. Read Internet Explorer settings ( especially script name if used). Read settings from our ini file (if it exists) and warn if different from Internet Explorers settings.
Have a 'Test Connection' button that, when clicked, and attempts to get the file ( we'll have a default filename url in the exe if none read from our ini file).
Ask for Username & password if authentication requires it. If file is received correctly we need to check it is correct ( It can be a HTMLfile with a known first 30 characters). If it is a html message from the proxy, we need to display it in a browser window, If IE uses a script we MUST process it.
If we succesfully received the file then store settings in an INI file in the same folder as the EXE file.
When the application starts it will read this ini file if it exists.
The ini file must hash the proxy username and password, server name & port for security.
Tab 2: Network Settings. Similar to Internet Explorer Tools/Internet Options/Connections/Lan Setup window.
We need to allow user to enter for proxy username & password, port, address, automatic connection or via script.
We can also change the address of the file to download.
We need to validate the settings and when user changes these settings them. Once set, he can switch back to Tab 1 & request the file again.
Tab 3: Log File.
Show most recent attempt to get the file. As much information as possible to help diagnose any problem. Clear on each try to get the file then display current Internet settings and all logging information. We automatically save the log file on each attempt ( append) and create it new when application starts.
Second Exe,
A Demo application that will read and display the settings from the ini file, request the file and show it in a browser window, I can use this exe as the basis to update the source code in my application.
I need to send the first EXE to my customers to test the connection so it has to look good. On a successful test connection, they can send me back the ini file that I can use in our installation.
Thanks for reading this and I hope it makes sense
Description of requirements/functionality: EXE 1 should be as automated as possible so it reads IE settings ( including any script settings and logs them. It should use these settings if no INI file with same name as exe is found containing the settings from a previous attempt.
When the 'Test Connection' button is pressed it should try top download a selected file. If authentication is needed, ask user for settings. If download fails, try IE settings or other indy options to get the file.
LOG everything especially the settings being tried.
EXE2 will read the settings ini file and request the file. If HTML or TXT then display it. Show any erroers in messagebox & display the session log.
Specific technologies required: Delphi XE5 and Latest Indy library.MUST have good Indy experience.
OS requirements: Windows
Extra notes: Must be completed in 3-5 days
Kind of development: New program from scratch
Num. of modules: 2
Description of every module: I have a Delphi XE5 application that uses a simple GET command to download a file from the internet. This works pretty well most of the time but occasionally we get problems getting through customers firewalls. We often can get the file using Internet Explorer but our software fails getting through proxy/firewall. This often seems to happen when IE is set to use a script file to connect.
I'd like to have two EXE files written that will work out how best to connect by attempting to download a file from a web server. It will use Indy HTTP component try simple connection, detailed and handle digest file. It should try every possible configuration option to get the file.
First application: A three tab application.
First Tab: Detect:
Detect Proxy settings as automatically as possible. Read Internet Explorer settings ( especially script name if used). Read settings from our ini file (if it exists) and warn if different from Internet Explorers settings.
Have a 'Test Connection' button that, when clicked, and attempts to get the file ( we'll have a default filename url in the exe if none read from our ini file).
Ask for Username & password if authentication requires it. If file is received correctly we need to check it is correct ( It can be a HTMLfile with a known first 30 characters). If it is a html message from the proxy, we need to display it in a browser window, If IE uses a script we MUST process it.
If we succesfully received the file then store settings in an INI file in the same folder as the EXE file.
When the application starts it will read this ini file if it exists.
The ini file must hash the proxy username and password, server name & port for security.
Tab 2: Network Settings. Similar to Internet Explorer Tools/Internet Options/Connections/Lan Setup window.
We need to allow user to enter for proxy username & password, port, address, automatic connection or via script.
We can also change the address of the file to download.
We need to validate the settings and when user changes these settings them. Once set, he can switch back to Tab 1 & request the file again.
Tab 3: Log File.
Show most recent attempt to get the file. As much information as possible to help diagnose any problem. Clear on each try to get the file then display current Internet settings and all logging information. We automatically save the log file on each attempt ( append) and create it new when application starts.
Second Exe,
A Demo application that will read and display the settings from the ini file, request the file and show it in a browser window, I can use this exe as the basis to update the source code in my application.
I need to send the first EXE to my customers to test the connection so it has to look good. On a successful test connection, they can send me back the ini file that I can use in our installation.
Thanks for reading this and I hope it makes sense
Description of requirements/functionality: EXE 1 should be as automated as possible so it reads IE settings ( including any script settings and logs them. It should use these settings if no INI file with same name as exe is found containing the settings from a previous attempt.
When the 'Test Connection' button is pressed it should try top download a selected file. If authentication is needed, ask user for settings. If download fails, try IE settings or other indy options to get the file.
LOG everything especially the settings being tried.
EXE2 will read the settings ini file and request the file. If HTML or TXT then display it. Show any erroers in messagebox & display the session log.
Specific technologies required: Delphi XE5 and Latest Indy library.MUST have good Indy experience.
OS requirements: Windows
Extra notes: Must be completed in 3-5 days
Don G.
99% (103)Projects Completed
110
Freelancers worked with
58
Projects awarded
14%
Last project
11 Jun 2020
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies