Uploading file to online server through Matlab code

조회 수: 11 (최근 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 CenterFile Exchange에서 Web Services에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by