mega.py
mega.py copied to clipboard
Does not provide a public link to the file
The second line of this code did not display a link in the terminal
m.get_upload_link(file)
Hey, Super late response and hopefully you've sorted it out yourself, have you tried this?
You need to assign it to a variable and then print the variable to display it in console:
file = m.upload('path_to_file')
linkname = m.get_upload_link(file)
print (linkname)