|
|
|
|
|
- Timeout
- Required permissions
FTPDisconnect (Function) In french: FTPDéconnecte Closes the connection between the current computer and the FTP server (File Transfer Protocol). This connection was established by FTPConnect. New in SaaSA new syntax for manipulating variables of type ftpConnection is available from WINDEV Suite SaaS 2025 - Update 2. Syntax
<Result> = FTPDisconnect(<FTP connection>)
<Result>: Boolean - True if the disconnection was performed,
- False if an error occurs. ErrorInfo returns more details.
<FTP connection>: Integer or ftpConnection variable - Connection identifier, returned by FTPConnect.
New in SaaSName of the ftpConnection variable that corresponds to the FTP connection used. Note: This feature is only available from WINDEV Suite SaaS 2025 - Update 2.
Remarks 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.
Related Examples:
|
Unit examples (WINDEV): The FTP functions
[ + ] Using the main FTP functions of WINDEV: - Connect to a FTP server - List the files and directories found on the FTP server - Retrieve the files found on the FTP server - Disconnect from a FTP server
|
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|