Closed aaronwolen closed 4 years ago
Interesting that this only happens to me when the target is a folder:
public_dat <- osf_retrieve_node("u5x3r") %>% osf_ls_files(pattern = "Data") public_dat %>% osf_upload(file_name_descriptives, conflicts = "overwrite", verbose = T) Searching for conflicting files on OSF Uploading 1 new file(s) to OSF Error: Cannot complete action: file or folder "latest_descriptives_of_each_variable.csv" already exists in this location HTTP status code 409.
public_dat <- osf_retrieve_node("u5x3r") public_dat %>% osf_upload(file_name_descriptives, conflicts = "overwrite", verbose = T) Searching for conflicting files on OSF Uploading 1 new file(s) to OSF Uploaded new file 'latest_descriptives_of_each_variable.csv' to OSF
public_dat %>% osf_upload(file_name_descriptives, conflicts = "overwrite", verbose = T) Searching for conflicting files on OSF Updating 1 existing file(s) on OSF Uploaded new version of 'latest_descriptives_of_each_variable.csv' to OSF
Created on 2020-02-14 by the reprex package (v0.3.0)