File upload error

2001-12-21 Thread Alexei Danchenkov
Hello, All, This might be a bit offtopic, but while uploading a file to a server, all zeros (0x0) are replaced with spaces (0x20). What is wrong with the following code then or what's wrong with the server configuration? I am using HTML::Mason with Apache server 1.3.22 under RedHat Linux 6.2 When

RE: Compilation

2001-10-14 Thread Alexei Danchenkov
t;Copyright (C) Microsoft Corp 1988-1998. All rights reserved. > >makefile(531) : fatal error U1035: syntax error : expected ':' or '=' separator >Stop. > -Original Message- From: Randy Kobes [mailto:[EMAIL PROTECTED]] Sent: Friday, October 12, 2001 6:1

RE: Downloading file.

2001-10-12 Thread Alexei Danchenkov
Hi, Krung, Apparently you didn't sent the actual file, only the header. You need to read it from the file handle and print it out to your output stream. I assume this must be: use constant BUFFERSIZE = 65536; binmode $filehandle; binmode OUTPUT; # This is your OUTPUT stream while ( read ( $filehan