Passive Mode FTP in MATLAB

版本 1.1.0.0 (10.5 KB) 作者: Idin Motedayen
These files allow users to use passive mode FTP in MATLAB.
6.8K 次下载
更新时间 2010/12/29

查看许可证

编者注: This file was selected as MATLAB Central Pick of the Week

FTP clients working behind a firewall often use a passive mode FTP connection to the server to avoid issues with their firewall. MATLAB's ftp object does not have passive mode capability. The attached files modify this MATLAB class to allow for this functionality. These files simply use the Java methods available in the FTPClient Java class used by MATLAB.

See installation instructions in the README file.

Files/functionss added:
PASV(FTP)
ACTIVE(FTP)
dataMode(FTP)

Files modified:
@ftp/ftp.m
@ftp/private/connect.m

Update: December 29, 2010
- Updated install instructions allow this FTP class to work seamlessly with the MATLAB Compiler (original files will also work with Compiler if the new install instructions are followed).
- Improved the object to preserve connection mode (active/passive) if connection to host is lost and then reconnected.
- Updated files to use the R2010a version of FTP class.
- Tested with MATLAB R2010a and R2010b.

Archive:
Original submission created in/for MATLAB R14SP1 is included as passiveFTP_old_version.zip

引用格式

Idin Motedayen (2024). Passive Mode FTP in MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/6626-passive-mode-ftp-in-matlab), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R14SP1
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Environment and Settings 的更多信息
致谢

启发作品: F10.7 Solar Flux & Ap Indices

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

- Updated to use R2010a version of FTP class.
- New install instructions to work with MATLAB Compiler
- New object preserves data connection mode (passive/active) after the connection is lost and then recovered.

1.0.0.0