Create, upload, and share
Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.
I try to set a file as ignored for sync. The problem is the file does not have an extension. When I try
Set-Content -Path 'C:\Users\yourname\Dropbox(Personal)\YourFileName' -Stream com.dropbox.ignored -Value 1
I'll get an error:
Set-Content : Could not open the alternate data stream 'com.dropbox.ignored' of the file 'C:\Users\yourname\Dropbox(Personal)\YourFileName'.
At line:1 char:1
+ Set-Content -Path 'C:\Users\yourname\Dropbox(Pers...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-Content], FileNotFoundException
+ FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.SetContentCommand
Hi Jay, thank you for the quick reply. It seems I've found the culprit - the file in question had the read-only attribute. After changing that, even no extension doesn't pose an issue.
Hi @thenowak, thanks for bringing this to our attention.
In general, the option to ignore files from syncing would require that they have a file extension. Otherwise, it would seem like you're trying to ignore a folder itself.
Just for clarification, you are amending the filepath in the example you gave for the sake of privacy?
This will help me to assist further!
Jay
Community Moderator @ Dropbox
dropbox.com/support
Did this post help you? If so, give it a Like below to let us know.
Need help with something else? Ask me a question!
Find Tips & Tricks Discover more ways to use Dropbox here!
What do you think about the Community? Fill out our survey here!
Hi Jay, thank you for the quick reply. It seems I've found the culprit - the file in question had the read-only attribute. After changing that, even no extension doesn't pose an issue.
Glad to hear we were able to resolve the issue. If you need any further assistance in the future, please let me know.
Enjoy the rest of your week!
Jay
Community Moderator @ Dropbox
dropbox.com/support
Did this post help you? If so, give it a Like below to let us know.
Need help with something else? Ask me a question!
Find Tips & Tricks Discover more ways to use Dropbox here!
What do you think about the Community? Fill out our survey here!
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on Twitter or Facebook.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!