Skip to content
Prev 166523 / 398502 Next

ftp connections for uploading files

Hi Thomas

  Rather than getting into the details of libcurl options
which are quite general and very flexible, I thought
it was easier to write an explicit ftpUpload() function
that takes care of the details.

You need a new version of the package (as it contains the function and
a small change to the C code), but I don't have the time to build the 
Windows version for the next few days.

The function can be used as

   ftpUpload("path/to/file", "ftp://server/path/to/target/file",
              userpwd = "login:password")

and you can deal with contents in memory too rather than from a file.


  HTH,
    D.
Thomas Loridan wrote: