X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=docs%2Fexamples%2Fftpupload.c;h=e79f8d842ae460ea7b1977f2332228f29f7188c7;hb=f7bbc1c9b6a8e2c815d09612b53f453c90d962e0;hp=b4fc79f9923150af0245c35b7d266cddd4d70eb2;hpb=31368b6eac8092a307849518e912b4c475c0238a;p=platform%2Fupstream%2Fcurl.git diff --git a/docs/examples/ftpupload.c b/docs/examples/ftpupload.c index b4fc79f..e79f8d8 100644 --- a/docs/examples/ftpupload.c +++ b/docs/examples/ftpupload.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2015, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2012, Daniel Stenberg, , 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,10 +33,11 @@ #include #endif -/* - * Performs an FTP upload and renames the file just after a successful - * transfer. - * +/* + * 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! */ #define LOCAL_FILE "/tmp/uploadthis.txt"