Skip to content

error opening file because there is no such file #55

@cikcoh

Description

@cikcoh

HI, i tried to upload my file to cloud server using filetransfer.upload(); and it returns the error

Error opening file file:///private/var/mobile/Containers/Data/Application/E42EB84C-7664-416A-B6D0-AB9175B3593B/tmp/com.oas.MyJiranV1-Inbox/testfile.pdf: Error Domain=NSCocoaErrorDomain Code=260 "The file “testfile” couldn’t be opened because there is no such file."

is it because it is stored in the temp folder?

I noticed in the console, the actual path is actually:
picked URL file:///private/var/mobile/Containers/Data/Application/D25F57DC-CB24-41B2-BCEA-BB31B2504572/Documents/testfilepdf with the Inbox copy file:///private/var/mobile/Containers/Data/Application/E42EB84C-7664-416A-B6D0-AB9175B3593B/tmp/com.oas.MyJiranV1-Inbox/testfile.pdf

do i have to copy it to a folder to be able to upload it?

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