Gossamer Forum
Home : Products : Others : Fileman :

Image uploads fail

Quote Reply
Image uploads fail
Every time I upload gif/jpg images with Fileman files are corrupted and looking strange. Any idea what is causing this ?
Quote Reply
Re: Image uploads fail In reply to
Hi five40:

Please check this in your sub upload of fileman.cgi:

($fullfile =~ /[cgi|pl]$/) and ($buffer =~ s/\r//g);

There is something wrong there. It should be:

($fullfile =~ /(cgi|pl)$/) and ($buffer =~ s/\r//g);

Notice that the parentheses have been changed it is (cgi|pl) instead of [cgi|pl].

Cheers
Sun
Quote Reply
Re: Image uploads fail In reply to
Hi Sun,

Thanks, that seemed to help.

five40
Quote Reply
Re: Image uploads fail In reply to
Hi five40:

Thank you. I am glad to be of service.

Cheers
Sun
Quote Reply
Re: Image uploads fail In reply to
Hi five40:

I mean you are welcome and not thank you.

Cheers
Sun