【发布时间】:2019-12-12 03:54:48
【问题描述】:
我正在上传多个文件,我有 Python 代码来收集文件名和 URL,下一部分是在 Dropbox 中上传文件。但似乎只有第一个文件正在上传。
我想我遗漏了一些东西,当 Dropbox 在 zapier 中的这个 python 代码之后运行时,预期的行为是上传这两个文件?
Python(Zapier 中的第 2 步):
files = [
{'file_name': 'file_one.doc', 'file_url': 'https://www.file.com/example1'},
{'file_name': 'file_two.doc', 'file_url': 'https://www.file.com/example2'}
]
return files
Dropbox(Zapier 中的第 3 步): 使用 file_name 和 file_url
【问题讨论】: