UploadForm


Answering a query posed at http://www.pmichaud.com/pipermail/pmwiki-users/2006-August/031266.html :

(:input form method=post enctype=multipart/form-data :)
(:input hidden name=n value={$FullName}:)
(:input hidden name=action value=postupload:)
||width=*
|| File to upload:||(:input file name='uploadfile':) ||
|| Name of upload:||(:input text name='upname':) (:input submit value="$[Upload]":) ||
(:input end:)

File to upload:
Name of upload:
(:include Site/UploadQuickReference##quickreferenceend:)

----

Uploads

  1. Use the button above to find the "File to upload" on your local computer.
  2. For the "Name attachment as:" field, enter the name you prefer the file to have once it has been uploaded to the site.
    This can be the same as its filename on your source disk or it can be different, but make sure it has the correct file extension.
  3. Press "Upload" to upload the file.
  4. To refer to an attachment within a wiki page in this Test WikiGroup, simply enter Attach:filename.ext in the page text.
  5. After uploading, you can

!! Existing Uploads for {$FullName}
(:attachlist {$FullName}:)

Existing Uploads for Test.UploadForm


(:Attachlist *:)
----
(:Attachlist PITS:)
  • Cjc Δ ... 28 bytes ... August 09, 2015, at 09:02 AM
  • Cookbook Δ ... 147,456 bytes ... April 15, 2024, at 02:09 PM
  • Cookbook-V1 Δ ... 12,288 bytes ... February 09, 2024, at 11:59 AM
  • EmacsModes Δ ... 4,096 bytes ... August 09, 2015, at 08:39 AM
  • lock.gif Δ ... 549 bytes ... August 09, 2015, at 08:50 AM
  • lock.png Δ ... 4,765 bytes ... August 09, 2015, at 08:50 AM
  • Main Δ ... 6 bytes ... January 29, 2024, at 08:49 AM
  • PITS Δ ... 4,096 bytes ... December 19, 2022, at 11:19 AM
  • Pm Δ ... 119 bytes ... August 09, 2015, at 08:39 AM
  • PmCal Δ ... 161 bytes ... July 16, 2020, at 06:53 PM
  • PmWiki Δ ... 4,096 bytes ... October 03, 2022, at 05:33 AM
  • Skins Δ ... 147,456 bytes ... April 15, 2024, at 02:09 PM
  • Test Δ ... 8,192 bytes ... October 15, 2022, at 08:51 AM
  • TestProtected Δ ... 27 bytes ... June 06, 2016, at 08:54 PM
  • TestW7 Δ ... 4,096 bytes ... February 01, 2024, at 07:42 AM

 0: 00.00 00.00 config start
 1: 00.01 00.01 config end
 2: 00.21 00.20 MarkupToHTML begin
 3: 00.21 00.20 MarkupToHTML begin
 4: 00.22 00.21 MarkupToHTML end
 5: 00.22 00.21 MarkupToHTML begin
 6: 00.22 00.21 PageStore::ls begin wiki.d/{$FullName}
 7: 00.23 00.22 PageStore::ls merge wiki.d/{$FullName}
 8: 00.23 00.22 PageStore::ls end wiki.d/{$FullName}
 9: 00.24 00.23 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
10: 00.24 00.23 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
11: 00.24 00.23 PageStore::ls end $FarmD/wikilib.d/{$FullName}
12: 00.25 00.24 MarkupToHTML end
13: 00.25 00.24 MarkupToHTML begin
14: 00.29 00.27 MarkupToHTML end
15: 00.29 00.27 MarkupToHTML begin
16: 00.31 00.29 MarkupToHTML end
17: 00.31 00.29 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
18: 00.31 00.30 ReadApprovedUrls SiteAdmin.ApprovedUrls end
19: 00.32 00.30 MarkupToHTML end
20: 00.32 00.30 MarkupToHTML begin
21: 00.33 00.31 MarkupToHTML end
22: 00.34 00.31 MarkupToHTML begin
23: 00.34 00.32 MarkupToHTML end
24: 00.34 00.32 now
Peak memory: 5,459,168 bytes