Quantcast
Channel: Indigo Rose Software Forums - Forums
Viewing all articles
Browse latest Browse all 2105

Unable to get HTTP commands working

$
0
0
What am I doing wrong?

The HTTP command is simple, not too many variables involved.
The URL is being used in the program we're looking Setup Factory to replace.


HTTP.GetFileSize works with port 80, but not port 443 (SSL)

local nSize = HTTP.GetFileSize("https://digiteyes.visionspring.org/campserver/Installation/vcredist_2012_x86.exe", MODE_BINARY, 20,443, nil, nil, nil);
TRACE: LastError = 2502 ("Could not open request.")

"HTTP Error: 12007"
"The server name or address could not be resolved"
"Server Status: 200"


HTTP.Download not working for me at all

HTTP.Download("http://digiteyes.visionspring.org/campserver/Installation/vcredist_2012_x86.exe","C:\scratch\RunSetupFactory \vcredist_2012_x86.exe", MODE_BINARY,20,80, nil, nil, nil);
TRACE: LastError = 2504 ("Could not open the destination file for writing.")

HTTP.Download("https://digiteyes.visionspring.org/campserver/Installation/vcredist_2012_x86.exe",SessionVar.Expand("%TempFol der%\\vcredist_2012_x86.exe"),MODE_BINARY,60,443, nil, nil, nil);
TRACE: LastError = 2502 ("Could not open request.")

HTTP.Download("https://digiteyes.visionspring.org/campserver/Installation/vcredist_2012_x86.exe","C:\vcredist_2012_x86.exe", MODE_BINARY,60,443, nil, nil, nil);
TRACE: LastError = 2502 ("Could not open request.")

PS Just started using FS yesterday, so I'm sure it's my ignorance with SF in play here.

Thanx, James

Viewing all articles
Browse latest Browse all 2105

Trending Articles