开发者

show files at a URL

I have 2 application deployed on my server and first application is suppose to list the files in a folder in another application开发者_Python百科.

But the problem is these two application may be deployed on 2 different physical servers. So is it possible to fetch the files from the URL

i.e is there a way something like

List<file> getFileList(<URL>/folderName) ;


That's not possible by HTTP. Use FTP or let the server platform mount it on the local disk file system.


As @BalusC said, by HTTP it is not possible... unless you write a special script of your own returning a list of files in the folder you need (with permissions check, of course).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