Tags:
create new tag
view all tags

SID-02008: Upload and Download Attachments

Status: Answered Answered TWiki version: 4.2.0 Perl version: 5.8.4
Category: CategoryAttachments Server OS: Last update: 10 years ago

I am trying to upload files periodically from a server, because a local Perl script generates a new version of the file. I tried using UploadToTWikiAddOn but that silently fails for the server I tried. When I tried the default "perl ./uploadtotwiki.pl -l TWikiGuest ./corgi-extinct-ftr.jpg http://twiki.org/cgi-bin/view/Sandbox/UploadTest", it had an error 500: bad hostname error. I'm running the script using perl 5, version 14, subversion 2 (v5.14.2) built for MSWin32-x86-multi-thread

Also, when opening attached files, is it possible to have them download when added in-line?

Thanks

-- TWiki Guest - 2015-01-02

Discussion and Answer

What login manager do you use on your TWiki? From the doc: "At this time the script only supports ApacheLogin only; support for TemplateLogin is pending." It does not work on TWiki.org due to template login. You could sponsor the enhancement of this script to support template login by hiring a TWiki Consultant.

Opening or downloading attached files depends on the mime type of the file and the browser setting for the mime type.

-- Peter Thoeny - 2015-01-02

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- Peter Thoeny - 2015-12-03

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Upload and Download Attachments
SupportCategory CategoryAttachments
TWiki version 4.2.0
Server OS

Web server Apache/2.0.55
Perl version 5.8.4
Browser & version

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2015-12-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.