NewLibrary Method

Create a new library on the FTP server.

object.NewLibrary(Name[, Type], Description )

Version Support

Obsolete from Version 11.0 onwards. Some older solutions may contain instances of this method. Run the compatibility report to identify any use of this action and remove it from your solution.

TIP:

For solutions that contain obsolete FTP methods (NewLibrary, NewMember or NewPhysicalFile), a potential work-around is to call the Quote method with the host command that is the equivalent of the obsolete method.

Client support

   Newlook Smartclient only.

Arguments

Name – (String, Required)

The name of the new library

Type – (String, Optional)

The type of library to be created. The Type argument may be set to one of the pre-defined Type constants.

Description – (String, Required)

Specifies the description to be applied to the library. If you wish to provide a description it can be typed in here. Otherwise specify the constant FTPLibDescBlank which denotes that the description is deliberately blank.

Applies to

FTP Connection object

See Also

FTPConnect Method | Disconnect Method | Upload Method | ChangeFolder Method | Download Method | NewFolder Method | NewLibrary Method | NewMember Method | NewPhysicalFile Method | Quote Method | Rename Method