]> sjero.net Git - wget/blobdiff - src/ftp.h
[svn] Make sure -c doesn't truncate the file.
[wget] / src / ftp.h
index b7c4d254c6af379ae4060d1cefbcfb89b7ded143..9a516d4b2b2600bf2143804028aff31316ced2d5 100644 (file)
--- a/src/ftp.h
+++ b/src/ftp.h
@@ -81,7 +81,9 @@ enum wget_ftp_command
   DO_CWD        = 0x0002,      /* Change current directory.  */
   DO_RETR       = 0x0004,      /* Retrieve the file.  */
   DO_LIST       = 0x0008,      /* Retrieve the directory list.  */
-  LEAVE_PENDING = 0x0010       /* Do not close the socket.  */
+  LEAVE_PENDING = 0x0010,      /* Do not close the socket.  */
+  NO_TRUNCATE  = 0x0020        /* Don't truncate the file if REST
+                                  malfunctions. */
 };
 
 enum wget_ftp_fstatus