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 Δ ... 122,880 bytes ... November 12, 2019, at 07:54 PM
  • Cookbook-V1 Δ ... 12,288 bytes ... August 09, 2015, at 08:45 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 ... October 02, 2019, at 07:49 AM
  • PITS Δ ... 4,096 bytes ... August 14, 2017, at 09:43 AM
  • Pm Δ ... 119 bytes ... August 09, 2015, at 08:39 AM
  • PmCal Δ ... 128 bytes ... August 09, 2015, at 09:00 AM
  • PmWiki Δ ... 4,096 bytes ... August 09, 2015, at 08:39 AM
  • Skins Δ ... 122,880 bytes ... November 12, 2019, at 07:54 PM
  • Test Δ ... 8,192 bytes ... January 06, 2019, at 05:03 PM
  • TestProtected Δ ... 27 bytes ... June 06, 2016, at 08:54 PM
  • TestW7 Δ ... 4,096 bytes ... November 05, 2019, at 04:27 AM

 0: 00.00 00.00 config start
 1: 00.00 00.00 config end
 2: 00.03 00.02 MarkupToHTML begin
 3: 00.03 00.03 MarkupToHTML begin
 4: 00.04 00.03 MarkupToHTML end
 5: 00.04 00.03 MarkupToHTML begin
 6: 00.04 00.04 PageStore::ls begin wiki.d/{$FullName}
 7: 00.05 00.04 PageStore::ls merge wiki.d/{$FullName}
 8: 00.05 00.04 PageStore::ls end wiki.d/{$FullName}
 9: 00.05 00.04 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
10: 00.05 00.04 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
11: 00.05 00.04 PageStore::ls end $FarmD/wikilib.d/{$FullName}
12: 00.05 00.05 MarkupToHTML end
13: 00.05 00.05 MarkupToHTML begin
14: 00.08 00.08 MarkupToHTML end
15: 00.08 00.08 MarkupToHTML begin
16: 00.10 00.09 MarkupToHTML end
17: 00.10 00.10 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
18: 00.11 00.10 ReadApprovedUrls SiteAdmin.ApprovedUrls end
19: 00.11 00.10 MarkupToHTML end
20: 00.11 00.11 MarkupToHTML begin
21: 00.12 00.12 MarkupToHTML end
22: 00.12 00.12 MarkupToHTML begin
23: 00.13 00.12 MarkupToHTML end
24: 00.13 00.12 now
Peak memory: 3,426,736 bytes