Encerrado

Perl File Copy problem

The following problem is occuring on a FreeBSd server with perl 5.6

Source file is a PDF file of 39631 bytes.

A CGI script copies the file to a work file..

The resultant file is 43815 + or - bytes long - never a consistant size ??

This occurs using both a system call, backtick or File::Copy,

and some how grown file copy routines from usenet.

The unix cp command copies the file exactly.

Is there some binary mode problem here?

I'm at a loss as to how to copy this file so it remains the exact same size as the source file 'ala unix cp' .

I have never encountered this before.

Stephen

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.

3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).

## Platform

Perl 5.6.x on FreeBSD

Habilidades: Engenharia, MySQL, Perl, PHP, Arquitetura de software, Teste de Software

Ver mais: code binary, binary work, binary problem, binary explained, binary code explained, ala, file binary, copy exact, perl request, php call cgi, freebsd source, source file, pdf work file, pdf file code, usenet script php, run binary file perl, perl unix, binary file, run program copy, code pdf file, freebsd source code, pdf form cgi, cgi script pdf form, binary pdf file, binary pdf

Acerca do Empregador:
( 136 comentários ) United States

ID do Projeto: #3055187