curl-users
Stuck with libcurl and FTP
Date: Sat, 13 Nov 2004 18:11:18 +0100
The moment the actual upload is started, a protection exception occurs.
I use Visual C++ 6.0. and libcurl 7.12.2-win32-ssl-devel. HTTP POST from
another example runs fine.
The following is the verbose output from my equivalent of the ftpupload.c
example:
Bestand: 040085.xml
filesize: 2424
* About to connect() to home.hccnet.nl port 21
* Trying 62.251.0.15... * connected
* Connected to home.hccnet.nl (62.251.0.15) port 21
< 220 home.hccnet.nl FTP server ready
> USER jg.de.lint
< 331 Password required for jg.de.lint.
> PASS xxxxxxx
< 230 User jg.de.lint logged in.
* We have successfully logged in
> PWD
< 257 "/" is current directory.
* Entry path is '/'
> EPSV
< 229 Entering Extended Passive Mode (|||56775|)
* Trying 62.251.0.15... * connected
* Connecting to home.hccnet.nl (62.251.0.15) port 56775
* Connected the data stream with PASV!
> TYPE I
< 200 Type set to I
> STOR 040085.xml
< 150 Opening BINARY mode data connection for 040085.xml
and then it dies with a protection exception (I assume). I have already
upgraded from an earlier version of libcurl. Is there something I should
watch out for?
Note: I used the Win32 MSVC 7.12.2 devel download with curlver.h from the
Mingw32 devel download.
Thanks,
Jan
Received on 2004-11-13