Skip to content

Issue with dropbox_get() #6

@BERENZ

Description

@BERENZ

Hi there,

I have problem with dropbox_get function. I have connected to my dropbox and there is no problem using function dropbox_save, but when I want to download csv file, I get an error.

Could you help me with that? I would be very grateful!

library(rDrop)
drop_token<-dropbox_auth('key','secret_key',ssl.verifypeer=FALSE)

Use the Web browser to grant permission to this code
to access Dropbox on your behalf.
When you see 'Success!', hit enter in R
Dropbox authentication completed successfully.

exists.in.dropbox(drop_token,'kgh.csv',ssl.verifypeer=FALSE)
[1] TRUE

df2<-dropbox_get(drop_token,'kgh.csv',ssl.verifypeer=FALSE)

Error in function (type, msg, asError = TRUE)  : 
  SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

db.read.csv do not work either...and I get this error:

Error in fromJSON(OAuthRequest(cred, "https://api.dropbox.com/1/search/dropbox/",  : 
  error in evaluating the argument 'content' in selecting a method for function 'fromJSON': Error in function (type, msg, asError = TRUE)  : 
  SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

I work on Windows 7 64 bit and here is my session.info.

R version 2.15.2 (2012-10-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=Polish_Poland.1250  LC_CTYPE=Polish_Poland.1250    LC_MONETARY=Polish_Poland.1250 LC_NUMERIC=C                   LC_TIME=Polish_Poland.1250    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] rDrop_0.3        stringr_0.6.2    colorspace_1.2-1 Rcpp_0.10.2      plyr_1.8         ROAuth_0.92.0    digest_0.6.2     RCurl_1.95-3     bitops_1.0-5     RJSONIO_1.0-1   

loaded via a namespace (and not attached):
[1] tools_2.15.2

edit:
dropbox_media do not work either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions