Upload Interface

Top  Previous  Next

sign_warningThe Upload Connector is only relevant for customers who need to connect the Publisher client software to their own backend, so customers can upload their designed print products.

If you are such a customer, please ask us for the 3PUploadConnector.zip with demo PHP sources. In this archive, please read the detailed document Spec Upload Interface.pdf from Diron.

We adapted this spec with only minor changes. The exact calls and parameters can be found in the most recent <SetupWizard>\Source\4all.EN\products_demo.xml

<UPLOAD>

 <DPI>300</DPI>

 <BaseURL>http://...</BaseURL>

 <Prepare>uploadPrepare.do?sessionid=[sessionid]&amp;chunkcount=[chunkcount]</Prepare>

 <BeginChunk>beginChunk.do?ticketid=[ticketid]&amp;chunktitle=[chunktitle]&amp;chunkpagecount=[chunkpagecount]</BeginChunk>

 <TransmitChunk>transmitChunkFile.do?chunkid=[chunkid]&amp;pagenumber=[pagenumber]&amp;pagesinfile=[pagesinfile]&amp;md5=[md5] </TransmitChunk>

 <FinalizeChunk>finalizeChunk.do?chunkid=[chunkid]</FinalizeChunk>

 <Finalize>uploadFinalize.do?ticketid=[ticketid]</Finalize>

</UPLOAD>

 
Before and after Upload, the following URLs are used:

<LoginFormURL>http://.../loginShowForm.do?subshopid=[subshopid]&amp;email=[email]</LoginFormURL>

<ShopEntryURL>requestEntryUrl.do?subshopid=[subshopid]&amp;sessionid=[sessionid]</ShopEntryURL>

<GotoShopURL>http://.../Workflow.do?start_workflow=Login&amp;subshopid=[subshopid]</GotoShopURL>

 
Check the C:\Users\<your_username>\AppData\Roaming\<your_appname>\tracehtp.log for the corresponding xml response files from the server. These files have a <response> attribute inside. The first response from the registration/login, which sends the SessionID, is not found in the tracehtp.log. See the file Spec Upload Interface.pdf for more information.
 

lightbulb_on

After definition of your product, layout and branding files, you will need the SetupWizard, in order to merge everything into one executable installer for your customers. This tool also downloads the most current Publisher binary from our server, and puts it into your installer.

2015 © 3P Photobook Publisher