Hi, I'm having a problem uploading a file using perl. I can get the file uploaded but it becomes distorted. Here's the uploading part of the script.
open(OUT,">./mywebs/ETbyrne/youth/album/images/$random.jpg") or &error("Can not open outfile for writing: $!");
flock(OUT,LOCK_EX);
my $file_len...