[Webcom] Uploading files to website

Tyler Mitchell tmitchell at osgeo.org
Mon Apr 4 12:28:56 EDT 2011

Hi Jo, I haven't dug into that web file manager in a while - it might be easiest to just store the files in SVN instead.  In fact, I think that would be a better solution all around anyway.  Have you used the OSGeo SVN already?  I've given user "jocook" permission to save into our main OSGeo repository: http://svn.osgeo.org/osgeo

I've create a case_study folder in the marketing part of the repository, so you can check it out without having to grab all of the marketing files (lotsa!).

In case you need a little hand getting started:

svn co --username jocook http://svn.osgeo.org/osgeo/marketing/case_study
cd case_study
svn mkdir any_new_folder
-copy files into your new folders, then add/register them with SVN
svn add file1.pdf file2.pdf
svn propset svn:mime-type application/pdf *.pdf   (necessary at the moment so web browsers can open them easily)
svn commit --message "brief description of changes"

Then just link to them the files as needed:
http://svn.osgeo.org/osgeo/marketing/case_study/any_new_folder/file1.pdf  .. etc.

That should do it!  Holler if you get stuck.

p.s. ** WEBCOM - can someone help make PDF files automagically have the proper mime-type settings?  I've tried but SVN is not my friend. **
p.p.s.  Jo - let me know if you want to batch update your email address on the OSGeo lists - it's a single command for me to run.

On 2011-04-04, at 2:28 AM, Joanne Cook wrote:

> Dear Web List,
> Apologies if this is a n00b question, but I'm trying to work out how to upload files to the osgeo website. I am collecting case studies for the UK chapter part of the site, and would like to upload some pdfs. When I am logged in and on the correct page, and click on the web file manager link, the only part of the site that I appear to be able to upload files to is the conference section. There is no obvious method of moving upwards in the hierarchy from there, or changing the folder name.
> I know how to attach files to a page so that they appear at the bottom in a list, but what I want is to be able to put internal links to files in the page text. Am I missing something obvious?
> Thanks in advance
> Jo
> -- 
> -----------------------------------------------------
> Joanne Cook
> 07930 524155
> ------
> Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information.
> _______________________________________________
> Webcom mailing list
> Webcom at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/webcom

More information about the Webcom mailing list