java - Accessing Local Files From online Web Application -


i have web application can traverse directory , give file list directory.

from http://localhpst:8080/searchengine working fine

but when deploying on sever then, not displaying result.

what can reason??..is permission issue???..if yes, how can grant permissions using java program.

i ready provide username password.

i have files in local directory..checkout link http://searchengineenv.jelastic.dogado.eu/searchengine/ passing local directory path , word search in folders file.

it working fine in local not working when put online.

the simplest way have program traverse filesystem have program reside on same machine. becomes tricky have remote machine's filesystem accessible external users, between permissions , user logins , roles, , of course depends on filesystem run.

in order work, you'll need application deployed on local machine. use separate application deployed different server communicate local app , present results webpage or have you.

(this goes on assumption when "deployed server" mean different machine)


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -