in reply to Re: CGI file upload: Print to filehandle vs move file
in thread CGI file upload: Print to filehandle vs move file

I don't want to check the contents of the file at the upload stage for two reasons:

  1. These files are quite large and it would take too long to do the kind of checks that I do need to do with them
  2. The uploaded files are processed by a back-end script asynchronously (on a remote cluster actually). At that stage, the files are checked and the user gets feed back if there was something wrong with them.
Therefore moving the file seems the obvious solution but I was wondering why this is never mentioned in any of the tutorials I've seen so far.

  • Comment on Re^2: CGI file upload: Print to filehandle vs move file