~ubuntu-branches/ubuntu/saucy/curl/saucy-201307251546

« back to all changes in this revision

Viewing changes to docs/examples/ftpupload.c

  • Committer: Bazaar Package Importer
  • Author(s): Ramakrishnan Muthukrishnan
  • Date: 2010-10-18 11:13:17 UTC
  • mto: (3.6.1 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20101018111317-9rkas34ecwtq0upn
Tags: upstream-7.21.2
ImportĀ upstreamĀ versionĀ 7.21.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
#define LOCAL_FILE      "/tmp/uploadthis.txt"
32
32
#define UPLOAD_FILE_AS  "while-uploading.txt"
33
 
#define REMOTE_URL      "ftp://localhost/"  UPLOAD_FILE_AS
 
33
#define REMOTE_URL      "ftp://example.com/"  UPLOAD_FILE_AS
34
34
#define RENAME_FILE_TO  "renamed-and-fine.txt"
35
35
 
36
36
/* NOTE: if you want this example to work on Windows with libcurl as a