Dave IngrahamNew Member Posts:54
11/14/2006 10:16 PM |
|
Hi Peter, Our content editors are starting to upload documents into our site. Some of them have upwards of 50-60 documents that they need to upload, and they'd like to not have to uploaded each document one at a time. Most of these would have similar descriptions, keywords and permissions. Is there a way to do a bulk upload of documents?
|
|
|
|
Dave IngrahamNew Member Posts:54
11/14/2006 10:37 PM |
|
Actually, I just talked to one of our content editors and they have almost [b]3000[/b] documents they want to upload, totally 2.75 GB.
|
|
|
|
Dave IngrahamNew Member Posts:54
11/14/2006 10:38 PM |
|
What the? Here's what I meant to post:
Actually, I just talked to one of our content editors and they have almost 3000 documents they want to upload, totally 2.75 GB.
|
|
|
|
Dave IngrahamNew Member Posts:54
11/14/2006 11:12 PM |
|
So I found that the "Unzip File" option allows for uploading multiple doc's and folders. Seems to work well. My only question now is: Will we encounter issues when trying to upload a zip file that is over 2GB in size?
|
|
|
|
Peter DonkerVeteran Member Posts:4536
11/14/2006 11:23 PM |
|
Hi Dave, 2,75 Gb will probably not make it through in a single web page call. I have another idea though. If you actually have the server onsite, you can import the contents. Make sure you have read permission for the aspnet worker process and specify the directory in the import screen and it should import quite well. You might want to increase the executionTimeout in the web.config just in case (now 90 seconds), or to import in chunks. Peter
|
|
|
|
Dave IngrahamNew Member Posts:54
11/14/2006 11:31 PM |
|
Thanks Peter. The server isn't onsite, its halfway across the US. Would it be possible to upload the files/directories via FTP directly into the DMX folder?
|
|
|
|
Peter DonkerVeteran Member Posts:4536
11/14/2006 11:40 PM |
|
Not straight into the DMX folder as it doesn't know what to do with that. You could ftp it to a separate folder in your installation (suggestion: '[Your DNN root]/Temp'). You would need to know the Windows file path to that dir (i.e. something like 'D:\Webhosting\Somecompany\www\Temp') as well for this to work (test first). The advantage of ftp'ing to your DNN installation is that the permissions on the files should be already correct for import to work.
|
|
|
|
Dave IngrahamNew Member Posts:54
11/14/2006 11:57 PM |
|
Thanks Peter. I guess I'm a bit confused about this "Import" your referring to. Is this part of DNN, DMX or is this a server feature?
|
|
|
|
Peter DonkerVeteran Member Posts:4536
11/15/2006 12:22 AM |
|
It's part of DMX. Navigate to DMX, then Options Screen on the module menu, Service Tab, Import
|
|
|
|
Dave IngrahamNew Member Posts:54
11/15/2006 12:29 AM |
|
Cool. I'll play around with this and let you know if I have any more questions. Thanks for the help.
|
|
|
|
Dave IngrahamNew Member Posts:54
12/15/2006 10:50 PM |
|
Peter, I've read in your documentation that when you import documents like you describe above, they inherit the permissions of the folder they are being imported in to. Do they also inherit keywords and categories also?
|
|
|
|
Peter DonkerVeteran Member Posts:4536
12/16/2006 11:22 AM |
|
No. This is what is done:
.Author = "" .CollectionId = CollectionId .Deleted = False .EditRoles = EditPermissions .IsApproved = True .IsLocked = False .Keywords = "" .LastModified = Now .PortalId = PortalId .Remarks = "" .UserId = UserInfo.UserID .Version = 1 .ViewRoles = ViewPermissions
Peter
|
|
|
|
Dave IngrahamNew Member Posts:54
01/02/2007 11:55 PM |
|
Hi Peter, Once I've uploaded all these files to my server and done the Import, Is DMX linking to my uploaded files, or are these files copied into the DMX folder? I ask because if its simply linking, I want to make sure I've got my directory structure set up correctly before doing anything. If its actually copying the files to the DMX folder, then I'll simply set up a Temp folder and upload to there.
|
|
|
|
Peter DonkerVeteran Member Posts:4536
01/07/2007 6:34 PM |
|
Dave, Importing copies the files to the DMX repository. The old file is never used in the DMX application. Peter
|
|
|
|
Dave IngrahamNew Member Posts:54
01/07/2007 9:08 PM |
|
Thanks Peter. I went ahead with the import (3.5 GB) and it worked well. Thanks for all your help.
|
|
|
|