cURL / Mailing Lists / curl-library / Single Mail

curl-library

(no subject)

From: Jerry Dunn <jerry_w_dunn_at_yahoo.com>
Date: Fri, 26 Mar 2010 10:30:40 -0700 (PDT)

I'm just a retired Coast Guardsman who programs in PERL as a hobby while he lives out his days in the woods of Maine, so I'm obviously in the presence of higher-caliber brains here... I wrote a script that runs at intervals to process and upload a file via FTP, but yesterday the uploads stopped. Seems the web host I lease space from went to FTPES (FTP TLS) on their ftp severs and the Net::FTP package I call doesn't handle FTPES.  Until I get the script to handle FTPES I'd like to use CURL to independently handle the upload.  I'll have the script run and process the file (with the ftp code shut off), then have a scheduler call CURL to do the secure ftp upload. with these  arguments: curl --ftp-ssl -T file_to_upload -u username_at_myweb.com:password ftp.myweb.com:22 -v I get this response: ------------------------------------------------------------------------------- * About to connect() to ftp.myweb.com port 22 (#0) *   Trying 12.34.56.223... connected * Connected to ftp.myweb.com (12.34.56.223) port 22 (#0) < SSH-2.0-OpenSSH_4.3        (long pause.....) * FTP response reading failed * Closing connection #0       CURL: (56) FTP response reading failed -------------------------------------------------------------------------------- I've tried other variations but this is the best I can do.  Searching via Google for suggestions hasn't got me anything that gets me any further. Can anyone help? thanks

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-26