Static files used on websites which could be video, images, pdfs etc.

learn more… | top users | synonyms

2
votes
0answers
35 views

displaying the contents of a document file (doc, docx, etc..)

looking for a way to display the contents of a file, like .docx, after a user upload. in d6 i used iPaper module which did the trick as all i needed was api code to connect with the service, and ...
1
vote
0answers
16 views

Read and write files from external FTP server

I'm looking for a way to add (S)FTP support to my Drupal Commerce website. It's rather simple. Once every night, a cron job should get all the files from the (S)FTP, process them and place other ...
-1
votes
1answer
15 views

Is there a module or method for processing and generating codes for music download cards?

I'm looking for an easy way to add download card functionality to my Drupal 7/ubercart site. In case you are wondering, by "Download Card" I mean an actual physical object that a band can sell at a ...
3
votes
2answers
34 views

How is the file data in the database table file_usage created and managed?

I am deleting orphaned image files in Drupal 7, but I have to first cross reference them to other tables that might be using the images. Given that I don't upload any images via the IMCE editor ...
-1
votes
0answers
27 views

system_settings_form file upload handling

is it possible to upload many files - images - with system_settings_form and save them to database? My configuration require files upload but can't find good examples of uploading and details about ...
0
votes
1answer
17 views

Adding and reading a static html page with

I have an interesting assignment. The requirement is that the user can upload a folder,containing static html, css, js files. And a link is generated So, then I don't want to have any drupal styling ...
0
votes
0answers
27 views

Email Id to access files [duplicate]

Can anyone suggest me a module where the user must be asked to enter the email-id to check if he/she is subscribed to upload/download files even if the user is logged in?I need something where the ...
1
vote
1answer
76 views

Files security - files folder hacked

For the second time in a short while my files/ folder has been hacked. Permissions are set as 755 all accross the folder. I tried to set it up as 750, 754 but it breaks the website. What happens is ...
0
votes
1answer
16 views

Custom feed tamper plugin to convert an image GUID into a URI

I have a feed importer for image files, which stores a column in my source csv as the GUID of the final files in Drupal. I also have another importer for, say, articles. In the articles csv, there is ...
1
vote
1answer
32 views

How to group uploaded documents into folders?

I want to group my documents in sub folders... when i upload the document using core upload module, i want that those modules get categorised under different section and a user can see those and when ...
0
votes
2answers
33 views

How to link the file icon to the file and to hide the filename?

I have uploaded files to be displayed in a table together with some other informations (title, tags etc). One row of this table the filename which links to the downloadable file. Next to the filename ...
0
votes
1answer
23 views

Render a file in a specific view mode

Which is the right way to render a file in a custom view mode? I'm using Media, 7.2 branch, I've custom view modes and I want to print in a tpl a file (based on fid) in the view mode "header_image".
3
votes
1answer
23 views

Managing multiple versions of files on nodes

The client needs to be able to upload numerous files to each node. They would like only the new versions of files to be searchable/in the search results and for the previous document versions to be ...
0
votes
0answers
15 views

Changing files privacy settings

One of the content types I have defined has a file-field set up with a destination to public folder. The field is supposed to have private settings, but as some data has been saved on the server I ...
1
vote
0answers
24 views

Restricting certain files from appearing in search results in Drupal 7

I would like to upload multiple revisions of documents, but only for the Latest ones to be displayed in the search results. For example. I will have the following pages and policies on each: Apples ...
1
vote
2answers
24 views

Mapping existing file against a new content type

I am facing a situation here. I have a content type A with an image field(field_upload_snaps) in it. There is another content type B which also contains an image field(field_valid_snaps). Now user ...
0
votes
0answers
25 views

How to make Drupal instance store the files as “public:”?

I am trying to use the http://drupal.org/project/gdoc_field module but it is not working as appearently Google can't access them... I am uploading them from my machine by using the browse ...
0
votes
1answer
33 views

