SwiftyDropBox is the official Swift SDK for integrating with the Dropbox API v2.
Questions tagged [swiftydropbox]
52 questions
0
votes
1 answer
Dropbox SDK request error
I am using the SwiftyDropbox SDK and I am trying to upload an image file in my app but I keep getting the error:
DropboxSDK: error making request to
…

cvrattos
- 51
- 1
- 4
0
votes
1 answer
Dropbox for Swift: Upload a csv file to Dropbox using SwiftyDropbox(cocoapods) not working
I created a small app that creates a CSV file and now I want to upload it to a dropbox folder.
Problem Schema
import SwiftyDropbox
class ViewController: UIViewController {
func myButtonInControllerPressed() {
…

Mesquita.sra
- 3
- 3
0
votes
0 answers
How to get Share link from dropbox in swift
Hey i am try to get the share link from drop box but it only works fro first time second time it through error shared_link_already_exist. please help me to how to get that share link. Thanks For the Help
here is my code
func…

manvir singh
- 23
- 1
- 5
0
votes
1 answer
swiftydropbox and server side use of access token
I am starting to use SwiftyDropbox on my iOS client, and my plan is to get the access token after successful sign-in by the user, and then send that access token to my server-- so it can make use of the users Dropbox. (This makes sense in the…

Chris Prince
- 7,288
- 2
- 48
- 66
0
votes
1 answer
How do i get a text files content with swift and the dropbox API
I'm trying to download a regular .txt file from my dropbox account which i have linked with a token, but i dont know how to get the content.
The only thing ive been able to find is this:
// Download a file
…

Lojas
- 195
- 3
- 13
0
votes
1 answer
How to reconnect app with Dropbox API
I have an iOS app written in Swift which downloads files from the Dropbox. For this purpose I'm using the SwiftyDropbox framework.
If I understand it right, the framework stores the generated access token in a shared memory so the app doesn't have…

altralaser
- 2,035
- 5
- 36
- 55
0
votes
1 answer
Can't invoke "upload" using SwiftyDropbox
I just started iOS development and I'm using the Dropbox API with SwiftyDropbox. I'm trying to upload a text file to dropbox but I'm getting the following error:
Cannot invoke 'upload' with an argument list of type '(path: String)'
Here is my code.…

rustyshackleford
- 692
- 1
- 7
- 22
0
votes
1 answer
How to edit the file in swiftyDropbox?
In my project, I uploaded all my text files to the Dropbox. Here, I need to directly edit the uploaded file in Dropbox using swift. Is it possible to edit files in Dropbox?
(OR) Is it possible to overwrite the same fileName in Dropbox?

Sathish Kumar Gurunathan
- 295
- 1
- 3
- 16
0
votes
0 answers
Uploaded files are not in Dropbox
@IBAction func saveFile(_ sender: Any) {
let client = DropboxClientsManager.authorizedClient
let fileData = "testing data example".data(using: String.Encoding.utf8, allowLossyConversion: false)!
let request = client?.files.upload(path:…

Sathish Kumar Gurunathan
- 295
- 1
- 3
- 16
0
votes
1 answer
Dropbox - IOS- Swift 3 : Cannot get the thumbnail image
I am trying to populate my collection view with images from the dropbox.
I want to have the thumbnail image for my grid view (collection view) with the following code.
DropboxClientsManager.authorizedClient?.files.getThumbnail(path:…

user3804063
- 809
- 1
- 14
- 32
0
votes
1 answer
How should I install dropbox in swift 3.0?
enter image description here
I'm a
beginner for swift.I installed the cocoapods in swift but I couldn't import the SwiftyDropbox.Can anyone give solution for this issue?

Sathish Kumar Gurunathan
- 295
- 1
- 3
- 16
0
votes
1 answer
Detect directory with ObjectiveDropboxOfficial (Dropbox V2 API)
How can you tell if the metadata for a "file" is a directory or file?
I'm using the new V2 dropbox API for Objective-C. I don't see any way to distinguish between a file and directory. I'm expecting a .isDirectory call similar to what was available…

Jim Leask
- 6,159
- 5
- 21
- 31
0
votes
1 answer
What is OSSError -995 and what do I do to fix this? (ios share extension)
I extract path_lower from meta info request for a folder and feed
that into
client.files.listFolder(path: path, recursive: true, includeMediaInfo: true).response({ (files, error) in
I'm getting
OSError: Optional(Error Domain=NSURLErrorDomain…

Anton Tropashko
- 5,486
- 5
- 41
- 66
0
votes
1 answer
Why am I getting a blank screen?
I'm following this tutorial on Github to learn how to use SwiftyDropbox, and I've followed the steps to the point where I should be able to run the app, and I log into Dropbox. However, when I run the app on my phone, I just get a blank screen. Can…

Theodore.K
- 384
- 2
- 7
- 21
0
votes
1 answer
Still getting the error "No such module 'SwiftyDropbox'"
I'm having the same problem as this question . His problem is almost identical to mine. In fact, we're following the same tutorial. However, the answer that solved his problem didn't work for me. I opened up my project via .xcodeworkspace and I'm…

Theodore.K
- 384
- 2
- 7
- 21