|
|
|
|
|
- Request to FTP server
- Timeout
- Rights of users
- Required permissions
FTPName (Function) In french: FTPNom Returns the name of the last file accessed by an FTP function. Note: FTPName is particularly useful when browsing files on an FTP server with FTPListFile. New in SaaSA new syntax for manipulating variables of type ftpConnection is available from WINDEV Suite SaaS 2025 - Update 2. New in SaaS
MyFTPConnection is ftpConnection
MyFTPConnection.Server = "192.54.12.8"
FTPConnect(MyFTPConnection)
ResName = FTPName(MyFTPConnection)
Syntax New in SaaS
Getting the name of the last file accessed (connection via the identifier of the connection to the FTP server) Hide the details
<Result> = FTPName()
<Result>: Character string - Name of last file accessed by an FTP function. The file must have been modified by one of the following FTP functions: FTPAttribute, FTPDate, FTPTime, FTPSize, FTPListFile.
- Empty string ("") if an error occurred. To get more details on the error, use ErrorInfo with the errMessage constant.
Remarks Request to FTP server FTPName sends no request to the FTP server. Timeout By default, all the FTP functions fail if the FTP server does not respond within 20 seconds. This time can be modified: - when connecting to the FTP server with FTPConnect (<Timeout> parameter).
New in SaaSwhen defining the parameters of the ftpConnection variable ( Timeout property). Note: This feature is only available from WINDEV Suite SaaS 2025 - Update 2.
Rights of users Only a user who has read rights on the FTP server can get information about the files or the directories located on an FTP server. In most cases, the read rights are granted to the "anonymous" users. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|