Questions tagged [pcloud]

Questions related to integration with pCloud's cloud storage service or interacting with pCloud files programmatically, via the pCloud API or pCloud SDK.

pCloud is a cloud-based application and service for creating and managing cloud storage and files. The service provides an API to add pCloud's functionality in your own application.

Important URLs for the pCloud SDK:

22 questions
3
votes
2 answers

Download files with the pCloud API

I am trying to make friends with the pCloud API, using curl in Bash, Once I create a pCloud app and get its $clientid and $clientsecret, I can obtain a temporary access token accepting the request at: echo…
antonio
  • 10,629
  • 13
  • 68
  • 136
2
votes
2 answers

How can I upload a file to a pCloud folder using python?

Files only upload to the root folder: from pcloud import PyCloud pc = PyCloud('username','password') pc.uploadfile(files = ['pics\\img.png']) I couldn't find any arguments like destination or dest.
2
votes
1 answer

RCLONE : Invalid 'access_token' with pCloud

I'm trying to use rclone with pCloud storage service. I have folowed these steps: https://rclone.org/pcloud/ https://rclone.org/remote_setup/ The configuration file looks this at the end of the process: [remote] type = pcloud token =…
TooNetCreation
  • 159
  • 1
  • 3
  • 17
1
vote
1 answer

Pcloud api uploadtolink Error: "Invalid 'code' provided."

Hi I try to upload to pcloud to one of my public folders. If i try to access in Firefox: https://api.pcloud.com/uploadtolink?code=CodeOfMyFolder I get back: { "result": 2012, "error": "Invalid 'code' provided." } I use the code from share link from…
Kait
  • 21
  • 1
  • 2
1
vote
0 answers

Connection hangs when sending large file using io.Pipe to pCloud

I have a weird issue with this code: func PrepareFileUpload(filePath, url string) (*http.Request, error) { pr, pw := io.Pipe() mpw := multipart.NewWriter(pw) go func() { defer pw.Close() part, err :=…
tsubus
  • 240
  • 2
  • 9
1
vote
1 answer

Mac OS X 10.9.5, Spotlight and pCloud

I have a pCloud drive mounted under /Users/me/pCloud Drive. Some of the folders are locally synced under /Users/me/pCloud Local. There are several PDF files that have been OCR'ed and they are perfectly indexed if I save them in e.g.…
ballatom
  • 43
  • 1
  • 1
  • 7
1
vote
0 answers

JSON + PHP - Cant get a valid download/streaming link

I wanna get a functional download/videostreaming link, i'm trying this through Openload and pCloud API, but I always getting error when I put my script in anywhere outside my localhost. My pCloud code is:
1
vote
1 answer

Can't Access to API using jQuery

I am using pCloud Api to get download link form the request. It is a GET request. When I request form browser I can get a response. But when I use jQuery I get a response code result : 7010 Api Request URL :…
JaTurna
  • 194
  • 14
1
vote
1 answer

PCloud Api Uploadfile with python

I have tried to upload a file with pcloud (https://api.pcloud.com/uploadfile?) using this URL: https://api.pcloud.com/uploadfile?username=myemail&password=mypassword&path=/&filename=myfile But I get the following error: { "result": 0, …
cumulus13
  • 96
  • 2
  • 11
0
votes
0 answers

About using pcloud API using access token

I'm currently studying the pCloud API and have a couple of specific questions regarding its usage: Use the userinfo API with access token and I get an instant correct response. import requests account_url =…
Sunu B
  • 1
0
votes
0 answers

Use of pcloud API using access token

I'm currently studying the pCloud API and have a couple of specific questions regarding its usage: Q1. Use the userinfo API with your access token and you'll get an instant response. import requests account_url =…
Sunu B
  • 1
0
votes
0 answers

Inquiry about using pcloud API using access token

I'm currently studying the pCloud API and have a couple of specific questions regarding its usage: Q1. Use the userinfo API with your access token and you'll get an instant response. import requests account_url =…
Sunu B
  • 1
0
votes
0 answers

pCloud API autentification procedure to upload/download files

I'm trying to automate an upload process to pCloud. I already have a pCloud "App" with client ID and client Secret with All permissions (read, write, create, modify) and Allow implicit grant allowed with URI to http://localhost:65432/. All my API…
0
votes
0 answers

How can I download a file from a pCloud folder using python?

I want to download a file from a pCloud folder using python with pycloud module My code is : from pcloud import PyCloud pc = PyCloud('email',…
0
votes
0 answers

Problem with Guzzle Client unable to keep same session

I am currently developing a library to call the pCloud API. So far I've been able to do what I wanted to do, but I happen to have a problem with the http client (Guzzle, Curl). I would like to use the "fileops" methods to download a file by chunk.…
1
2