We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
Shushu
4 years agoNew member | Level 2
Corrupted Files using API in PowerShell
Hi All.
I'm using the below code in powershell but for some reason the files get corrupted once they arrived to dropbox folder. If i transfer the file manually there's no issues, the error it'...
Shushu
New member | Level 2
Thanks for your reply.
I'm downloading .tiff files and the size varies 4.9MB, 9MB, 44MB, 106MB, files less than 4MB they get to the dropbox without issues, once the file is at my download folder, i'm changing the file name (Get-ChildItem -Path C:\User\Downloads -Filter *.tiff | Rename-Item -NewName {$Name+ $_.extension}) and then using the API to sent the file over.
Regards.
Greg-DB
4 years agoDropbox Staff
I just tried again with a .tiff file, about 10 MB, and it still worked correctly for me, so it sounds like there's something in your environment not working as expected.
Is there some sort of file size limit or timeout on your network client?
How does the size of the corrupted uploaded file compare to the original file? In what way is it corrupted exactly? Have you inspected the contents?
About Discuss Dropbox Developer & API
795 PostsLatest Activity: 3 days ago
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 or Facebook.
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!