Description:
Used to transfer files to a Windows share.
Form:
Command Handler: SYSD
SMBTRANSFER Windows_Share PUT local_file [remote_file] [username password]
Where Windows_Share is shared Windows folder in the format ip_address/share.
Response:
"OK\r\n" to acknowledge receipt of command, or
"ERROR- [Description]\r\n" if error, ending command
"\r\n" concludes modify responses (empty line)
Examples:
Command to put a file in MPG share without renaming and with adtec password and password of none:
*.SYSD SMBTRANSFER 192.168.0.47/MPG put /media/hd0/media/my_file.mpg adtec none<enter>
Response is: OK\r\n
\r\n
Command to put file and rename:
*.SYSD SMBTRANSFER 192.168.0.47 put /media/hd0/media/my_file.mpg new_name.mpg adtec none<enter>
Response is: OK\r\n
\r\n
Notes:
If username and password are not supplied then guest and blank password are used.