on 01-17-2007 3:13 PM
Hello,
I try to test file existence from a WD application (6.45) :
new File("c:\tmptest.txt").exists()
--> works fine
new File("\\ncedxxxtmptest.txt").exists()
--> works fine (
ncedxxx is my local machine)
new File("\\ncedyyytmptest.txt").exists()
--> <b>always return false</b> (
ncedyyy is a colleague machine in Nizza)
new File("\\dwdf048\CHARM\OTS\FileTransfer\ment.txt").exists()
--><b> always return false</b> (
dwdf048 is a remote server in wdf)
Any idea ? Is there a configuration in VisualAdmin to enable me to access such remote machines ?
I tested the same code snippet in a java main and that works... problem seems to occur with WebAS... or ?
Best regards,
Laurent
Hi Laurent,
Give the shared folder in Remote machine full control(in Permissions) and check again
Regards
Fahad Hamsa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Is the WebAS installed on your machine or on a different machine? If its on a different machine, may be that machine is not able to ping the said locations. When tried from a java main, you are testing from your local machine which is able to ping those machines.
Hope it helps,
Regards,
Rajit S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.