| # | Source Files | Description | Special Properties/Methods/Events Used |
|---|---|---|---|
| 1 |
Simple.htm
Simple.asp |
A simple usage scenario, no browser redirection. |
Server Script |
| 2 |
Params.htm
Params.asp |
Demonstrates the usage of various configuration parameters, such as initial directory, file types, pre-set files, etc. |
Directory Filter FileXXX etc. |
| 3 |
Redirect.htm
Redirect.asp showreply.asp |
Demonstrates redirection to another page to display the results of an upload script. |
Redirect RedirectURL |
| 4 |
Dragdrop.htm
Dragdrop.asp showreply.asp |
Drag-and-drop functionality is always enabled, so no properties need to be set. This sample demonstrates how to make XUpload start an upload automatically upon a file drop using the UploadCtl_DropFiles event. | UploadCtl_DropFiles |
| 5 |
Directories.htm
Directories.asp showreply.asp |
Demonstrates how to upload entire directory structures. Nothing needs to be done on the client side to enable that functionality. All the "black magic" happens on the server. AspUpload re-creates the directory structure on the server-side using the Upload.CreateDirectory method. | Upload.CreateDirectory |
| 6 |
FormItems.htm
FormItems.asp showreply.asp |
Demonstrates uploading non-file form items along with files. XUpload scans the contents of an HTML form specified by the HtmlForm property. |
HtmlForm |
| 7 |
Buttons.htm
Buttons.asp showreply.asp |
Demonstrates how to operate XUpload with client-side VBScript script. Also shows how to add non-file form items for uploading using script. |
Select SelectFolder RemoveAll RemoveHighlighted RemoveAllFormItems AddFormItem Upload EnablePopupMenu |
| 8 |
Progress.htm
Progress.asp showreply.asp |
Demonstrates how to implement a custom DHTML-based progress bar by tapping into the UploadCtl_UploadProgress and UploadCtl_WaitingForReply events. |
UploadCtl_UploadProgress UploadCtl_WaitingForReply ShowProgress |
| 9 | ServerComponent.asp | XUpload can be used as a server component to upload files from one server to another programmatically. |
AddFile AddFormItem Proxy |
| 10 | MakeHttpRequest.asp | Complimentary feature: XUpload can be used to simulate HTTP requests such as POST or GET. You can use this feature to pull files from the Net. The results of a request can either be saved to a file or returned as a string. |
MakeHttpRequest Proxy |