Hi,

Short answer is: use web2py :-)

I've had similar issue some time ago with collection of pictures.
I defined function (say 'movePictures') which iterate through all
pictures in source directory (other then 'uploads') and used web2py
DAL to insert them into database (and uploads directory) and to link
them with other tables. In that way all files were copied to uploads
with their names changed to uuid automaticaly and I didn't have to
worry about how to name them.
Then I just execute function from browser: [appname]/[controler]/
movePictures and that's it.

Hope it will help,
regards,
Lukasz

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to