Tags:
create new tag
view all tags

Question

The version control of attachments fails for large attachments?

I've successfully attached two subsequent versions of a Word .doc file and had them show up as 1.1 and 1.2. But, when I then try and update the attachment with a ~1MB version it has a problem. The new file gets uploaded to twiki/pub/Main/<topic> all right, but the version control file in that directory is not changed:

-rw-r--r--   1 httpd    site1    1083392 Feb  1 22:06 File.doc
-r--r--r--   1 httpd    site1     168773 Feb  1 21:32 File.doc,v

The META:FILEATTACHMENT as seen on the bin/rdiff page continues to have the previous version=1.2 rather than 1.3, though it does have a new date and size. And on the bin/attach page, the last large upload doesn't appear in the list of Versions, though it is there as the current one.

Looking in /home/log/httpd/error the following showed up after the large upload attempt:

sh: unexpected EOF while looking for `''
sh: -c: line 2: syntax error
Perhaps this sheds some light on the problem? I've also included my rcs and diff versions in case it's relevant. Is there some limit on the size of attachments that can be handled properly?

  • TWiki version: 01 Dec 2001
  • Web server: Apache 1.3.12
  • Server OS: Cobalt Linux 2.2.16
  • rcs version: 5.7-10
  • diff version: 2.7
  • Web browser: Netscape 4 / IE 5.5
  • Client OS: Windows NT 4.0

-- BillDargel - 01 Feb 2002

Answer

.

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2002-05-21 - TWikiAdmin
 
  • 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.