Shared Files - uploading multiple files

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
1/28/2013 5:50:07 AM
Gravatar
Total Posts 66

Shared Files - uploading multiple files

I want to use the shared files feature to store several hundred pdf documents, in folders based on year.

I have created a folder structure, but now want to upload the files in bulk if possible.  I don't mind doing one folders' worth at a time, but I can not find a way to upload multiple files at a time, and doing it one file at a time will take forever!

I have checked out the documentation for the feature and it states the following:

Files must be uploaded using the Shared Files interface. You can not manually copy files to your server for use by the Shared Files module. The module uses NeatUpload to facilitate uploading multiple files at once.

I can't work out how to do this - can anyone help?

1/28/2013 10:02:51 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Shared Files - uploading multiple files

NeatUpload will be used by default, but only if your site is running in Full Trust. If you are running in medium trust you won't be able to use it, unfortunately.

I'm not sure what the interface looks like in medium trust, but for us running in full trust, when you browse for files, you can select multiple documents at once in the Windows dialog (standard ctrl-click/shift-click to multiselect).

Jamie

1/28/2013 10:25:34 AM
Gravatar
Total Posts 18439

Re: Shared Files - uploading multiple files

Look under Administration > System Information

If it says "Full Trust" there then you can enable NeatUpload which is disabled by default by renaming Web.config to Web.mediumtrust.config and rename Web.fulltrust.config to Web.config and copy any customizations that you previously made into the new Web.config.

If it says "Partial Trust" you will not be able to use NeatUpload and will have to upload files one at a time.

1/28/2013 12:19:32 PM
Gravatar
Total Posts 66

Re: Shared Files - uploading multiple files

Many thanks - my site is running in full trust, so I am amending web.config as suggested

1/28/2013 12:39:05 PM
Gravatar
Total Posts 66

Re: Shared Files - uploading multiple files

The files are uploading as I watch - many thanks for the help

1/29/2013 8:30:40 AM
Gravatar
Total Posts 66

Re: Shared Files - uploading multiple files

Just one minor bugbear - on a page with the Shared files feature and the Neatupload feature enabled, the "Add file..." button is not visible, but can be clicked - if I click just above the "Upload" button the file browse dialogue box opens up.  I have tried this on several different sites using different, unrelated skins - Artisteer-31-bluenwhite, mitchison-business3 etc

Viewing the page source shows the HTML below.  I have tried resetting the skin guid using the cache tool, to no effect.  If I click the "Upload" button with no file(s) selected, the "Add file" button flickers into existence, but then disappears again


<div class="settingrow"> <div class="settingrow fileupload"> <div id="ctl00_mainContent_ctl01_pnlUpload" class="settingrow uploadpanel" onkeypress="javascript:return WebForm_FireDefaultButton(event, &#39;ctl00_mainContent_ctl01_btnUpload&#39;)"> <div> <input id="ctl00_mainContent_ctl01_multiFile" type="file" name="NeatUpload_69DACFFA81A012BCBEDEB0DD02B693CB-ctl00$mainContent$ctl01$multiFile" /><div id='NeatUploadDiv_ctl00_mainContent_ctl01_multiFile' style='position: relative; display: none;'> <span class="art-button-wrapper"><span class="art-button-l"> </span> <span class="art-button-r"> </span> <input type="submit" name="ctl00$mainContent$ctl01$btnAddFile" value="Add File..." id="ctl00_mainContent_ctl01_btnAddFile" class="art-button" /> </span> </div> </div> <span class="art-button-wrapper"><span class="art-button-l"> </span> <span class="art-button-r"> </span> <input type="submit" name="ctl00$mainContent$ctl01$btnUpload" value="Upload" id="ctl00_mainContent_ctl01_btnUpload" class="art-button" /> </span> </div>
 

As I said, only a bugbear, but it would be confusing for users that I give permission to upload files

 

You must sign in to post in the forums. This thread is closed to new posts.