Hi everybody,
I don’t know if I am missing something obvious but how can you rename a file (other than copying it and deleting the original?)
Hi everybody,
I don’t know if I am missing something obvious but how can you rename a file (other than copying it and deleting the original?)
File::moveFileTo() (see the API docs)
Rail
File::moveFileTo
Move and rename are the same operation more or less for the operating system
Nice one, thanks (I somehow overlooked it)