Closed (fixed)
Project:
File Framework
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2009 at 23:15 UTC
Updated:
4 Aug 2012 at 14:39 UTC
Is there a way to batch import from a folder that already resides on the same server as Drupal? I tried using Media Mover to harvest and copy files to the local Web Dav folder, but that didn't work. I have a folder of about 10,000 10MB+ files, so copying them locally and reuploading through webdav is going to take a really long time.
Any ideas would be appreciated.
Comments
Comment #1
miglius commentedI would suggest using http://drupal.org/project/drush to write a script which would loop trough your files on the server and create file nodes from them.
Comment #2
miglius commentedComment #3
mokko commentedAny progress on this one. I would much prefer a drush solution. But any batch import method would be a big step forward? What is threre to do to achieve this?
Comment #4
johanneshahn commentedmove to 6.x-2.0-dev
Comment #5
johanneshahn commentedComment #6
johanneshahn commentedhi,
theres now a file batch module to export or import files
please review and test it.
thx!
Comment #7
johanneshahn commentedNo responce
Comment #8
gabtrek commentedHi, johanneshahn, where is the "file batch module" that you mentioned? How can I use it?
I realy need a method to bulk/batch/mass upload files in to the FF file system.
I'm trying to use File Framework to build a Document Management System for archiving purposes. I think the CAS method through Bitcache is usefull for my goal.
One more, can you explain me how to use Drush to do this: "...write a script which would loop trough your files on the server and create file nodes from them." that Miglius said.
Please, excuse me if I can't explain me very well. English is not my natural language.
Thk!
Comment #9
johanneshahn commentedhi,
install File batch Module goto admin/settings/file/batch and define the dirs where u want import or export your files.
after thatgo to admin/settings/file/batch/export or admin/settings/file/batch/import and run Import/Export
but remember this is only for developmentdont try it @production just 4 testing