cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: contents of Curl-users Digest, Vol 5, Issue 21-reply to Daniel for error 7

From: <swapna.p_at_tcs.com>
Date: Fri, 25 Jun 2004 16:44:47 +0530

Thanks Daniel for the response.Theres a xxxx.tcl file which when double
clicked does the entire acts of uploading/downloading.
I did try to call .tcl file using the tclsh.exe from command line, same
error.
The connection host id,log/passwd etc is described in a yyy.txt file.I
have edited that to have the right login/passwd.
then as per the user guide launched the xxxx.tcl , the error written to
log is

********************************************************************
2004-06-24 10:45:29 ---
2004-06-24 10:45:29 --- xxxx.tcl Starting....
2004-06-24 10:45:29 ---
2004-06-24 10:45:29 --- ************************
2004-06-24 10:45:29 --- Starting upload
2004-06-24 10:45:29 --- ************************
2004-06-24 10:45:29 ---
2004-06-24 10:45:29 --- ************************
2004-06-24 10:45:29 --- Starting download
2004-06-24 10:45:29 --- ************************
2004-06-24 10:45:29 ---
2004-06-24 10:45:29 --- *** Getting remote file listing...
2004-06-24 10:45:29 ---
2004-06-24 10:45:52 --- Error: 7
2004-06-24 10:45:52 --- Connect failed
2004-06-24 10:45:52 --- Exiting code 1
********************************************************************

one observation is that in the https folder i noticed that there are no
files to download.Does that fail a connection or the curl:transfer call

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"

Regards
Swapna P
Tata Consultancy Services
Mailto: swapna.p_at_tcs.com
Website: http://www.tcs.com

Received on 2004-06-25