SYS(8010) - FTP data transfer
|Top Previous Next|
Exchanges data with a web server over HTTP.
SYS( 8010, cOperation, cUrl [, cUsername, cPassword [, cData]])
Specifies the FTP operation to be performed. Valid values are:
A valid FTP server address in the form
The Url can point to any server that is reachable from the computer or device. Mobile devices with internet connections, such as cell phones, can send and receive data across the internet. As the transfer uses the FTP protocol, neither the content nor the password are encrypted.
The protocol qualifier (i.e. ftp://) is mandatory.
Specifies the user name that is used to log onto the FTP server. If you omit the user name, Guineu attempts to connect anonymously.
Specifies the user name that is used to log onto the FTP server. Please note that the FTP protocol transfers the password in a readable format.
Contains additional data that is sent with the request.
Returns a string. The meaning of the return value depends on the operation.
Guineu uses passive, binary transfer for any file operations. If you transfer text file to a Linux server you need to convert code pages and line feed character prior to sending the file.
You are not limited to transfer text data. If you want to pass on state information to a VFP application running on a Windows server, you can use SAVE MEMORY to save all current variables. On the backend you can use RESTORE MEMORY to load the variable set into memory. This is especially useful when the remote script executes a query and query parameters have been stored in local variables.
Please note that your service provider might charge you for any internet traffic originating from your cell phone or mobile device. The ability to transfer data over the internet depends on your device, the connection and your service plan.