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
ConstantDescriptionUsed by
ftpAccessDate/time type: Date and time the file was last accessedFTPDate, FTPTime
ftpActiveModeActive connection to the FTP server.
In this mode, the client initiates the data connection. This type of connection may be refused by some protected FTP servers.
FTPConnect,
New in version 2025
ftpConnection type
ftpASCIIModeFile transfer in ASCII mode. This mode is used to transfer files between different operating systems, e.g. UNIX to Windows. The file is delivered in the ASCII format used by the receiving system.FTPSend, FTPGet
ftpBinaryModeFile transfer in binary mode. In this mode, the file received is strictly identical to the file sentFTPSend, FTPGet
ftpConfigureModeSelects the FTP mode. Two modes are available:
  • FTP functions use the Windows "wininet" module. This is the default operating mode for FTP functions.
  • FTP functions support UTF-8 and use a module independent from Windows. Note: In this mode, FTPCommand is not supported.
FTPConfigure
ftpConfigureReuseConnectionForces the use of the same FTP server connection between two requests. Two modes are available:
  • The client/application opens a connection each time it sends a command, then closes it immediately.
  • The client/application opens a connection when it sends the first command, and keeps this connection open as long as the server and client are exchanging data. After a given period of inactivity, the connection is automatically closed.
FTPConfigure
ftpCreationDate/time type: File creation date/timeFTPDate, FTPTime
ftpDirectorySearch for directories onlyFTPListFile
ftpErrorAuthenticationIdentifies a connection error due to an authentication errorFTPConnect
ftpesConfigureSecureModeChanges FTPES encryption. Two modes are available:
  • SSL encryption is applied to FTP data and commands. This is the default mode for functions in FTPES.
  • SSL encryption is applied only to FTP commands. This mode may be required for some FTPES servers.
In previous versions, this constant corresponds to "ftpesParameterSecureMode".
FTPConfigure
ftpExtendedPassiveModeExtended passive connection to the FTP server (EPSV command).
In this mode, the server initiates the data connection. This type of connection allows you to bypass some firewalls.
If the server does not support the extended passive mode (the FEAT command is sent to the server to get its capabilities), the connection is downgraded to simple passive mode.
FTPConnect,
New in version 2025
ftpConnection type
ftpFileSearch for files onlyFTPListFile
ftpIgnoreDeprecatedIgnores errors related to the use of deprecated algorithms (e.g. SHA-1 certificate signature).FTPConnect,
New in SaaS
ftpConnection type
ftpIgnoreExpiredCertificateIgnores the certificate date.FTPConnect,
New in SaaS
ftpConnection type
ftpIgnoreInvalidCertificateIgnores the certificate.FTPConnect,
New in SaaS
ftpConnection type
ftpIgnoreInvalidCertificateNameIgnores the site name specified in the certificate.FTPConnect,
New in SaaS
ftpConnection type
ftpIgnoreRevocationIgnores certificate revocation.FTPConnect,
New in SaaS
ftpConnection type
ftpIgnoreUnsafeRenegotiationIgnores the error indicating that the server does not support secure renegotiation (RFC 5746).FTPConnect,
New in SaaS
ftpConnection type
ftpModificationDate/time type: Date and time the file was last modifiedFTPDate, FTPTime
ftpPassiveModePassive connection to the FTP server (PASV command).
In this mode, the server initiates the data connection. This type of connection allows you to bypass some firewalls.
Note: If the connection to the server is established using IPV6, then the connection will be made in extended passive mode (passive mode does not support IPv6).
FTPConnect,
New in version 2025
ftpConnection type
ftpPassiveModeIgnoreIPPassive connection to the FTP server (PASV command).
When transferring files in passive mode, the server sets the port and IP address for data transfer. With this parameter, only the port is taken into account. The IP address is ignored.
This type of connection allows the use of FTP servers that return non-routable IP addresses but are reachable via the connection IP address
FTPConnect,
New in version 2025
ftpConnection type
ftpProxyNoneAllows to cancel the use of the FTP proxy.FTPProxy
ftpProxyOpenType of proxy to be used: FTP proxy requiring the "OPEN" command.FTPProxy
ftpProxySiteType of proxy to be used: FTP proxy requiring the "SITE" command.FTPProxy
ftpProxySOCKS5FTP proxy using the SOCKS5 protocol.FTPProxy
ftpProxyUserSeparateType of proxy to be used: FTP proxy requiring the "USER" and "PASS" commands.FTPProxy
ftpProxyUserTogetherType of proxy to be used: FTP proxy requiring the "USER" command with a username and a password.FTPProxy
New in SaaS
ftpSSLRequiredForAll
Changes encryption to FTPES. SSL encryption applies to FTP data and commands. This is the default mode for functions in FTPES.
New in SaaS
ftpConnection type
New in SaaS
ftpSSLRequiredForControl
FTPES ecnryption: SSL encryption applies only to FTP commands. This mode may be required for some FTPES servers.
New in SaaS
ftpConnection type
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/13/2025

Send a report | Local help