In this online example some dummy link is inserted
and no new folder is created for this site internal security purposes.
Look
cs_Custom_DocumentUpload_popup.aspx and
vb_Custom_DocumentUpload_popup.aspx files in downloaded
Suite for really working source code.
Try adding a link to uploaded document by:
1. Select any text in the HTML Editor's content above
2. Click on

to insert a link,
popup appears with the tree of files structure for uploading to
3. Click to the folder where you want to upload file, it will be selected
4. To create new folder call context menu (right click) on any folder
5. Click on
Browse button of the popup
6. Select document (
.doc or
.pdf) in
Files browser, click
Open
7. Click
Upload in the popup