
ebloch
Deleted
Aug 15, 2000, 6:13 AM
Post #1 of 3
(131 views)
|
|
Problems uploading a file...
|
Can't Post
|
|
I am having problems uploading a file using this as the main part of my upload code: while ($bytes_read=read($filepath,$buff,2096)) { $size += $bytes_read; binmode WFD; print WFD $buff; } close(WFD); if ((stat $write_file)[7] <= 0) { unlink($write_file); &printError("Could not upload file: $filename"); return; } The error it kicks out is "Could not upload file: <filename>" I was running it on a Netscape Web server with no problems. When I moved it to a different machine with an Oracle Web server I started having problems. Are there problems with the code or are there things that have to be set up with the server for this to work? Thanks! [This message has been edited by ebloch (edited 08-15-2000).]
|