访问共享文件夹在Adobe AIR中网 [英] Accessing a shared folder over a network in adobe air

查看:185
本文介绍了访问共享文件夹在Adobe AIR中网的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想写使用File类Windows网络在AIR上的共享文件夹。我不明白如何将路径格式到共享文件夹。我得到的一切我已经试过谁的错误之一:指定的文件夹不存在和有一个参数丢失。 UNC路径来从我的电脑访问此文件夹是这样的:

I'm trying to write to a shared folder on a windows network in AIR using the File class. I don't understand how to format the path to the shared folder. I get one of who errors with everything I've tried: "The specified folder does not exist" and "there is a parameter missing". The UNC path to access this folder from my computer is like this:

\\ localdev01 \ platefiles

\\localdev01\platefiles

下面是我试图访问此文件夹的不同的路径格式:

Here are the different path formats I've tried to access this folder:

\\ localdev01 \ platefiles

\\localdev01\platefiles

/ localdev01 / platefiles

/localdev01/platefiles

文件:// localdev01 / platefiles(我得到错误#2与这一个)

file://localdev01/platefiles (i get error #2 with this one)

文件:/// localdev01 / platefiles

file:///localdev01/platefiles

有没有人有任何指导或建议?

Does anyone have any guidance or suggestions?

推荐答案

为一个共享目录如

\\localdev01\platefiles 

use

file:///\\localdev01\platefiles

这篇关于访问共享文件夹在Adobe AIR中网的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