JavaScript: list files from http -


can retrieve list of files located in uri (http server) javascript? find methods rely in server side scripting (ie, list php reads , outputs file list accessing filesystem)

if store list in single file or know locations want check, can use ajax request on client side make http request , subsequently load data own server.

if pulling data domain differs 1 serving page runs ajax request, run problem "cross origin request" prevent implementing feature.


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -