curl-users
Segmentation fault | curl ftp
Date: Wed, 15 Feb 2012 19:48:02 -0600
Hello list, I was trying to use curl to put a file in a FTP Server, but I got a Segmentation fault.
1. I try to remove options
2. I try different versions os curl (7.20.1 and 7.24.0)
LOG:
OPENSUSE-SERVER:~ # /usr/local/bin/curl -V
curl 7.24.0 (x86_64-unknown-linux-gnu) libcurl/7.24.0 OpenSSL/1.0.0 zlib/1.2.3 libssh2/1.4.0
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz
OPENSUSE-SERVER:~ # /usr/local/bin/curl --noproxy 192.168.1.1 -T procesa.pid -v -Q "TYPE I" -Q "PWD" -u oracle:passwdbdd98oracle ftp://192.168.1.1
* About to connect() to 192.168.1.1 port 21 (#0)
* Trying 192.168.1.1...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* connected
* Connected to 192.168.1.1 (192.168.1.1) port 21 (#0)
< 220-Welcome to Pure-FTPd.
< 220-You are user number 1 of 50 allowed.
< 220-IPv6 connections are also welcome on this server.
< 220 You will be disconnected after 15 minutes of inactivity.
> USER oracle
< 331 User oracle OK. Password required
> PASS bdd98oracle
< 230-User oracle has group access to: dba oinstall
< 230 OK. Current directory is /opt/oracle
> PWD
< 257 "/opt/oracle" is your current location
* Entry path is '/opt/oracle'
> TYPE I
< 200 TYPE is now 8-bit binary
> PWD
< 257 "/opt/oracle" is your current location
> EPSV
* Connect data stream passively
< 229 Extended Passive mode OK (|||36447|)
Segmentation fault
OPENSUSE-SERVER:~ #
Can you help me?
Luis Gonzalez
lgonzalezsa_at_gmail.com
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
- application/octet-stream attachment: strace_dump.log