ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / FTP functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
FTP functions are as follows:
FTPAttributeIdentifies the attributes of a file located on an FTP server (File Transfer Protocol).
FTPCommandSends a specific FTP command to a server.
FTPConfigureModifies the behavior of standard FTP functions.
FTPConnectConnects the current computer to an FTP server (File Transfer Protocol).
FTPCurrentDirGets or sets the current directory on an FTP server (File Transfer Protocol).
FTPDateReturns the different dates of a file (date the file was created, modified or accessed) located on an FTP server (File Transfer Protocol).
FTPDateTimeReturns the different creation, modification or access dates and times associated with a file located on an FTP server (File Transfer Protocol).
FTPDeleteFileDeletes a file from an FTP server (File Transfer Protocol).
New in SaaS
FTPDirExist
Checks for a directory on an FTP server.
This new function is available from WINDEV Suite SaaS 2025 - Update 3.
FTPDisconnectCloses the connection between the current computer and the FTP server (File Transfer Protocol).
FTPFileExistChecks if a given file exists on an FTP server.
FTPGetTransfers a file or directory from an FTP (File Transfer Protocol) server to the current computer.
FTPGetFileTransfers a file from an FTP (File Transfer Protocol) server to the current computer.
FTPListFileLists the directories or files in a directory located on an FTP server and returns the number of files and/or directories.
FTPMakeDirCreates a directory on an FTP server (File Transfer Protocol).
FTPNameReturns the name of the last file accessed by an FTP function.
FTPProxySpecifies whether the communication functions that use FTP must go through a proxy to run their requests.
FTPRemoveDirDeletes a directory and its content (files and subdirectories) from an FTP server.
FTPRenameFileRenames or moves a file located on an FTP server (File Transfer Protocol).
FTPSendTransfers a file or directory to an FTP server (File Transfer Protocol).
FTPSizeReturns the size (in bytes) of a file located on an FTP server (File Transfer Protocol).
FTPTimeReturns the different creation, modification or access times associated with a file located on an FTP server (File Transfer Protocol).
New in SaaS
FTP functions now handle variables of type ftpConnection containing the different parameters of the FTP connection to be used.
Note: This feature is only available from WINDEV Suite SaaS 2025 - Update 2. For more details, see Using new features exclusive to WINDEV Suite SaaS 2025.
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
WD FTP File Transfer Complete examples (WINDEV): WD FTP File Transfer
[ + ] WD FTP file transfer

This example is a full FTP client allowing you to store several FTP servers. Then, you have the ability to perform multi-file transfers from the local computer to the server or from the FTP server to the local computer. To do so, we are using the standard functions of WLanguage (FTPConnect, etc...)
WM FTP Client Cross-platform examples (WINDEV Mobile): WM FTP Client
[ + ] This example is an FTP Client for Android and iOS.
It explains how to interact with an FTP server via the FTP functions of WLanguage.
It is used to:
- Rename files
- Delete files
- Create folders
- Download files
- Send files to the server
The FTP functions Unit examples (WEBDEV): The FTP functions
[ + ] This example presents the main FTP functions of WEBDEV and it allows you to:
- Connect to an FTP server
- List the files and directories found on the FTP server
- Retrieve the files found on the FTP server
- Disconnect from an FTP server
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/30/2025

Send a report | Local help