I installed fileman on Win2k. Whenever I upload images or zip file, I use download option to download that file, it seems to be corrupted. But when I use regular FTP like cuteftp to download the file, the file is fine. Any1 has any idea why? Thanks.
Dec 27, 2001, 4:27 PM
Staff / Moderator (733 posts)
Dec 27, 2001, 4:27 PM
Post #3 of 3
Views: 3101
Hi,
You can fix that problem by yourself, just modify Commands.pm:
1. _view_file subroutine:
......
($self->{cfg}->{winnt}) and binmode STDOUT;
binmode DATA;
...
2. _send_to_browser subroutine:
.....
($self->{cfg}->{winnt}) and binmode STDOUT;
binmode SENDFILE;
....
That should work.
Cheers,
TheStone.
B.
You can fix that problem by yourself, just modify Commands.pm:
1. _view_file subroutine:
......
($self->{cfg}->{winnt}) and binmode STDOUT;
binmode DATA;
...
2. _send_to_browser subroutine:
.....
($self->{cfg}->{winnt}) and binmode STDOUT;
binmode SENDFILE;
....
That should work.
Cheers,
TheStone.
B.