Create folder on network

6 views
Skip to first unread message

Abu Bashar

unread,
Dec 16, 2009, 10:28:02 AM12/16/09
to Flex India Community
Hi All,
I am creating an application in flex (AIR), that interact with the
local network computers. The problem is when i m using the below code
to create a folder on the same computer, then it works fine but when i
am passing the network path then it occurs error like ""

CODE:
var file:File = new File();
file.nativePath = "//192.168.0.0/Bashar"; //runs fine when put local
path like "c:/Bashar"
var tempfile:File = file.resolvePath("AIR Test");
file.createDirectory();

ERROE:
error 3003 file or directory does not exist.


Please any one help me out.
Thanks in advance,
Abu
Reply all
Reply to author
Forward
0 new messages