Community

Importing data from CSV file into a file field in D7

Have a database in csv textformat. There is one field with pdf filenames.
I have succesfull imported the data to nodes with Feeds module, but the file field in my node type would not take the data from the .csv text field.

Is there a way to import into file field in D7 from csv files?
Of course I have to put my pdf:s into a right folder.

This is a huge database with 7000 items.

Comments

yes I have done it

In the file path column of csv, use path like following example :
suppose your xyz.pdf is inside /sites/default/files/pdf/xyz.pdf then path in csv should be :
public://pdf/xyz.pdf

Thanks phpsrajiv

The import works!
Tested successfully with imagefields too!
Great!

Thank

I had the same problem, thanks so much for the solution !

Someone I used to date traded a compliment for an annoying relative