WebFaction
Community site: login faq

I have a database where every files are in a zope database. I have to change it. I want to use ExtFile, but what I have to do with old documents? In this documents are files. Now in the database I have about 1.5 thousand documents i every document has 2 or more files. When I include ExtFile in every documents I have an error. How migrate this files? How remove files from a database to a files storage? Please help me:)

Sylwia

asked 08 Aug '13, 03:49

Sylwia
34
accept rate: 0%

edited 08 Aug '13, 04:32


You'll need to learn the APIs for your existing document store and for ExtFile, and then write a script the reads the files from the documents and then created ExtFile objects from them.

Sorry I'm not able to give you step-by-step instructions for this. You might have better luck asking about this on the Zope users' mailing list.

permanent link

answered 08 Aug '13, 11:00

seanf
12.2k41836
accept rate: 37%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×18
×2

question asked: 08 Aug '13, 03:49

question was seen: 1,376 times

last updated: 08 Aug '13, 11:00

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM