Uploading file to online server through Matlab code

5 ビュー (過去 30 日間)
Eric Zhao
Eric Zhao 2017 年 7 月 17 日
コメント済み: Eric Zhao 2017 年 7 月 20 日
Hi, How to upload a file to an online address through matlab code? For example, I would like to upload f1.pdf to an online address called http://mofdms/sites/GMA/Home/Macro/2017/. Thanks!

回答 (1 件)

Harsh
Harsh 2017 年 7 月 20 日
This is possible using FTP. After connecting to an FTP server by calling the MATLAB FTP function , the resulting FTP object can be used with mput to upload files or folders to the FTP server.
As a side note, if you would like to write data to a RESTful web service, you can use webwrite.
  1 件のコメント
Eric Zhao
Eric Zhao 2017 年 7 月 20 日
Is it possible to upload pdf using webwrite? Also how to specify that options? Thanks!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeInstallation についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by