cURL / Mailing Lists / curl-library / Single Mail

curl-library

basic FTP functions

From: Khaled El Manawhly <k.elmanawhly_at_gmail.com>
Date: Wed, 3 Oct 2012 08:17:27 -0400

Ok so I'm officially a total noob to this.

I'm trying to make a command line program that allows for basic FTP
functionality over an SSH connection.

Specifically I need to open a connection, then ask the user which of these
functions he would like to perform:

-list remote dir contents
-put file
-get file
-delete file
-change dir
-make new dir
-delete dir

I've been looking through the documentation and the examples, but I got
really confused. So I would really appreciate input as to which CURLOPT
options I need to set in order to get these done, preferably with one
connection.

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