Can I make a subdirectory in public:// viewable in Media module's UI?

In Drupal 7 Media module (admin/content/media) is it possible to view subdirectories in my public:// domain? I have images and files from legacy site that were uploaded in a variety of subdirectories, ...
0
votes
1answer
92 views

Problem setting a private directory

I have problems establishing a private files directory (D7.22) I started at reading this article: http://drupal.org/documentation/modules/file. I then created a private folder above the Drupal root, ...
1
vote
1answer
19 views

Module to display file from an SVN repo?

Looking for a way to display text files that are stored in an SVN repo or local filesystem. Exactly like http://www.mediawiki.org/wiki/Extension:Include works for mediawiki. Thanks a lot
0
votes
0answers
32 views

Download file only after captcha

I have a content type called "Downloads" with a file field; I don't want to display the file link in node view page, but a captcha request; in this way I can know if the request arrive from a person ...
1
vote
0answers
28 views

D7 Ubercart 3.4 not displaying uploaded file

I'm using ubercart for a poster printing process. It allows users to upload files for poster printing. But in the order page where I can see the summary of the order, the section for Upload File ...
0
votes
0answers
89 views

How can I control file renaming behavior of Drupal 7 Webform file uploads?

I'm a drupal newbie so excuse me if I'm using the incorrect terminology or my description is not very clear. I have a webform with a file upload field using the File widget. I upload files for users ...
0
votes
1answer
34 views

How to assign value from one file field to another programmatically?

I have a webform which have a file field. In the user profile I have also created a file field. I am using the webform for user registration So I am assigning the values from the webform to the user ...
0
votes
0answers
27 views

Create directory in file system per organic group

I am using Drupal 7 and I am creating a content type which is a content of an Organic Group. This content type has a file field and all the Organic Group Members can create a node of that. I want to ...
1
vote
1answer
34 views

How to save an uploaded image in an admin form?

I wrote the following module to upload a background image. My problem is, that my submit function is not called, though the pic is uploaded and showed in the block until the next cleanup is coming.The ...
0
votes
1answer
35 views

Transliteration- Is it possible to transliterate filenames (and update the DB) after files have been uploaded?

I have a website that allows users to upload pictures. To reduce the amount of space used by pictures files on my site, I attempted to use a script to remove orphaned files. However, this script ...
0
votes
1answer
25 views

Appending output to a file?

I am developing a custom module and I want to write debugging output to a log file so I can monitor it in real time, and not wait to navigate to watchdog. I was using file_save_data() to write to ...
0
votes
0answers
30 views

Change upload action for file field

I am developing a custom form that will upload a file to a .aspx file, which will then run a process on it. From looking at the default Drupal form, there is a 'submit' input type which is next to the ...
1
vote
1answer
36 views

Make download available after purchase of a physical good

I am running a UC Shop with Drupal which sells CDs and LPs and most of the time everything works like it should do. Now I want to improve the service for our customers. For this reason, I want to ...
2
votes
1answer
32 views

audiofile throwing error on file size even though settings changed

An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (2 MB) that this server supports. Every time try to upload 8mb mp3 I get the above error even though have ...
0
votes
0answers
57 views

Migrate d2d picture migration destination path incorrect

I'm in the process of building a migration module for a d6 to d7 migration using the d2d module. I'm almost there, but one thing that's holding me back is the DrupalPicture6Migration. After trial and ...
1
vote
3answers
188 views

How to get images into a slideshow via json javascript with new itok

I have just updated to drupal 7.21, and I have massive errors with the new itok suff: Right now I use json_encode(views_get_view_result('viewsitem')), and decode the result with JSON and JavaScript. ...
0
votes
0answers
23 views

Large number of orphaned records in image_dimensions table in Drupal 7

I have over 40k worth of orphaned records in the image_dimensions table in my drupal 7 installation. i cross referenced alot of these records to see if they exist in my files folder and many of them ...
0
votes
0answers
52 views

