Comments (1)
Update: I think I might have found the cause, and it's a weird one. In the course of testing my app, I will usually have MacOS's Finder window open to the root directory of my Samba share where I am testing the various file operations of my app such as uploading, renaming, deleting, and so on, just so I get instant feedback and make sure that they went well. As it turns out, for some reason, having the MacOS Finder window open, and looking at a share, delays at least the deleting operation from occurring. And only on newly added files. A very specific edge case I know. I have tested this a few times with the Finder window open and closed in combination with a SSH terminal and the good ol' fashion ls
command to verify that the file was deleted, and each time the window was open, there would be a large delay, and each time it was closed, there wouldn't. I don't know if this is an issue with the framework or MacOS's implementation of the SMB protocol, but I am leaning towards the latter given how strange it is. I am going to leave this open just for the time being and continue working on my app since there will most certainly be many more deletions, and set up something that will notify me if the file sticks around any longer than it should, and if it does, I'll know that this is all just a strange coincidence. If in about a week, it hasn't occurred, I'll close this issue.
from amsmb2.
Related Issues (20)
- listShares error HOT 1
- Xcode compile for iOS target with swift package HOT 9
- iOS 15 fails with STATUS_LOGON_FAILURE HOT 4
- Multiple file upload HOT 3
- SPM Support HOT 5
- can someone know how to fix this HOT 1
- Upload the file keeping the original creation date HOT 1
- Cannot obtain data from Windows shares HOT 1
- Cannot extract data, move, download, copy; etc. from Linux or Windows shares with latin characters in file name HOT 8
- Which thread does amsmb2 run on HOT 1
- Connect to a Distributed File System-Namespaces HOT 1
- Uploading a folder HOT 1
- import AMSMB2 to xCode HOT 1
- macOS arm64 architecture missing HOT 2
- No such module 'SMB2' HOT 1
- Struct smb2_context has removed member is_connected for the latest libsmb2? HOT 1
- Need support for M1 iphone simulator "arm64-apple-ios-simulator" HOT 1
- Build error: unsafe build flags HOT 7
- Intel x86_64 support does not work ? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amsmb2.