Element Details: FTP.Rename
 Back


Available in: Logi Info Source code name: FTP.Rename

Connects to an FTP site and renames the requested file.

Returns an updated copy of the FTP Directory entry for the new file name. The directory entry is an XML DataLayer that can be accessed by any element that supports the EtlElementID attribute.

Columns Returned:
Name = Name of the file.
Date = File date.
Type = File or Directory.
URI = Full URI to the file.
Extension = 3 digit extension associated with the file.
NameOnly = Name of the file without the extension.
Size = Size of the file in bytes.



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
ConnectionID
UserDefined
Specifies a connection to a data source that is defined in the Settings. For elements connecting to relational databases, default is the first Connection element in _settings.lgx.
FtpDirectory
UserDefined
The directory name on the FTP server. If the value is left blank, the system will use the default directory.
FtpFileName
UserDefined
(Required) The name of the file. Wildcards (* and ?) can be used with FTP.Directory and FTP.Download. For example to list all files in a directory leave this blank or use "*.*". To download only XML files that start with an S, use "S*.xml".
ID
UserDefined
(Required) The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.
NewFileName
UserDefined
(Required) Define the new name of the file.



PARENT ELEMENTS

Click element to drill down for more information.

Etl Job
If
If ETL Error If File Exists If Folder Exists


CHILD ELEMENTS

Click element to drill down for more information.



 Back to top


 Chart Debug