Questions tagged [file-sharing]

File sharing is the practice of distributing or providing access to digital media, such as computer programs, multimedia (audio, images and video), documents or electronic books.

598 questions
173
votes
8 answers

How to enable file sharing for my app?

I have an image editing app where users can apply effects to photos. How could I enable it so that users can see my app in iTunes in the File Sharing tab and then just drag+drop photos to the app? Some of the eBook readers like Stanza works like…
Proud Member
  • 40,078
  • 47
  • 146
  • 231
158
votes
9 answers

Accessing a Shared File (UNC) From a Remote, Non-Trusted Domain With Credentials

We've run into an interesting situation that needs solving, and my searches have turned up nill. I therefore appeal to the SO community for help. The issue is this: we have a need to programmatically access a shared file that is not in our domain,…
Randolpho
  • 55,384
  • 17
  • 145
  • 179
86
votes
2 answers

Where does IPFS store all the data?

I've been trying to implement and understand the working of IPFS and have a few things that aren't clear. Things I've tried: Implemented IPFS on my system and stored files on it. Even if I delete the files from my system and close the ipfs daemon, I…
Aneesh Kumar
  • 903
  • 1
  • 6
  • 10
19
votes
3 answers

Notification of changes to the iPhone's /Documents directory

We have an app that uses file sharing. UIFileSharingEnable is set etc. and it all seems to work fine, but I'm looking for some sort of notification of when files have been added/deleted on the iPhone side. Can anyone advise? Cheers in advance.
Paul Carruthers
  • 203
  • 2
  • 5
18
votes
4 answers

File sharing not working as expected

I have a file sharing issue where my process is trying to read a log file whilst it is currently still open by NLog. In diagnosing the issue, I found something surprising. The following fails: using (var fileStream1 = new FileStream("test.file",…
Kent Boogaart
  • 175,602
  • 35
  • 392
  • 393
15
votes
2 answers

PeerJS/WebRTC connection fails on rapid chunks transmittion

I'm using PeerJS, but thought that this problem can be about WebRTC in general, hope You can help me out: I'm trying to write a simple peer-to-peer file sharing. I'm using serialisation: "none" for PeerJS connection DataChannel, as I'm sending just…
Max Yari
  • 3,617
  • 5
  • 32
  • 56
14
votes
2 answers

how to programmatically download a public Google Drive file?

I have a backend server that has to download a file on Google Drive that has been shared to public by the owner. Our clients are emailing us the link and we get the link from the email -- no UI is involved. The program needs to get or download the…
user193116
  • 3,498
  • 6
  • 39
  • 58
11
votes
2 answers

Turn a folder into a bundle/package for iTunes file sharing

iTunes File Sharing for iOS apps allows users to pull down folders from apps via syncing to the device but it doesn't allow the reverse and load in directories from a computer to the device. Is there a way to make a in-app folder a bundle/package…
10
votes
2 answers

How do I access a file share programmatically

I have a windows forms app running on a machine that is not on a domain, that needs to be able to move a file from the local filesystem to a UNC path. I have a username and password for that path. I was wondering is there any way to do this directly…
Mykroft
  • 13,077
  • 13
  • 44
  • 72
9
votes
3 answers

Docker-desktop for MacOs can't add /usr/local folder in Preferences/File-Sharing

I'm using Docker Desktop vrs 2.1.1.0 (edge channel) on Mac Os Mojave. I need to include a file from /usr/local folder, as shared file in Docker's preferences, but the /usr folder is not displayed while browsing the folders. The option to write the…
8
votes
7 answers

Create 2 FileStream on the same file in the same process

I'm trying to create a temporary file that will be automatically deleted. stream = new FileStream( tmpFilePath, FileMode.OpenOrCreate, FileAccess.ReadWrite, FileShare.ReadWrite, 4096, …
Serge Weinstock
  • 1,235
  • 3
  • 12
  • 20
8
votes
1 answer

Gmail error "Unable to attach file"

I am trying to email PDF file using Gmail. However, Gmail app is showing toast: Unable to attach file PDF file is not-corrupt and is generated successfully in application's cache directory. Code: (Please comment below if you need code in Java.): …
8
votes
4 answers

Creating a P2P / Decentralized file sharing network

I was wondering where I could learn more about decentralized sharing and P2P networks. Ideally, I'd like to create something to help students share files with one another over their universities network, so they could share without fear of outside…
Parker
  • 8,539
  • 10
  • 69
  • 98
8
votes
2 answers

Vista UAC - Trouble Mapping Network Drives

We have an application that programmatically maps network drives. On Vista with UAC on, we get some strange issues. Our application maps the drive non-elevated, so if the user browses explorer and double clicks to run an exe, it prompts for UAC. …
jonathanpeppers
  • 26,115
  • 21
  • 99
  • 182
8
votes
6 answers

iOS: filesharing without iTunes?

I develop an enterprise application for iOS and the user should be able to add files from the desktop to the application. I implemented this using filesharing, which works great. Now this company wants to get rid of iTunes from their machines (which…
Mat
  • 4,281
  • 9
  • 44
  • 66
1
2 3
39 40