Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

mput - Upload file or directory to FTP server

Syntax

mput(f,'filename')
mput(ftp,'directoryname')
mput(f,'wildcard')

Description

mput(f,'filename') uploads filename from the MATLAB current directory to the current directory of the FTP server f, where filename is a file, and where f was created using ftp. You can use a wildcard (*) in filename. MATLAB returns a cell array listing the full path to the uploaded files on the server.

mput(ftp,'directoryname') uploads the directory directoryname and its contents. MATLAB returns a cell array listing the full path to the uploaded files on the server.

mput(f,'wildcard') uploads a set of files or directories specified by a wildcard. MATLAB returns a cell array listing the full path to the uploaded files on the server.

See Also

ftp, mget, mkdir (ftp), rename

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS