Dear All I am struggling to upload word documents to our drupal 7 site without having a form.
It is easy when you have a form (just can use file_save_upload api), but think of a situation you have excel sheet at server, where 100 file names are mentioned, and you want to get the files one by one.
In that case, how do we upload a file, and after upload how do I get the FID.
Is it really possible with existing framework?
Best regards austin
there are some upload modules with a java front end. you need a server side module to receive and save it. they might work or you might be able to adapt them. http://drupal.org/project/jifupload
-Don-
On 12/6/2012 8:02 PM, Austin Einter wrote:
Dear All I am struggling to upload word documents to our drupal 7 site without having a form.
It is easy when you have a form (just can use file_save_upload api), but think of a situation you have excel sheet at server, where 100 file names are mentioned, and you want to get the files one by one.
In that case, how do we upload a file, and after upload how do I get the FID.
Is it really possible with existing framework?
Best regards austin
Thanks for your input. Also I wanted the file corresponding entry should be in file_manage table. So I was wondering if we can do file uploading using drupal framework. Any such module is there , that can upload all the files from local machine, and write corresponding entry in file_manage table.
Thanks austin
On Fri, Dec 7, 2012 at 8:40 AM, Don donald@fane.com wrote:
there are some upload modules with a java front end. you need a server side module to receive and save it. they might work or you might be able to adapt them. http://drupal.org/project/jifupload
-Don-
On 12/6/2012 8:02 PM, Austin Einter wrote:
Dear All I am struggling to upload word documents to our drupal 7 site without having a form.
It is easy when you have a form (just can use file_save_upload api), but think of a situation you have excel sheet at server, where 100 file names are mentioned, and you want to get the files one by one.
In that case, how do we upload a file, and after upload how do I get the FID.
Is it really possible with existing framework?
Best regards austin