PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Internet browser
  • Disconnection time-out
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
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.
Versions 18 and later
Linux This function is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
New in version 18
Linux This function is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Linux This function is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Example
WEBDEV - Server codeAjax
// Connection to an FTP server
nConnection is int
nConnection = FTPConnect("192.108.10.2")
...
// Disconnection
FTPDisconnect(nConnection)
Syntax
<Result> = FTPDisconnect(<Connection identifier>)
<Result>: Boolean
  • True if the disconnection was performed,
  • False if an error occurred. ErrorInfo returns more details.
<Connection identifier>: Integer
Connection identifier, returned by FTPConnect.
PHP This parameter is a Variant parameter.
Remarks
WEBDEV - Server codeAjax

Internet browser

FTPDisconnect requires Internet Explorer version 3 or later.

Disconnection time-out

By default, all the FTP functions fail if the FTP server does not respond within 20 seconds. This timeout can be modified by FTPConnect when connecting to the FTP server.
Related Examples:
The FTP functions 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
Component : wd250com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Video FtpDisconect
https://youtu.be/p1pXWdC5rgs
amarildo
26 Oct. 2018