ftp PUT - < ftp_putfile >() ... [Pro]
ftp PUT <ftp_putfile>("File","Remote file","Login name","Password","Silent") Available in: Professional edition
|
Uploads file(s) to a remote FTP server.
|
#
|
Parameter name
|
Parameter description
|
1
|
File
|
Path to the file on local machine. The path can contain * and ? wildcards.
|
2
|
Remote file
|
Path to the remote file (e.g., ftp://pitrinec.com/pub/about.txt). If the "LocalFile" field contains wildcards then this field specifies directory where to upload multiple files (e.g., ftp://pitrinec.com/pub/).
|
3
|
Login name
|
User login name. If empty the "anonymous" is considered.
|
4
|
Password
|
User name login password.
|
5
|
Silent
|
Silent mode. If set to 1 then the operation progress window is not displayed.
|
|
|
Example (Macro Steps):
|
1
|
<#> <#> This macro uploads files to pitrinec.com
|
2
|
<#> <#>
|
3
|
ftp PUT upload "c:\temp\_c*.txt" to Ftp site "ftp://pitrinec.com/anon_ftp/pub/" (Login name=YOUR_USER_NAME)
|
|
Example (Plain Text):
<#> This macro uploads files to pitrinec.com
<#>
<ftp_putfile>("c:\temp\_c*.txt","ftp://pitrinec.com/anon_ftp/pub/","YOUR_USER_NAME","YOUR_PASSWORD")