Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

FileNotFoundException On Orcale Webcenter Sites 12C

3607075Jul 6 2018 — edited Jul 10 2018

We have a form that contains some fields and to upload a file. we have submitted the form and we were trying to read the file using below code.

FileInputStream inStream = new FileInputStream(new File(ics.GetCgi("resumeFileUpload").getFile()));

While executing the above line we have received below Exception

java.io.FileNotFoundException: file:\C:\Oracle\MIDDLE~1\ORACLE~1\USER_P~1\domains\MIASTA~1\servers\wcsites_server1\tmp\fwcs-tmp\temp795\dcs6083687448684979201.tmp (The filename, directory name, or volume label syntax is incorrect)

at java.io.FileInputStream.open0(Native Method)

at java.io.FileInputStream.open(FileInputStream.java:195)

at java.io.FileInputStream.<init>(FileInputStream.java:138)

Please find below Environment Details

Server : Weblogic 12.2.1.3.0

Java : 1.8

OS : Win 2012 R2

Orcale Webcenter Sites 12C

This post has been answered by Graham L on Jul 9 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 7 2018
Added on Jul 6 2018
5 comments
271 views