|
|
|
|
|
2. Transferring files via FTP
FTP (File Transfer Protocol) is a protocol for transferring files from one site to another. This protocol allows you to exchange files via TCP/IP or the Internet. To handle files on an FTP server from a WINDEV application, you must follow these rules: - Connect to an FTP server (FTPConnect).
- Send and retrieve files (according to the connection mode). For a passive connection, the WINDEV application must request the authorization from the FTP server before any operation is performed on the server files. You can also:
- get the characteristics of the files located on an FTP server: attributes, size, etc.
- handle files on an FTP server: create, delete...
- list files from a directory located on the FTP server by running a procedure that starts a process for each file found.
- Close the connection to the server (FTPDisconnect).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|