Is it possible to upload FILE without a form ?
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
http://drupal.org/project/jupload uses the same java library as jifupload, but doesn't require a field or form and can hand the uploaded file off to another script for additional processing. - Kevin Reynen On Thursday, December 6, 2012, 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
FileField sources is also a good option. You can do remote server or even FTP: http://drupal.org/project/filefield_sources Jamie Holly http://www.intoxination.net http://www.hollyit.net On 12/6/2012 10:10 PM, Don 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
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
participants (4)
-
Austin Einter -
Don -
Jamie Holly -
Kevin Reynen