Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload it's empty #265

Open
Coday-meric opened this issue Apr 29, 2021 · 4 comments
Open

Upload it's empty #265

Coday-meric opened this issue Apr 29, 2021 · 4 comments

Comments

@Coday-meric
Copy link

Coday-meric commented Apr 29, 2021

import owncloud

oc = owncloud.Client('http://cloud.testestestest.fr/')

oc.login('+++++++', '++++++')

try:
    oc.mkdir('testdir')
except:
    pass

oc.drop_file('/home/aymeric/Codage/AEVE-REC-API/app/test.txt')

Hello, my file is upload with succes but in my nextcloud it's empty. Yet there is local content
Thanks you

@benedikt-bartscher
Copy link

same here, i got lots of empty uploads. sometimes it works, sometimes it does not

@NothingCtrl
Copy link

NothingCtrl commented Mar 8, 2022

Do you server run with https?

@Coday-meric
Copy link
Author

Yes my nextcloud server run with https

@NothingCtrl
Copy link

So, I think you need change this oc = owncloud.Client('http://cloud.testestestest.fr/') to oc = owncloud.Client('https://cloud.testestestest.fr/')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants