ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / FTP functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Standard FTP functions
The following functions are used to manage FTP:
FTPAttributeIdentifies the attributes of a file found 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).
FTPCurrentDirIdentifies or modifies 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 dates and times (creation, modification or access) associated with a file found on an FTP server (File Transfer Protocol).
FTPDeleteFileDeletes a file from an FTP server (File Transfer Protocol).
FTPDisconnectCloses the connection between the current computer and the FTP server (File Transfer Protocol).
FTPFileExistChecks the existence of a file 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 files (and/or the directories) found in a directory of an FTP server and returns the number of listed files (and/or directories).
FTPMakeDirCreates a directory on an FTP server (File Transfer Protocol).
FTPNameReturns the name of last file accessed by an FTP function (File Transfer Protocol).
FTPProxySpecifies whether the communication functions that use the FTP protocol must go through a proxy to run their requests.
FTPRemoveDirDeletes a directory and its content (files and sub-directories) from an FTP server (File Transfer Protocol).
FTPRenameFileRenames or moves a file found 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 found on an FTP server (File Transfer Protocol).
FTPTimeReturns the different times (creation, modification or access) associated with a file found on an FTP server (File Transfer Protocol).

Android Caution: The FTP functions cannot be used in the Android emulator.
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: 06/22/2023

Send a report | Local help