qichengu / jodconverter

Automatically exported from code.google.com/p/jodconverter
0 stars 0 forks source link

//SERVER/1/technical.doc not supporting this type of PATH #90

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Before creating a new issue, please post your problem to the group for
discussion first.

http://groups.google.com/group/jodconverter

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by webna...@eneuron.in on 16 Jun 2011 at 8:25

GoogleCodeExporter commented 8 years ago
officeManager = new
DefaultOfficeManagerConfiguration().buildOfficeManager();
            officeManager.start();

            OfficeDocumentConverter converter = new
OfficeDocumentConverter(officeManager);

            File fdoc = new File("//SERVER/1/technical.doc");

            System.out.println("/////////////////"+fdoc.exists());

            File fpdf = new File("//SERVER/1/technical.pdf");

            converter.convert(fdoc, fpdf);

            officeManager.stop();

 //The out put shows file exists to true, but when the steps
 convertor.convert(fdoc, fpdf) going to execute it shows

 Input Document Not Found. 

Original comment by webna...@eneuron.in on 16 Jun 2011 at 8:49

GoogleCodeExporter commented 8 years ago
What does isFile() show and canWrite() show?
You can alternatively try to copy the file to temporary folder, and convert it 
there.

Original comment by shervin.asgari@gmail.com on 12 Sep 2011 at 12:26