[lug] ftp problem

Ron Wright halsaves at gmail.com
Tue Mar 8 13:04:29 MST 2005


Also, at ftp time you can verify the size on both ends.  Use:
   $localsize = (stat($filename))[7];
   $remotesize = $ftp->size($filename);


On Tue, 8 Mar 2005 12:05:06 -0700, Daniel Webb <lists at danielwebb.us> wrote:
> On Tue, Mar 08, 2005 at 10:36:11AM -0700, Gary Hodges wrote:
> 
> > Is it possible the firewall is stripping files out of the tar archive or
> > should we look somewhere else?
> 
> My guess is that the missing files are at the end of the archive, and
> the archives are sometimes not getting through completely.  Maybe add
> something to your script to send along an md5 hash to make sure the
> received file is the same as the sent file.  The last place I would
> suspect would be that a firewall is set up to examine and filter .tar.gz
> files...
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
>



More information about the LUG mailing list