What is the best way to go about downloading a project file with all the files and sub folders intact? Some of the project files can be 100+ GB in size.
Thanks,
Sean
If you do not need an exact tree structure of how it is in livelink try a "collections disk image".The fact is that since livelink's folder structures are basically database representations so it does not impose a depth like windows or unix does.The collections output gives you a index.html file and a search utilty as well if you can live with it.
You can also "collect" and program against the collection although I doubt if WSAPI has anything like that for you.
My client wants the extact structure, as it appears in livelink. I've tried using collections and making a disc image, but the proper folder structure wasn't there. I used Object Exporter to export the project files, then I used PHP to read/write the files into proper folder structure. I found out that OE does not export CAD files unless I purchase the CAD Module. So there was a lot of missing files. I though maybe there would be a better way to do this instead of using OE.
And the client knows some of the technical limitations what Windows has in this nature?Using the WSAPI you may be able to list the contents of a project and when you encounter a AutoCad subtype you probably can do a version output of that file.I also recently thru oscript extended OE to download email(749),compond email(557) and email folder(751) so it could be used to do a OI to another system,perhaps autocad subtypeis something you could extend as well.OI and OE are frameworks of programming but it may require an advanced oscripter to do things.I am willing to hint if you need help on that.In any case if you find all the descendants(through a decent dtreeancestors query,a connect by query ,or a CTE) you may be able to do what you want although I still don't know how you can do the 1->many versions of a object as well as path level in file systems.Let the forum know how you kept the customer happy .
Yeah the client knows the limitations on windows. For paths longer than 255, I shortened the file names first and then checked if path + new file name was less than 255. If it wasn't, I started shortening folder names until path + file name was less than 255.
I got a query from my manager that output all the file name, path and size inside the project. I used those results and checked it against the text files that OE output and found the missing CAD files. The problem was I didn't have a proper way to export those files, because OE needed the CAD module to export them. So I manually exported the missing files. It was painful. So I need to find a better way to export a Project. Buying the CAD Module will be my last restort.
Hey appu, how did you extend OE to allow it to download emails? I'm not too familiar with OScript. We could probably use the same logic to extend OE for CAD files right?
If you have access to the Livelink SDK (Builder) then let the forum know. I will try to say what I did for that.
You may want to learn how to create a module to hold your customization and see if you can install/uninstall without
Too many problems. Mind you oscript and builder takes some getting used to.
I was basically looking at the OE code and I found how Dan Pidverbny(maybe a lot of others but I see his name many places) does the work for Folder(0) that gave me clue how to do email folder(751)
Then Document(144) which meant that he was downloading versions so that was my basis for email(749) & compound email(557)
There was very little of my code to really do this as the module (both OI and OE) is written as a framework of sorts.
Maybe autocad may not be that easy….
From: eLink Entry: Content Web Services Forum [mailto:otdncontentwebservices971forum@elinkkc.opentext.com] Sent: Tuesday, October 30, 2012 7:48 AMTo: eLink RecipientSubject: [EXTERNAL]Download Project Files
Download Project Files
Posted by antonys@mmm.ca (Antony, Sean) On 10-30-2012 08:43
[To post a comment, use the normal reply function]
Topic:
Forum:
Content Web Services Forum
Content Server:
Knowledge Center