Delphi Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreDelphi Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 30th, 2005, 09:53 PM
delphinewb delphinewb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2005
Posts: 3 delphinewb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 56 m 6 sec
Reputation Power: 0
Downloading URL as Local System Account in Service

Greetings.

I'm developing a Delphi 7 application that runs as a service in Windows environment.
The application downloads file from a given URL.

The application is able to download the file from a URL under these following conditions:
* service runs as a user, able to download from URLs with these prefix: http:// and https://
* service runs as system account, able to download from URLs with the prefix http://, **but not** with https://

I really need the application to download from https:// as a system account (due to the need of interactive logon feature).

I've tried downloading the URL using:
* the manual way through InternetOpen(), InternetOpenURL(), InternetReadFile() and InternetCloseHandle()
* using the inbuilt class such as: TDownLoadURL

both results in the same manner: unable to download files from https:// (when loading the service as system account / Local System)

when using the manual download, i was able to trap the following extended error code through GetLastError():
Code:
            ERROR_INTERNET_LOGIN_FAILURE
            12015
            The request to connect and log on to an FTP server failed.


Does anybody have experiences with this ?
Is there any Access Control that I need to grant to the Local System Account ?
Is there any component that specialize in https downloading ?

Thank you in advance.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreDelphi Programming > Downloading URL as Local System Account in Service


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT