de en es fr
Let the machine help
Light teasing, exhibition, BDSM, sissyfication, watersports... with sounds and pictures


Post new topic Reply to topic  [ 2 posts ] 
Author Message
 File delete
PostPosted: Fri Mar 27, 2015 11:58 am 
Offline
Veteran
User avatar
Just playing with the option to delete pics from the captured folder after they are uploaded and noticed the delete does not appear to work for me?

Code:
def temp_pic = getImage("Smile !")
if (temp_pic != null {
  setImage(temp_pic)
  new File(temp_pic).delete();
}


do you need to setup something with using the delete or push changes through?

_________________
Liz

You can't take something off the Internet - it's like taking pee out of a pool.
https://play-clan.site profile: Liz


Top
 Profile Send private message 
 
 Re: File delete
PostPosted: Fri Mar 27, 2015 12:58 pm 
Offline
Site Admin
User avatar
No problem for me with this code (except the missing parenthesis)


Top
 Profile Send private message 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010 - 2020
This website uses session cookies only.