<div><B><I>Navodit Kaushik <navoditk@yahoo.co.in></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"> <DIV>Hi</DIV> <DIV> </DIV> <DIV>I have set up a webserver on a machine using Komanche with the following code:</DIV> <DIV> </DIV> <DIV><STRONG>| ma |<BR>ma := ModuleAssembly core.<BR>ma serverRoot: FileDirectory default fullName.<BR>ma documentRoot: FileDirectory default fullName.<BR>ma directoryIndex: 'index.html index.htm'.<BR>ma serveFiles.<BR>(HttpService startOn: 8080 named: 'httpd') plug: ma rootModule</STRONG></DIV> <DIV> </DIV> <DIV>So now if I goto the link: <A href="http://xxx.xxx.xxx.xxx:8080/">http://<STRONG>xxx.xxx.xxx.xxx:8080</STRONG></A><STRONG> </STRONG>from another machine (xxx.xxx.xxx.xxx is the IP address of the server machine ) I can see the files inside the default directory on the server machine. </DIV> <DIV> </DIV> <DIV>Now
suppose there is a directory called 'test' on this server and I want to create/read/write files in this directory. How should I go about this?</DIV> <DIV> </DIV> <DIV>I tried the following but this does not work !</DIV> <DIV> </DIV> <DIV><STRONG>serverD := ServerDirectory new.<BR>serverD server:'xxx.xxx.xxx.xxx:8080'.</STRONG></DIV> <DIV><STRONG>serverD getFileList</STRONG></DIV> <DIV><STRONG></STRONG><STRONG></STRONG> </DIV> <DIV>I think the error is in my connecting to the server directory. Is this because I created a FileDirectory and not a ServerDirectory while setting up the webserver in the code above? Also I am not sure how to connect to the server directory. Can someone point me to any examples of how to do this or point out the error? Thanks</DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <div> <HR SIZE=1> Need Mail bonding?<BR>Go to the <A
href="http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396546091">Yahoo! Mail Q&A</A> for <A href="http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396546091">great tips from Yahoo! Answers</A> users._______________________________________________<BR>Beginners mailing list<BR>Beginners@lists.squeakfoundation.org<BR>http://lists.squeakfoundation.org/mailman/listinfo/beginners<BR></BLOCKQUOTE><BR> <div>Help still needed... Any feedback would be highly appreciated. Thanks.</div> <div> </div> <div>Navodit<BR></div><p> 
<hr size=1>Ahhh...imagining that irresistible "new car" smell?<br> Check out
<a href="http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-">new cars at Yahoo! Autos.</a>