<ftp_putfile> Uploads file from local machine to a remote FTP server.


Command Tree:   Internet  \  FTP   \  Upload File
.
Syntax:   <ftp_putfile>("LocalFile", "RemoteFile", "UserName", "Password")
LocalFile
Full path to the file on local machine.  If the file already exists it will be overwritten without a prior prompt.
RemoteFile
Full path to the remote file (e.g., ftp://softwareutilities.com/about.txt).
UserName
User login name.  If empty the "anonymous" is considered.
Password
User name login password.
.
.
Example:   <#> This macro uploads file to an FTP server
<#>
<commands_only_on>

<form_item>("fm1","Remote file:","EDIT","","vRemoteFile")
<form_item>("fm1","Local file:","EDIT","","vLocalFile")
<form_item>("fm1","User:","EDIT","","vUser")
<form_item>("fm1","Password:","EDIT","","vPassword")

<form_show>("fm1","File Upload","shell32.dll",14)

<ftp_putfile>("vLocalFile","vRemoteFile","vUser","vPassword")