cURL / Mailing Lists / curl-library / Single Mail

curl-library

An issue about tclcurl curl::transfer -infile

From: Lisa Xu <lisa.xu.idyll_at_gmail.com>
Date: Wed, 29 Jul 2009 07:47:47 +0800

I met a system error "Unhandled exception at 0x7c91b21a in tcl.exe:
0xC0000005: Access violation writing location 0x00000010." when I use
tclcurl to upload a file to ftp server on windows XP.

My tclcurl version is 7.16.2, my libcurl version is 7.19.3.

The tcl script I used is:
curl::transfer -url ftp://127.0.0.1/test.dat -userpwd
"user:password" -upload 1 -infile test.dat -errorbuffer buffer -verbose 1

I think the error is due to the option "-infile test.dat". When I use this
option, the program will break at C:\Program Files\Microsoft Visual Studio
9.0\VC\crt\src\_file.c\_lock_file()-->EnterCriticalSection( &(((_FILEX
*)pf)->lock) )

Does someone has any idea about this issue?

Regards,

Lisa Xu
Received on 2009-07-29