summaryrefslogtreecommitdiff
path: root/docs/examples/ftpupload.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-06-24 23:34:51 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-06-24 23:34:51 +0200
commitf87a3d736f3200029c8bed3ab4dad50f9680be7a (patch)
tree7db1fde8016a6f576d7cba006365f461aaee00d0 /docs/examples/ftpupload.c
parentbf5218c85eba8d13c6c40a8047b8018b4ff5f1ed (diff)
parentf44b803f1605edcfc4058b1a818c44552f0affec (diff)
downloadcurl-http2-push.tar.gz
Merge branch 'master' into http2-pushhttp2-push
Diffstat (limited to 'docs/examples/ftpupload.c')
-rw-r--r--docs/examples/ftpupload.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/docs/examples/ftpupload.c b/docs/examples/ftpupload.c
index e79f8d842..b4fc79f99 100644
--- a/docs/examples/ftpupload.c
+++ b/docs/examples/ftpupload.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -33,11 +33,10 @@
#include <unistd.h>
#endif
-/*
- * This example shows an FTP upload, with a rename of the file just after
- * a successful upload.
- *
- * Example based on source code provided by Erick Nuwendam. Thanks!
+/* <DESC>
+ * Performs an FTP upload and renames the file just after a successful
+ * transfer.
+ * </DESC>
*/
#define LOCAL_FILE "/tmp/uploadthis.txt"