[Xitami] corrupted downloads.

RPO rolinger1 at hotmail.com
Tue Nov 22 18:08:42 CET 2005


I recall having many Xitami FTP server problems several years ago and after
seeking help the basic response I always got was that Xitami FTP was very
buggy, that they weren't certain if they were ever going to make Xitami FTP
fixes a priority and not to rely on it for production services.  I took
their advice and sought other FTP server solutions.  Over the years I have
seen many, many people inquire about the same problems I experienced and I
don't ever recall anyone ever being satisfied with it.  It's best you find
another FTP solution and leave Xitami as standalone web server.

The web server seems to work great, however, recently I discovered a bug, or
flaw, in it's design:

The CGI engine buffers files being uploaded via http and prevents other
mechanisms from controlling the upload STDIN buffer.  I wrote a perl script
to by-pass the CGI buffering process so I could provide my users with an
accurate upload progress meter.  The basic concept is to grab the total size
of the upload prior to the upload occurring, then read in the STDIN buffer
and make comparrisons to how much has been read in versus the known over all
size of the upload.  Through each comparrison increment a progress meter
that is in a pop up window.

It took me weeks to figure out what was wrong with it until I installed
Apache on my server and my scripts worked perfectly on the first try.
Xitami's CGI engine doesn't release any buffer information until all of the
file(s) have been loaded into the servers memory - then it allows those
file(s) to be processed, error checked and written to the hard drive.  In
order for my script to work properly it needs to grab information before the
upload starts, but Xitami is somehow preventing that.



----- Original Message ----- 
From: "Paulo Silva" <paulo.silva at orgaman.com>
To: "Xitami Users General Discussion" <xitami at lists.xitami.org>
Sent: Tuesday, November 22, 2005 6:53 AM
Subject: Re: [Xitami] corrupted downloads.


> I had the same problem and i could never solve it.
> So i decided to use quick&easy ftp server, that is free.
> Not a great server but it's enough for what i need. But i'm still
interested
> in knowing how to solve this problem.
>
>
>
> ----- Original Message ----- 
> From: "Maurilio Longo" <maurilio.longo at libero.it>
> To: "Xitami Users General Discussion" <xitami at lists.xitami.org>
> Sent: Tuesday, November 22, 2005 3:31 PM
> Subject: Re: [Xitami] corrupted downloads.
>
>
> > Reg,
> >
> > the same problem here with open xitami 2.5/c2 when doing an http
download
> of a
> > few megabytes file, it stops after some 150kbs.
> >
> > Any idea anyone?
> >
> > regards.
> >
> >
> > Reg ha scritto:
> >
> > > I don't know if anyone knows the answer for that one Jim. I have the
> same
> > > problem downloading files from the Xitami server itself. I have asked
> about
> > > it before with no responses.
> > >
> > > At 11:18 AM 10/14/2005, you wrote:
> > >
> > > >Hi Gang:
> > > >
> > > >I've asked this question before; however, I received no response.
> > > >
> > > >For some reason, many people who use Internet Explorer  to download
> from
> > > >my Xitami FTP server are receiving corrupted files. There seems to be
> no
> > > >problem for those using other FTP clients.
> > > >
> > > >Any help would be appreciated all over the place.
> > > >
> > > >Cheers
> > > >
> > > >--
> > > >Xitami Users Mailing List -- For Xitami support
> > > >To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
> > > >
> > > >No virus found in this incoming message.
> > > >Checked by AVG Anti-Virus.
> > > >Version: 7.0.344 / Virus Database: 267.12.0/134 - Release Date:
> 10/14/2005
> > >
> > > --
> > > No virus found in this outgoing message.
> > > Checked by AVG Anti-Virus.
> > > Version: 7.0.344 / Virus Database: 267.12.0/134 - Release Date:
> 10/14/2005
> > >
> > > --
> > > Xitami Users Mailing List -- For Xitami support
> > > To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
> >
> > --
> >  __________
> > |  |  | |__| Maurilio Longo
> > |_|_|_|____| farmaconsult s.r.l.
> >
> >
> >
> > --
> > Xitami Users Mailing List -- For Xitami support
> > To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
> >
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>



More information about the Xitami mailing list