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
ConstantDescriptionUsed by the functions
ftpAccessType of date/time: Date/Time of the last access to the fileFTPDate, FTPTime
ftpActiveModeActive connection to the FTP server.
When transferring files, the client starts the transfer. This type of connection may be refused by some protected FTP servers.
FTPConnect
ftpASCIIModeFile transfer performed in ASCII mode: This mode is used to transfer data between two different types of operating systems, from UNIX to Windows for example: the transferred file is changed into the ASCII format of destination system.FTPSend, FTPGet
ftpBinaryModeFile transfer performed in binary mode: the file received is exactly identical to the file sentFTPSend, FTPGet
ftpConfigureModeSelects the FTP mode. Two modes are available:
  • the functions for FTP management use the "wininet" module of Windows. This mode corresponds to the default operating mode of FTP functions.
  • the functions for FTP management use an module independent of Windows and support the UTF8. Caution: 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
ftpCreationType of date/time: Date/Time of file creationFTPDate, FTPTime
ftpDirectoryElement to find: search performed on the directories onlyFTPListFile
ftpErrorAuthenticationNotifies a connection error caused by an identification problemFTPConnect
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.
This constant corresponds to "ftpesParameterSecureMode" in previous versions.
FTPConfigure
ftpExtendedPassiveModeExtended passive connection to the FTP server (EPSV mode).
When transferring files, the server takes the initiative for the transfer. This type of connection is used to step over some "firewalls".
If the server does not support the extended passive mode (the FEAT command is sent to the server to find out the capacity), the connection is crippled in simple passive mode.
FTPConnect
ftpFileElement to find: search performed on the files onlyFTPListFile
ftpIgnoreExpiredCertificateThe certificate date is ignored.FTPConnect
ftpIgnoreInvalidCertificateThe certificate is ignored.FTPConnect
ftpIgnoreInvalidCertificateNameThe site name specified in the certificate is ignored.FTPConnect
ftpIgnoreRevocationThe certificate revocation is ignored.FTPConnect
ftpModificationType of date/time: Date/Time of the last modification made to the fileFTPDate, FTPTime
ftpPassiveModePassive connection to the FTP server (PASV mode).
When transferring files, the server takes the initiative for the transfer. This type of connection is used to step over some "firewalls".
Remark: If the connection to the server is in IPV6, the connection will be performed in extended passive mode (because the passive mode does not support IPV6).
FTPConnect
ftpPassiveModeIgnoreIPPassive connection to the FTP server (PASV mode).
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
ftpProxyNoneAllows to cancel the use of the FTP proxy.FTPProxy
ftpProxyOpenType of proxy to use: FTP proxy requiring the "OPEN" command.FTPProxy
ftpProxySiteType of proxy to use: FTP proxy requiring the "SITE" command.FTPProxy
ftpProxySOCKS5FTP proxy using the SOCKS5 protocol.FTPProxy
ftpProxyUserSeparateType of proxy to use: FTP proxy requiring the "USER" command and the "PASS" command separately.FTPProxy
ftpProxyUserTogetherType of proxy to use: FTP proxy requiring the "USER" command with the user and the password.FTPProxy
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/22/2024

Send a report | Local help