July 27, 20169 yr Is there a good way to rename files? And did the behavior of SCMove() change recently. A few months ago, I was testing using SCMove() to rename a file SCMove by using the same filepath for the old and new paths, but adding a filename parameter SCMove ( filepath ; filepath ; new.filename ). I thought I had it working ok. I let the project sit for a couple months and just came back to it and now it's not working. I'm second guessing myself that I ever had it working in the first place. But it looks like SCMove() may have changed, now accepting key/value pairs rather than just a filename. I've tried it both the old way and with filename= and neither works. My goal is to rename the file. Is there a better approach? Related for my purposes...does SCMove() delete the old filepath's folders? Or are they still there in the filesystem? Thanks! Edited July 27, 20169 yr by David Jondreau
July 27, 20169 yr The SuperContainer functions have no changed for a long time. You can view plugin documentation here: http://static.360works.com/plugins/SuperContainer/plugin-documentation.html In the case of changing the file name, I think you're looking for "filename=New Filename.txt" as your third parameter.
Create an account or sign in to comment