🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1825

How to upload a file

#1825
From: Venkateswara_Rao
Date: Mon, 19 Jan 2009 18:05
19 lines
1097 bytes
Hi,

I am working on a project which uses remote indesign server.

The javascript is executed at remote end and retrieves the file using java servlet.

var http1 = new HttpConnection("http://192.168.1.20:8080/servlet/getFileServlet?id=10");
http1.response = new File("test.indd") ;
http1.execute() ;
http1.response.close() ;

after downloading the file I am converting indesign file to PDF. Now I have to upload this PDF to my java server using a fileupload servlet.

How I can achieve this using HttpConnection ?

Please help. Thanks.

Regards,
Venky
Technical Details
Message-ID: <59b78d9a.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,ef5800930bb02dd7,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Venkateswara_Rao@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: How to upload a file
Message-ID: <59b78d9a.-1@webcrossing.la2eafNXanI>
Date: Mon, 19 Jan 2009 10:05:34 -0800
Lines: 22
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit