- unstable 5.34-2
URI::smb(3pm) | User Contributed Perl Documentation | URI::smb(3pm) |
NAME¶
URI::smb - Samba/CIFS URI scheme
SYNOPSIS¶
my $uri = URI->new('smb://authdomain;user:password@server/share/path');
DESCRIPTION¶
This module implements the (unofficial) "smb:" URI scheme described in <http://www.ubiqx.org/cifs/Appendix-D.html>.
SUBROUTINES/METHODS¶
default_port¶
The default port for accessing Samba/Windows File Servers is 445
user¶
Get or set the user part of the URI (without the authdomain)
authdomain¶
Get or set the authentication authdomain part of the URI. This value is only available if the user is already set.
sharename¶
Helper method to get the share name from path
DEPENDENCIES¶
None
BUGS AND LIMITATIONS¶
See URI
SEE ALSO¶
AUTHOR¶
I. M. Bur <github@lty.cz>
LICENSE AND COPYRIGHT¶
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See <http://dev.perl.org/licenses/> for more information.
2025-10-11 | perl v5.40.1 |