Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
lucaortis
4 years agoExplorer | Level 4
Can't delete files with powershell
function DropBox-FileDelete {
Param (
[Parameter(Mandatory=$true)]
[string]$SourceFilePath
)
$DropBoxAccessToken = TOKEN HERE
$testFile = $SourceFilePa...
Greg-DB
Dropbox Community Moderator
4 years agolucaortis As Здравко pointed out, you have a double leading slash, which is not a valid path format.
Specifically, you're supplying the path "/Applicazioni/Costumer Manager Files/Ore.txt", but then are adding an extra leading slash when you format it with your code:
$TargetFilePath="/$testFile"
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!