Den 13/07/2010 kl. 13.34 skrev The Danny Bos:
>
> Good point re: if I can upload it to tmp, surely I can delete it. I'll
> give that another crack.
>
> Kenneth,
> It doesn't delete it from tmp by default in my case, which is why
> they're on my back. Turned out there were 40,000 files in there,
On Tuesday 13 July 2010 17:04:08 The Danny Bos wrote:
> Good point re: if I can upload it to tmp, surely I can delete it. I'll
> give that another crack.
>
> Kenneth,
> It doesn't delete it from tmp by default in my case, which is why
> they're on my back. Turned out there were 40,000 files in the
Good point re: if I can upload it to tmp, surely I can delete it. I'll
give that another crack.
Kenneth,
It doesn't delete it from tmp by default in my case, which is why
they're on my back. Turned out there were 40,000 files in there, they
were a bit pissy.
My script that saves it where I defin
On Tuesday 13 July 2010 16:48:31 The Danny Bos wrote:
> Yeh, understood. It's saving a copy of the file to the directory set
> by "upload_to", which is where I'm getting the file to push toward S3.
> But alongside this it seems to be storing a copy of the file in the
> servers '/tmp' directory, thi
Yeh, understood. It's saving a copy of the file to the directory set
by "upload_to", which is where I'm getting the file to push toward S3.
But alongside this it seems to be storing a copy of the file in the
servers '/tmp' directory, this is the step I need to skip or similar.
I'm getting my ass ki
Den 13/07/2010 kl. 13.06 skrev The Danny Bos:
> I can't get access to the servers own tmp path, only my own "/home/
> 72999/data/tmp" which the file isn't saving to.
If you can't get access to /tmp, how did the files get there in the first place?
Erik
smime.p7s
Description: S/MIME cryptographi
I think that if python can save in /tmp you can remove it... Can you test in
a simple python script if you can remove a file owned by you in /tmp?
On Tue, Jul 13, 2010 at 13:06, The Danny Bos wrote:
> I can't get access to the servers own tmp path, only my own "/home/
> 72999/data/tmp" which the
I never used Django with S3 but the upload_to is a folder inside the folder
referenced by the MEDIA_ROOT setting.
Atenciosamente,
Vinicius Mendes
Solucione Sistemas
vinic...@solucione.info
On Tue, Jul 13, 2010 at 8:06 AM, The Danny Bos wrote:
> I can't get access to the servers own tmp path, o
I can't get access to the servers own tmp path, only my own "/home/
72999/data/tmp" which the file isn't saving to.
Madness.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To
Can't you erase the /tmp file after use it?
os.remove(path)
On Tue, Jul 13, 2010 at 12:11, The Danny Bos wrote:
>
> Forgot to mention, my files are all under 20k.
> Very small JPGs.
>
> Cheers,
>
> Danny
>
> --
> You received this message because you are subscribed to the Google Groups
> "Djang
Forgot to mention, my files are all under 20k.
Very small JPGs.
Cheers,
Danny
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
d
Hey there,
Is there any way to skip saving a file to the /tmp directory on a
server?
I got in a lot of trouble from my host when they found 10,000 files
just sitting there from a Django script I'd been running to import
book covers from an API.
So far, the guts of my save code are:
Save the file
12 matches
Mail list logo