s3-upload-sdt-sdk-template/main.py

16 lines
307 B
Python

import sdtclouds3
import time
sdtcloudClient = sdtclouds3.sdtclouds3()
def runAction():
while True:
uploadFile = "./text.txt"
result = sdtcloudClient.uploadData(uploadFile, "")
print(f"Upload URL: {result}")
time.sleep(10)
if __name__ == "__main__":
runAction()