These forums are not for official support. If you are looking for official support please click here.

Welcome guest, please Login or Register

You are here: Home :: Forum Home :: Modules :: Channel Files :: Thread

   

Possible to convert EE2 file fields?

Rank

Total Posts: 26

Joined 2010-11-26

PM

 

Hello,

This add-on looks very useful.

I have a site with thousands of entries, each containing different media files. Files are handled using regular EE2 file fields.
Would it be possible to “convert” or move the file information into Channel Files somehow? Just a once off batch of some kind?

Thanks,

Seamus

Rank
Rank
Rank
Rank

Total Posts: 2811

Joined 2010-12-24

PM

 

Hello Seamus,

In theory you could move things around. But you are going to have some issues. Channel Files stores each file in a directory of the entry number. Second Channel Files has its own db table. Third the actual entry will only have one field that references the db table.

Wish it was easier, but it isn’t. The real issue is the moving of all the files, you could somehow script the DB part. But the physical move might be tough.

Brad

Rank

Total Posts: 26

Joined 2010-11-26

PM

 

Hi Brad,

Thanks for the clarification.

Seamus