mega.py icon indicating copy to clipboard operation
mega.py copied to clipboard

Upload infinite loop

Open qo4on opened this issue 4 years ago • 1 comments

This code does not return anything, I'm getting infinite loop:

from mega import Mega
mega = Mega()
m = mega.login(email, password)
file = m.upload('myfile.doc')
print(file)

This thing does not work also:

# Upload a file to a destination folder
folder = m.find('my_mega_folder')
m.upload('myfile.doc', folder[0])

It finds the folder but goes into a loop in m.upload('myfile.doc', folder[0]).

I found that uploading works very unstable. Sometimes it uploads quickly, sometimes it takes several minutes to upload 500 kB file on a very good internet connection.

qo4on avatar Jul 03 '20 11:07 qo4on

Even I am having trouble. There is no way of knowing the progress of the file upload. And it is taking a lot of time.

abhi1nandy2 avatar Aug 17 '20 13:08 abhi1nandy2