<< Click to Display Table of Contents >> Navigation: 3. Script Language > Internet and Network > FTP. - and more > Internet and Network Commands |
MiniRobotLanguage (MRL)
FTP. Command
Dowload Files via FTP and More Internet Commands
Intention
This is a multi-purpose command.
This command can be used to
- download one or more File(s) via FTP to your local computer.
- test a download link if it works, without downloading the complete file.
- test a download link that uses a password, if it works, without downloading the complete file.
For a detailed description see the help pages of the subcommands.
Syntax
FTP.[Px...Px]
Parameter Explanation
Parameters depend on the used subcommand P1.
The following subcommands are available:
"tdl","test download"
-> Test a download-Link on any WEB-Site if it works.
For Details see here: tdl - Test Download
"tpw","test with password"
-> Test a download-Link on a WEB-Site if it works. Using Login and Password.
For Details see here: tpw - test with password
"ftp","ftp download"
-> Load one or many files down from a FTP-Server.
Can use a wildcard like "*.jpg"
For Details see here: fto - file transfer protocol
Example
'***********************************
' FTP.-DEMO
'***********************************
$$URL=fa2.de
$$LOG=myftplogin
$$PWD=343retew&$dJ
$$PAT=site
$$FIM=*.*
$$LOC=?path\test\
FTP.ftp|$$URL|$$LOG|$$PWD|$$PAT|$$FIM|$$LOC|$$REA|$$REB|$$REC
PRT.----------------
PRT.REA=$$REA
PRT.----------------
PRT.REB=$$REB
PRT.----------------
PRT.REC=$$REC
PRT.----------------
MBX.Ready
ENR.
Remarks
-
Limitations:
-
See also:
• fto - file transfer protocol