Exception uploading from read-only media

Upload core product.
ajassal
Posts: 11
Joined: Sun May 11, 2008 4:27 pm

Re: Exception uploading from read-only media

Post by ajassal »

Yes. This specific case was on a non-read-only folder. Actually files from the read-only folder were ok (except for sending up the path with the temp folder). That could be because they were being uploaded from the root folder on the drive.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Exception uploading from read-only media

Post by support »

Ok, may I ask you to post here a screenshot of the applet when the error occurs ?

ajassal
Posts: 11
Joined: Sun May 11, 2008 4:27 pm

Re: Exception uploading from read-only media

Post by ajassal »

Here is the screen shot when a file from a non-read-only folder is uploaded.
Attachments
Screen01.JPG
(209.42 KiB) Downloaded 201 times

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Exception uploading from read-only media

Post by support »

I've made the test and it seems to work from here. The server receives the two following requests. As you have JFileUpload + JBatchUpload 2.1 now, could you make another test to see if 2.1 fixes this issue ? Also, where was the x.xml file ? In which folder ?

Method :HEAD (this one is for the resume=crc support)
URL :http://localhost:8080/upload/process.jsp
Head:relativefilename=x.xml.zip
Head:filename=x.xml.zip
Head:checksum=crc
Head:user-agent=JFileUpload
Head:host=localhost:8080

Method :POST (this one if for upload)
URL :http://localhost:8080/upload/process.jsp
Head:user-agent=JFileUpload
Head:host=localhost:8080
Head:cookie=JSESSIONID=566B7CD9FC989362C864AC8B5A14E782; $Path=/upload
Head:content-length=1329
Head:content-type=multipart/form-data; boundary=VVSwqLmeudqaL1Ld_27Ld0W0KPlZzIdGqFx
Multipart content:
MParam:todo=upload
MParam:relativefilename=x.xml.zip
MParam:selectedfullfilename=D:\server\jakarta-tomcat-5.5.9\x.xml
MParam:notifyrelativefilename=true
Others:
ContentType=application/zip; charset=UTF-8

Post Reply