on 05-20-2008 4:49 PM
Hello WebDynpnians!
I need enter into a Server Folder for take a image file. The server folder required autentication to access.
Can i access into server folder from a java code?
Sorry for my very bad english. I am Argentine.
Thanks for all!!!
Giancarlo
Hi,
Even if you fetch through java file, you still need permission for the fetching the same. If there is a SAP server, the root folder "SAP" will always be shared. if the image is under SAP installation folder, You can get the user account with required access rights from administrator and get it directly by browsing it.
This is what my understanding is. Hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem is not the user and pass into the folder. I know this info. I can enter into the folder manually. The problem is that i dont know how enter into de server folder adding user and pass by java code.
If I have:
"File file = new File( "
10.10.10.10
images
hello.jpg" );
When i execute this sentence i get the error "Access Denied"
If the server folder is set as public folder, I can access without problem!
Thanks!!!
Hi,
In WebDynpro, for example the statement
File f=new File("Sample.bmp"); by default it
will point to the file stored in Server0 folder of your server.
Regards
LakshmiNarayana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.