cURL / Mailing Lists / curl-users / Single Mail


curl:: transfer returning error 7

From: <>
Date: Thu, 24 Jun 2004 17:34:02 +0530

Hi All,
I am a newbie in tcl and curl, i had the task of installing a
tool(ofcourse it uses tcl and curl ), which would help connect to and
https site download files from there.
Now when i try to do that it failsat this particular code.

if [catch {curl::transfer -sslverifypeer 0 -sslverifyhost 0 \
                                -verbose $verbose -errorbuffer stderr_buf
                                -file $dirFile -writeheader $headerFile \
                                -url $download_url/} err] {
                log_write "Error: $err"
                if [info exists stderr_buf] {
                        log_write $stderr_buf
                puts stderr "Failed at get_remote_file_list():
                exitme 1

I did try the https site and was able to access from internet, login and
see the folders.
Further from the manpage i got that

 a return value of 7 means ?Failed to connect to host or proxy.

Now i do not know what i should ensure to get connected.Any inputs
regarding this would be helpful.
Swapna P

Received on 2004-06-24