[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Could not read file (on host location)  XML
Forum Index -> Development
Author Message
levy

Power User

Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline

Hi,

Trying to upload a file with the FILEUPLOAD component leads after choosing the file in the popped modal directory browser to the following error:
Exception in thread "AWT-EventQueue-2" java.lang.Error: Could not read /s90104/users/U106567/userdata/abkommen.pdf. 
See attached console text for further details.

Probably the point is that it is a network location. The directory browser can show file or network locations (see attached screenshot). File locations do well.
I guess that with a further leading slash (//s90104/users...) it would work.

Could you generally handle this in CaptainCasa's FileManager class?

Regards, Daniel
[Thumb - file_chooser.png]
 Filename file_chooser.png [Disk] Download
 Description Screenshot directory browser with file and network locations.
 Filesize 16 Kbytes
 Downloaded:  379 time(s)

 Filename could_not_read.TXT [Disk] Download
 Description Error text in java client console.
 Filesize 4 Kbytes
 Downloaded:  407 time(s)

[WWW]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi,
we just tested and only see correct beahviour... the file names have a prefix of two slashes when referencing an external device.
Could you double-check on your site, best with demo workplace. Please view he screenshot I attached...
Regards, Björn
[Thumb - fileupload.jpg]
 Filename fileupload.jpg [Disk] Download
 Description
 Filesize 72 Kbytes
 Downloaded:  214 time(s)


Björn Müller, CaptainCasa GmbH
levy

Power User

Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline

Hi Björn,

I have checked in demo workplace:

Component "fileuploadbuttonasynchronous" (your screenshot) works,
but components "fileupload*" (in menu option "Triggered by user") don't work.

Regards, Daniel
[WWW]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

...got it!
Bug is fixed + fix is available in next update. (or earlier on your request)

THANKS! + Regards!
Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team