wood burning stoves 2.0*
The moose likes Web Services and the fly likes Store a file in remote machine without using FTP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Store a file in remote machine without using FTP" Watch "Store a file in remote machine without using FTP" New topic
Author

Store a file in remote machine without using FTP

muruga dhanapal
Greenhorn

Joined: Jun 02, 2010
Posts: 24
Hi All,
About my Issue, An external application will send a request xml and in my application we will process the request xml and we generate pdf based on the request xml.
For this we wrote a wrapper class which will invoke the adobe service to generate the PDF.
And this PDF is generated based on the XDP template stored in the repository. We have developed our application such that this XDP template and adobe server will be on same machine .
Currently my requirement is the adobe server can be hosted in a remote machine so I need to store the template in a remote machine. I can do this in FTP but in my network the FTP is blocked so could you please guide to an alternate way…
Please help me with the sample snippets

William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 860

"Please help me with the sample snippets" - No.

Suggestion:

If the template is stored remotely, then access it remotely via a REST or SOAP web service, that returns XML
and the template [CDATA] wrapped.

WP
muruga dhanapal
Greenhorn

Joined: Jun 02, 2010
Posts: 24
Thanks william for your response.

I have a simple jsp of two fileds one is the template name, the user can name the template and the other field is to upload the template file, right now when I upload I have a code which store the file in my local repo, but I want to save this template in a remote machine.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Store a file in remote machine without using FTP
 
Similar Threads
How can i read Serealized objects stream and pdf file stream simuntaneously in one servletconnection
Cannot open PDF directly, save works
Reporting and printing model
how access Remote machine directory
FTP via web application