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

Attachment list only accessible to pmwiki.org editors.


(:Attachlist *:)
----
(:Attachlist PITS:)

Attachment list only accessible to pmwiki.org editors.


Attachment list only accessible to pmwiki.org editors.

Peak memory: 2,861,312 bytes