如何将智能设备中的图像或 PDF 文件上传到服务器上的特定文件夹?
2 回答
0
You could create a Procedure object that receives an Image (images only) or a BlobFile (for any file type).
This Procedure will be exposed as a REST service when called from a mobile app, and the file upload will be performed automatically.
Then, with the image or PDF file already in the server, you can move it to the folder you want.
于 2020-10-22T15:28:38.123 回答
0
回答太晚了,但我最近遇到了这个问题,并通过将图像转发给程序并作为 blob 数据类型接收来解决。
接下来我做了以下事情:
parm(in:&blob)
&File.Source = &blob.ToString()
&File.Copy('path/to/file.jpeg')
&HTTPClient.AddFile('path/to/file.jpeg')
希望它仍然为您服务
于 2021-10-08T15:00:32.710 回答