in reply to LWP file upload question

You say, "On the web server the file is created but no data is written." ... which file? upload.log? c:\upload\$client.txt? Or $file? It looks like you don't close the filehandle to $file ... Just a guess.

Plankton: 1% Evil, 99% Hot Gas.

Replies are listed 'Best First'.
Re^2: LWP file upload question
by tcox (Novice) on Aug 18, 2004 at 14:36 UTC
    The c:\upload\$client.txt file is created but no data is written. I have the close(FH) at the end which is the c:\upload\$client.txt filehandle.
    The upload.log file is written and saved without any problems. In response to the first reply the error.log file says "Premature end of script headers."