Welcome Guest, Not a member yet? Register   Sign In
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!




Theme © iAndrew 2016 - Forum software by © MyBB