Closed jfmmm closed 7 years ago
Hi, jfmmm. rename is available after v2.0.1, so please check your current version of socket.io-file. Or if you already using it, could you paste your code that using or related with Socket.io-file? It is hard to figuring out what is the problem without specific details :)
Yeah no I have 2.0.1, but I found why..
I just assumed that I could just pass a string to the rename option like rename: "myNewFilename.xls"
.. didn't realize it had to be a function.
Oh, I didn't thought about that passing new filename directly. I will add plain string support for rename option.
Hey :) I just updated to support string rename option. Make sure update Socket.io-file to latest version! Thanks!
There a bug when you use the rename option.