Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {do: [
- {ask: "Enter file name: ",
- type: "file"},
- {fetchFile: {showProgress: "progress_bar"},
- reportInterval: 1.0},
- {spawn: {withRetry: {uploadToDropbox: {user: "cat", password: "meow"}},
- maxTries: 5,
- onfail: {do: [
- {deleteTempFiles: null},
- {ask: "Dropbox upload failed. Try again?",
- type: "yes/no",
- yes: {retry: true},
- no: {raise: "Give up"}}
- ]}}},
- {cacheInLocalStore: "prefix"},
- {showInElement: "element_id"}
- ]}
Add Comment
Please, Sign In to add comment