diff options
author | Bill Nagel <wnagel@tycoint.com> | 2014-11-30 16:51:26 -0500 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-11-30 21:53:30 +0000 |
commit | 96c3b1a1bb52f4f25c3c3e6284e0d5bc23145ef0 (patch) | |
tree | 14e7acad8b81029231f2028b976b48c1a35b2a7c /docs/libcurl | |
parent | c8996bab1c95e292eff64fa848cf79131a01aeec (diff) |
docs: Updated for the SMB protocol
This patch updates the documentation for the SMB/CIFS protocol.
Diffstat (limited to 'docs/libcurl')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_PROTOCOLS.3 | 1 | ||||
-rw-r--r-- | docs/libcurl/opts/CURLOPT_REDIR_PROTOCOLS.3 | 3 | ||||
-rw-r--r-- | docs/libcurl/opts/CURLOPT_URL.3 | 16 |
3 files changed, 19 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_PROTOCOLS.3 b/docs/libcurl/opts/CURLOPT_PROTOCOLS.3 index c5bbc28eb..958eeeb9d 100644 --- a/docs/libcurl/opts/CURLOPT_PROTOCOLS.3 +++ b/docs/libcurl/opts/CURLOPT_PROTOCOLS.3 @@ -59,6 +59,7 @@ CURLPROTO_RTMPTS CURLPROTO_RTSP CURLPROTO_SCP CURLPROTO_SFTP +CURLPROTO_SMB CURLPROTO_SMTP CURLPROTO_SMTPS CURLPROTO_TELNET diff --git a/docs/libcurl/opts/CURLOPT_REDIR_PROTOCOLS.3 b/docs/libcurl/opts/CURLOPT_REDIR_PROTOCOLS.3 index b7cbcb296..fbec9f5c7 100644 --- a/docs/libcurl/opts/CURLOPT_REDIR_PROTOCOLS.3 +++ b/docs/libcurl/opts/CURLOPT_REDIR_PROTOCOLS.3 @@ -59,13 +59,14 @@ CURLPROTO_RTMPTS CURLPROTO_RTSP CURLPROTO_SCP CURLPROTO_SFTP +CURLPROTO_SMB CURLPROTO_SMTP CURLPROTO_SMTPS CURLPROTO_TELNET CURLPROTO_TFTP .fi .SH DEFAULT -All protocols except for FILE and SCP +All protocols except for FILE, SCP and SMB. .SH PROTOCOLS All .SH EXAMPLE diff --git a/docs/libcurl/opts/CURLOPT_URL.3 b/docs/libcurl/opts/CURLOPT_URL.3 index 16b7d523f..bf192282c 100644 --- a/docs/libcurl/opts/CURLOPT_URL.3 +++ b/docs/libcurl/opts/CURLOPT_URL.3 @@ -80,6 +80,8 @@ http://user:password@www.example.com ftp://user:password@ftp.example.com +smb://domain%2fuser:password@server.example.com + imap://user:password;options@mail.example.com pop3://user:password;options@mail.example.com @@ -236,6 +238,20 @@ user's home directory sftp://ssh.example.com/~/Documents/ - This requests a directory listing of the Documents directory under the user's home directory +.IP SMB +The path part of a SMB request specifies the file to retrieve and from what +share and directory or the share to upload to and as such, may not be omitted. +If the user name is not embedded in the URL, it can be set with the +\fICURLOPT_USERPWD(3)\fP or \fICURLOPT_USERNAME(3)\fP option. If the user name +is embedded in the URL then it must contain the domain name and as such, the +backslash must be URL encoded as %2f. + +smb://server.example.com/files/issue - This specifies the file "issue" located +in the root of the "files" share + +smb://server.example.com/files/ -T issue - This specifies the file "issue" will +be uploaded to the root of the "files" share. + .IP LDAP The path part of a LDAP request can be used to specify the: Distinguished Name, Attributes, Scope, Filter and Extension for a LDAP search. Each field |