Attempting to use the "Import new file to this
directory" form fails. Zero bytes uploaded from the
selected file.
The repository is on a Linux system. Browsing through
IE5 on a Windows 2000 system.
It appears that the 'buffer_copy' procedure is not
working correctly for a locally selected file.
Logged In: YES
user_id=84290
I'm having the same problem on a Solaris 2.8
system.
Does anybody have a resolution yet??
Logged In: YES
user_id=147044
Hi,
Even I'm having the same problem on Red Hat Linux system.
Has anybody solved this problem yet?
Deepak Kumar
kmdeepak@operamail.com
Logged In: YES
user_id=269483
I've just downloaded the cvs web client a day ago and wanted
it to test. I run into the same problem and found (hopefully
doesn't brake anything else) a possible fix:
in cvs-web/lib/CGI/Form.pm:
sub start_multipart_form {
my($self,@p) = @_;
my($method,$action,$enctype,@other) =
$self->rearrange([METHOD,ACTION,ENCTYPE],@p);
$self->startform($method,$action,
$enctype ||$MULTIPART,@other);
}
Changed it to:
sub start_multipart_form {
my($self,@p) = @_;
$self->startform(@p, "-enctype", $MULTIPART);
}
Now, this fix has the drawback that you cannot specify any
more a -enctype parameter other than multipart, but as we
are in a multipart form, why specify another one?? (just
call startform directly in this case).
I did not want to include this in the codebase as I don't
know the actual plans on CVS web client but ideally, those
CGI libraries should go away and be replaced by the standard
Perl libraries.
Logged In: YES
user_id=358771
Hi,
I'm having the same problem on SuSE Linux system.
The solution which tpolling had suggested works fine for me.
I don't know whether the fix have any dependencies to other
code fragments.
Thank you tpolling for your solution
Logged In: YES
user_id=184934
Hi,
I was having the same problem. My CVS repository is on an
HP-UX box and I was viewing with IE 6. When trying to
upload zip, jar, ear, or war files I got an empty file in
the repository. I applied the fix suggested by tpolling
and now I am able to upload and download these file types
with no problems.
Thanks to tpolling for posting your fix. It was a great
help!