I found this nice article about copying files from one location to another FIXED location.
However this copies but not moves, I cant find any documentation about moving files using ecmascript, but I suppose it should be possible.
Any ideas?
|
I found this nice article about copying files from one location to another FIXED location. However this copies but not moves, I cant find any documentation about moving files using ecmascript, but I suppose it should be possible. Any ideas? |
|||
|
|
|
Replace the line of code - to
It should work. |
|||
|
|
You need to set operation flag instead of boolean variable as the second parameter. For example
here's a link to a full list of possible operations: |
|||
|
|
|
I made the change that you recommended above, 'File.moveTo(_destinationlibUrl, true);' but unfortunately I get the error 'input string was not in a correct format'. Any ideas on what I'm doing wrong? Thanks in advance. Walter |
|||
|
|