79497498

Date: 2025-03-10 09:08:14
Score: 3
Natty:
Report link

This comment by aeroxr1:

you can also call sourceFile.renameTo(newPath)

– aeroxr1

Commented Nov 12, 2020 at 11:03

Please see Reliable File.renameTo() alternative on Windows?

I just had this issue, where renameTo did not work in an Azure deployment. I tried moving a file from a mounted (SMB) folder to a local folder. Apparently, people have issues with it on windows too.

Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tamás