Hi,
It maybe possible but document folder and internal name(number name) structures are very complicated.
You can xogout attachment attribute like as following sample xogout xml and found that document will be placed under folder which you described by "documentLocation". You will find "Files" folder and sub-folders.
In my case, sugsh02_object01 object has 1 attachment attribute. I performed xogout instance and got the document in c:/work/Files/019/005/5019051
------ explanation about folder structure ------
…\Files\nnn\mmm\<version_id>
nnn : 4-6 digits of version id
mmm: 7-9 digits of version id
ex) for case of version id=5019051. Usually version id =5xxxyyy (7digits)
File path …\Files\019\005\5019051
File name 5019051
nnn = 019
mmm is 5. 0 padding and mmm is 005
------------------------------------------------------------
----- sample xogout xml ---------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_read.xsd">
<Header version="8.0" action="read" objectType="customObjectInstance" externalSource="NIKU">
<args name="documentLocation" value="c:/work" />
</Header>
<CustomObjectInstanceQuery>
<Filter name="objectCode" criteria="EQUALS">sugsh02_object01</Filter>
<Filter name="instanceCode" criteria="EQUALS">3</Filter>
</CustomObjectInstanceQuery>
</NikuDataBus>
Regards,
Shoichi