Function: tramp-smb-send-command

tramp-smb-send-command is a byte-compiled function defined in tramp-smb.el.gz.

Signature

(tramp-smb-send-command VEC COMMAND)

Documentation

Send the COMMAND to connection VEC.

Returns nil if there has been an error message from smbclient.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-smb.el.gz
;; Connection functions.

(defun tramp-smb-send-command (vec command)
  "Send the COMMAND to connection VEC.
Returns nil if there has been an error message from smbclient."
  (tramp-smb-maybe-open-connection vec)
  (tramp-message vec 6 "%s" command)
  (tramp-send-string vec command)
  (tramp-smb-wait-for-output vec))