I keep thinking about replies like this one - is this material now on instiki.org? It really should be, don't you think? Why reply THERE, by adding to the documentation, and the directing readers of this list to the relevant page? Let's build the documentation base.
Tom C. On Fri, 02 Jun 2006 14:07:44 -0700, Meindert Meindertsma <[EMAIL PROTECTED]> wrote: > Hi Mike, > > I didn't know how to upload either, until I found out by accident > today. Lucky me. So here's a recipe. > > Let's say your wiki is called "mywiki" and you want to upload an image > "myFig.png". Create this (temporary) hyperlink in your wiki page: <a > href="http:/mywiki/files/myFig.png">upload this</a> (or in Textile: > "upload this":http:/mywiki/files/myFig.png). After submitting the > page, click on the new link. If any myFig.png graphics comes up in > your browser: bad luck, this file already exists on the server -- try > another name. But when you're more fortunate, you'll get the upload > page you longed for. Fill in the form (the original filename doen't > have to be "myFig.png"), and your file will be transferred to the > server -- actually to public/mywiki/files/ -- as myFig.png. Now you > can remove the hyperlink from your wiki page and replace it by > something like <img src="/mywiki/files/myFig.png" /> (in Textile: > !/mywiki/files/myFig.png!), or whatever you want. > > There is a restriction. The destination *has* to be the mywiki/files/ > folder. Any other location (like images/, > mywiki/files/someSubdirectory/ or mywiki/somePeerdirectory/) won't > invoke the upload page. > > This worked for me on Windows 2000 + Ruby 1.8.4 + Instiki 0.11.0 + > WEBrick, and I guess it will work for anyone using Instiki 0.11.0. > > Meindert Meindertsma. > > Quoting "Lucas, Mike" <[EMAIL PROTECTED]>: > >> I am setting up several wikis to try to help collect some HOWTO info for >> our staff, and love the simplicity and speed of Instiki, it is a great >> product, my first foray into playing with a RoR app. >> >> However, no matter how I try to search and read the documentation on >> file uploads in Instiki, I can't get this feature working. >> >> I set the file limit in the Web Settings to 1 GB to test without >> limitations. >> >> I followed the small example on FileUploads page on instiki.org by >> placing the location of the file I want uploaded in brackets. >> >> I have Instiki running on a local webserver, proxied to the outside >> world via Apache. I've tried to point the upload files link to a file >> straight off my local machine to see if it uploads to the web server but >> that doesn't work. Does Instiki have a file upload module somewhere, do >> i have to give permissions to the /files dir? (I am running Apache >> webserver on a Windows Server box, with Ruby 1.84 installed). >> >> I even ftp'd a file to the /files subdir and still can't get a clean >> link. When I ftp the file directly, then add [[filename.pdf:file]] the >> result is a highlighted link for a page that doesn't exist, but if I >> click the question mark to create it, then the PDF in the /files dir >> opens. Have I missed some config setting somewhere. I know instiki.org >> has the FileUpload page on the TODO list, but I'm getting frustrated not >> being able to sort it out on my own. Everything else with this >> application is so simple and straightforward, I'm sure I'm staring at >> the solution but just haven't grokked. it. >> >> Thanks, >> -Mike >> Michael Lucas >> Web Manager >> MVRPC >> >> > > > _______________________________________________ > Instiki-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/instiki-users -- ================================================ Tom Cloyd, MS MA, LMHC Private practice Psychotherapist Bellingham, Washington, U.S.A: (360) 920-1226 << TC.BestMindHealth.com / BestMindHealth.com >> << [EMAIL PROTECTED] >> ================================================ _______________________________________________ Instiki-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/instiki-users
