r10 - 09 Mar 2008 - 17:28:49 - TobyCabotYou are here: TWiki >  Plugins Web > UploadToTWikiAddOn > UploadToTWikiAddOnDev
Tags:
, create new tag

UploadToTWikiAddOnDev Discussion: Page for developer collaboration, enhancement requests, patches and improved versions on UploadToTWikiAddOn contributed by the TWikiCommunity.
• Please let us know what you think of this extension.
• For support, check the existing questions, or ask a new support question in the Support web!
• Please report bugs below

Feedback on UploadToTWikiAddOn

-- PeterThoeny - 11 Feb 2007

Hm, why not use the BuildContrib instead?

-- FranzJosefSilli - 11 Feb 2007

Because of simplicity and because of different scope. BuildContrib is a build environment, requires a working TWiki installation, requires to build a project in order to upload files, and it uploads predetermined files to a specific location. The uploadtotwiki.pl script is a general purpose upload script like scp; it is typically installed on a different server than TWiki, and it does not require TWiki to be installed on the machine where the upload script is executed.

-- PeterThoeny - 11 Feb 2007

Idea for improvement: Change parameters to allow wildcards, e.g.:
uploadtotwiki.pl -l JohnSmith -c "This is the attachment comment" dsc*.jpg http://twiki.org/cgi-bin/view/Sandbox/UploadTest. This makes it similar to scp.

-- PeterThoeny - 11 Feb 2007

New version posted at UploadToTWikiAddOn:

  • Added -l, -p, -c, -h, -i, -d parameters
  • Support for multiple file uploads

-- PeterThoeny - 13 Feb 2007

Peter... I'm using template logins and the thing seems to fail. I ran the perl debugger and the response from LWP has a base href of /bin/login ... page looks like a proper attachment took place, but nothing is changed on disk.

-- MatthewKoundakjian - 26 Apr 2007

It looks like the login expects Apache, so I moved over to that and will try it again, once I get it working.

-- MatthewKoundakjian - 27 Apr 2007

Ah, that is right, it is only designed for Apache login. Docs need to be updated.

-- PeterThoeny - 27 Apr 2007

This still doesn't seem to want to work for me, even after setting up Apache login.

I'm not sure why, either... I did a cursory debug run and I could see where it got a 401, then it tried to do the login and send... and it seemed to return success, but I didn't see the file.

I guess I'll have to watch more closely and also watch the TWiki logs and the Apache logs.

-- MatthewKoundakjian - 30 Jun 2007

Thanks Peter, this add-on rocks!

-- TobyCabot - 09 Mar 2008

 
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r10 < r9 < r8 < r7 < r6 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo