I did some google, and found out python has that:

python -m SimpleHTTPServer


On Oct 28, 5:26 pm, Ryan Schmidt <[email protected]> wrote:
> On Oct 28, 2012, at 02:53, Angelo Chen wrote:
>
> > trying to find a quick and dirty solution in nodejs: often need to access a 
> > folder in mac from  ipad's Safari, is there a simple, one file nodejs 
> > script that can do it? thanks,
>
> Be more specific. Define "access".
>
> If you just want to see the contents of a folder on your Mac from your iPad 
> and access MobileSafari-compatible files inside it, for example, you could 
> run any web server on your Mac and let it serve that folder. Since I'm 
> guessing that's not what you meant, let us know what you meant.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to