FtpClient

Object
   |
   +--FtpClient

Deprecated use {link helma.Ftp} instead

Defined in FtpClient.js



Constructor Summary
FtpClient(<String> server)
            Constructor for File objects, to send and receive files from an FTP server.
 
Methods Summary
 void ascii()
           Sets transfer mode to ascii for transmitting text-based data.
 void binary()
           Sets transfer mode to binary for transmitting images and other non-text files.
 void cd(<String> dir)
           Changes the working directory on the FTP server.
 void getFile(<String> source,<String> dest)
           Transfers a file from the FTP server to the local file system.
 String getString(<String> source)
           Retrieves a file from the FTP server and returns it as string.
 void lcd(<String> dir)
           Changes the working directory of the local machine when being connected to an FTP server.
 Boolean login(<String> username,<String> password)
           Logs in to the FTP server.
 void logout()
           Terminates the current FTP session.
 Boolean mkdir(<String> name)
           Creates a new directory on the server.
 Boolean putFile(<String> dest)
           Transfers a file from the local file system to the remote server.
 Boolean putString(<String> source,<String> dest)
           Transfers text from a string to a file on the FTP server.

Constructor Detail

FtpClient

FtpClient(<String> server)

Method Detail

ascii

void ascii()

binary

void binary()

cd

void cd(<String> dir)

getFile

void getFile(<String> source,<String> dest)

getString

String getString(<String> source)

lcd

void lcd(<String> dir)

login

Boolean login(<String> username,<String> password)

logout

void logout()

mkdir

Boolean mkdir(<String> name)

putFile

Boolean putFile(<String> dest)

putString

Boolean putString(<String> source,<String> dest)


Documentation generated by JSDoc on Thu Apr 5 01:59:00 2007