X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/9aaab5ffcf60b528c1fce506a1011029f5ba392a..3b69a56ae05c5a9f8de83528657cefd784c95a8f:/templates/upload.htm

diff --git a/templates/upload.htm b/templates/upload.htm
index 494bbb4..9e0abe3 100644
--- a/templates/upload.htm
+++ b/templates/upload.htm
@@ -31,7 +31,9 @@
 <p>Transfer mode (see below):<br>
 <input type="radio" name="ascii" id="ascii" value="1"><label for="ascii">ASCII</label> <input type="radio" name="ascii" id="binary" value="0" checked><label for="binary">Binary (default)</label></p>
 
-<p><input type="checkbox" name="overwrite" id="overwrite"><label for="overwrite">Overwrite existing file</label></p>
+<p><input type="checkbox" name="overwrite" id="overwrite"><label for="overwrite">Overwrite existing file</label></p>{IF PERL_ARCHIVE_EXTRACT}
+
+<p><input type="checkbox" name="unpack" id="unpack"><label for="unpack">Unpack file after upload to the current directory</label></p>{ENDIF}
 
 <p><input type="submit" value="Upload file!"></p>
 </form>
@@ -49,6 +51,7 @@
 
 <ul>
 <li>If you specify an other remote name for the uploaded file, all slashes and backslashes will be removed from the entered value.</li>
+<li>If unpacking of a file fails after uploading the file is still there.</li>
 </ul>
 
 <hr>