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

16 lines
307 B
Python
Raw Normal View History

2024-03-05 08:42:25 +00:00
import sdtclouds3
import time
2024-03-05 08:43:47 +00:00
sdtcloudClient = sdtclouds3.sdtclouds3()
2024-03-05 08:42:25 +00:00
def runAction():
while True:
uploadFile = "./text.txt"
2024-03-05 08:43:47 +00:00
result = sdtcloudClient.uploadData(uploadFile, "")
print(f"Upload URL: {result}")
2024-03-05 08:42:25 +00:00
time.sleep(10)
if __name__ == "__main__":
runAction()