MATLAB Function Reference |
Change current directory on FTP server
Syntax
Description
cd(f
Displays the current directory on the FTP server )
f
, where f
was created using ftp
.
cd(f,'dir
Changes the current directory on the FTP server name')
f
to dirname
, where f
was created using ftp
. After running cd, the object f
remembers the current directory on the FTP server. You can then perform file operations functions relative to f
using the methods delete
, dir
, mget
, mkdir
, mput
, rename
, and rmdir
.
cd
changes the current directory on the FTP server (f,'..')
f
to the directory above the current one.
Examples
Connect to the MathWorks FTP server.
Change the current directory to pub
.
dir(tmw) . bin digest matweb.exe proceedings .. books doc ops product-info INDEX compiler france outgoing tech-support NEWFILES conference ftphelp patch temp admin connections ls-lR pentium utilities beta contrib mathworks pressroom
See Also
cdfread | cdfwrite |
© 1994-2005 The MathWorks, Inc.