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...
Здравко
4 years agoLegendary | Level 20
lucaortis wrote:...
It seems a path problem, but to me the path is fine.
If the path was wrong, then I would not be able to upload or download, instead, I can download and upload just fine....
Hi lucaortis,
You haven't posted the code responsible for upload and download. Are you using in the path there double leading slashes too? 🤔😁😉
Hope this gives direction.
lucaortis
4 years agoExplorer | Level 4
I found this very confusing but I managed to solve it like this:
$testFile = Split-Path $SourceFilePath -leaf
$TargetFilePath="/$testFile"
$arg = '{"path": "' + $TargetFilePath + '"}'
I know it works, but I'm really confused on how the path itself works.
Upload and download code to format PATH are now the same as this.
Thank you!!
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!