D7 Organic groups and securing private files

I'm looking for a current solution for private file protection in D7 (so files uploaded without a node can be hidden from unauthorized users). I saw this question, organic groups and private files, ...
0
votes
1answer
50 views

Validating extensions in file uploads

I am trying to create a file validator for .csv uploads. This is my code that works at allowing csv uploads (which are disallowed by default): $validators['file_validate_extensions'] = array('csv'); ...
0
votes
0answers
55 views

How to use PDFPreview in Media's File Type display settings?

I'm using the PDFPreview module (slightly hacked, see this issue) to display thumbnails of PDFs uploaded to a filefield. However, that same filefield can hold other kinds of files (images, embedded ...
0
votes
1answer
75 views

How to make the pdf files downloadable?

I am able to display file with url: For example echo '<a href="'.$file_url.'" target="_blank">'.$path_parts['basename'].'</a>'; How can I make this file downloadable? In case of pdf ...
0
votes
0answers
61 views

Drupal 7 Images in Views break after migration

after migrated to the server, the images in views all break. I use inspect element tool to examine the images, they all say: Failed to load resource: the server responded with a status of 500 ...
0
votes
1answer
26 views

Disallow access to member files when they are in public file system

I have case where I want to make it impossible for the users to access file directly (http://www.mydomain.com/members/file.pdf), but want to allow downloading this file only if link is displayed on ...
1
vote
2answers
127 views

Integrating file management with Organic Groups

Using Drupal 7 and OG 2.x. I'm looking for a file manager to use so that each group has a files tab with the ability to create, move, delete files/folders for their group and read/write permission is ...
1
vote
1answer
54 views

How does the tmp folder work? It stores lots of junk files and takes space

My tmp folder is set to /sites/default/files/tmp/ and I checked what's inside and for example there is folder inside called /update-cache-b2903cc4/ it keeps all modules in .zip that I installed via ...
2
votes
0answers
81 views

How to serve files from a second server in Drupal 6? [closed]

I have bandwidth limitations for a busy and image-heavy D6 site so I decided to outsource my /webroot/site/default/files to my second server which is almost idle. I tried to do so using CDN module, ...
0
votes
0answers
92 views

What alternatives are there to files storage in Drupal 7 besides S3? [closed]

I have relatively large site with alot of image galleries (9GB worth) and i want to use Pantheon for hosting, but they don't give enough space. What alternatives are there to hosting these image files ...
3
votes
1answer
78 views

how to delete the files uploaded in the file field?

if i remove the files that were uploaded in a File field,and then upload a same name file, the file removed just now is still present in the server and the new uploaded file gets renamed to a name ...
0
votes
1answer
74 views

The file names are not transliterated on upload

I am using Drupal 7 and have transliteration module enabled. I have a file field and I want to have the names of the uploaded files to be transliterated on upload. The url alias for the nodes are ...
0
votes
1answer
26 views

How to map a URL to an attachment

I'd like to have a simple and clean URL for a PDF file, such as http://www.examples/file1 that maps to an attachment in a Drupal node, rather than using something like ...
0
votes
1answer
51 views

organic groups and private files

Hi everyone I was wondering if it's possible to have directories of files attached to an organic group so that only group members and admins can access those files. If so whats the easiest way to ...
0
votes
1answer
194 views

“Filename cannot be empty in file_unmanaged_save_data()”

We're using Drupal 7.20 and this error message started appearing after trying to add a new context. I removed the context condition, and even restored drush arr from a dump from Friday. All files ...
0
votes
0answers
98 views

Drupal 6 alternative to Drupal 7's managed_file Field API type

Is there a Drupal 6 alternative to the Drupal 7 managed_file field type? I have an configuration form using multiple image fields, and I'm using managed_file field type in Drupal 7 which works ...

1 2 3 4 5 6