Helma logo
helma.org » Home > Stories > FtpClient.cd()

FtpClient.cd()

Changes the working directory on the FTP server.

Syntax
FtpObject.cd(pathString)

Example
var ftp = new FtpClient("ftp.host.dom");
ftp.login("user", "pass");

// use absolute pathname
ftp.cd("/home/users/fred/www");

// change to parent directory
ftp.cd("..");

// use relative pathname
ftp.cd("images");


... comment


Page last modified on 2002-07-16 09:46 by tobi