Closed hellojags closed 4 years ago
I believe you have this option already. It's just a default param
def UploadFile(path, opts=None):
but you can pass in your own options if you want.
Please close this issue if this is sufficient for your requirements.
Tested with latest SiaSkynet package and it worked fine.thanks you PJ
It will be helpful if app developer gets an option to overwrite "default portal endpoint" in sdk '': 'https://siasky.net', 'portalUploadPath' : '/api/skyfile', 'portalFileFieldname' : 'file', 'customFilename':''