• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Temp File Upload

#1
[eluser]ChazUK[/eluser]
Hi,

I was just wondering if it's possible to use the File Uploading Class to store temporary files, and not actually save the files to the server.

This is because I'm building a csv importer for a stats system, and I don't want the files to be stored.

Thanks

#2
[eluser]pistolPete[/eluser]
Have a look at http://ellislab.com/forums/viewthread/107702/.

#3
[eluser]ChazUK[/eluser]
Thanks PistolPete,

I'm currently using $_FILES directly, but I thought I might be able to benefit from using the Upload Class.

I'm doing var_dump($this->upload) after the upload, but it's just returning empty.

#4
[eluser]ChazUK[/eluser]
Sorry I wasn't putting $this->upload->do_upload();

But I don't want to specify an upload directory, because I don't want to upload it!


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.