server - How can we open a file present on remote machine from local machine using FileDialog in swt in java? -


i want access file of remote machine ip address 10.11.201.170 . want point filedialog in d: drive of pc . why , have written following code :

 filedialog dialog = new filedialog(shell, swt.open);          dialog.setfilterpath("//10.11.201.170/d:");          dialog.setfilterextensions(new string[] { "*.docx" });           string filename = dialog.open();  

but filedialog not point d: drive of 10.11.201.170 pc . how can open filedialog in d: drive of remote pc ?

is remoted server valid network storage? have mapped d: drive client machine? if not can't access using file system api filedialog


Comments

Popular posts from this blog

c# SetCompatibleTextRenderingDefault must be called before the first -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -

c++ - Fill runtime data at compile time with templates -