A file with this bit on as returned by getAttributes() or set
with setAttributes() is an archived file
A file with this bit on as returned by getAttributes() is
a directory
A file with this bit on as returned by getAttributes() or set
with setAttributes() will be hidden
A file with this bit on as returned by getAttributes() or set
with setAttributes() will be read-only
A file with this bit on as returned by getAttributes() or set
with setAttributes() will be a system file
A file with this bit on as returned by getAttributes() is
a volume
This stream class is unbuffered.
Tests to see if the file this SmbFile
represents can be
read.
Tests to see if the file this SmbFile
represents
exists and is not marked read-only.
Closes this input stream and releases any system resources associated with the stream.
Closes this output stream and releases any system resources associated
with it.
This class uses a static java.util.Properties
to act
as a cental repository for all jCIFS configuration properties.
It is not necessary to call this method directly.
This method will copy the file or directory represented by this
SmbFile and it's sub-contents to the location specified by the
dest parameter.
Create a new file but fail if it already exists.
Retrieve the time this SmbFile
was created.
When specified as the shareAccess constructor parameter,
other SMB clients (including other threads making calls into jCIFS)
will not be permitted to access the target file and will receive "The
file is being accessed by another process" message.
When specified as the shareAccess constructor parameter,
other SMB clients will be permitted to delete the target file while
this file is open.
When specified as the shareAccess constructor parameter,
other SMB clients will be permitted to read from the target file while
this file is open.
When specified as the shareAccess constructor parameter,
other SMB clients will be permitted to write to the target file while
this file is open.
Guess first called name to try for session establishment.
Retrieve a property as an Object
.
Returns the raw IP address of this NbtAddress.
Return the underlying NbtAddress or InetAddress.
Retrieve all addresses of a host by it's address.
Retrieve all addresses of a host by it's address.
Retrieve all addresses of a host by it's address.
Computes the 24 byte ANSI password hash given the 8 byte server challenge.
Return the attributes of this file.
Retrieve a boolean value.
Determines the address of a host given it's host name.
Determines the address of a host given it's host name.
Lookup hostname and return it's UniAddress.
Determines the address of a host given it's host name.
Returns the full URL of this SMB resource with '.' and '..' components
factored out.
This URLConnection method just returns the result of length().
This URLConnection method just returns the result of lastModified.
If the path of this SmbFile
falls within a DFS volume,
this method will return the referral path to which it maps.
This method returns the free disk space in bytes of the drive this share
represents or the drive on which the directory or file resides.
Returns this IP adress as a java.lang.String
in the form "%d.%d.%d.%d".
Return the IP address as text such as "192.168.1.15".
The hostname of this address.
Return the hostname of this address such as "MYCOMPUTER".
To convert this address to an InetAddress
.
Retrieve an array of InetAddress created from a property
value containting a delim separated list of hostnames and/or
ipaddresses.
This URLConnection method just returns a new SmbFileInputStream created with this file.
This URLConnection method just returns the result of lastModified.
Creates the LMv2 response for the supplied information.
Retrieves the local host address.
Retrieves the MAC address of the remote network interface.
Return the domain and username in the format:
domain\\username.
Returns the last component of the target URL.
Return the InputStream
used to read information
from this pipe instance.
Return the OutputStream
used to write
information to this pipe instance.
Returned the hex code associated with this name(e.g.
Checks the node type of this address.
An application extending this class must provide an implementation for this method that returns new user credentials try try when accessing SMB resources described by the getRequestingURL and getRequestingException methods.
Generate the Unicode MD4 hash for the password associated with these credentials.
This URLConnection method just returns a new SmbFileOutputStream created with this file.
Everything but the last component of the URL representing this SMB
resource is effectivly it's parent.
Returns the password in plain text or null if the raw password
hashes were used to construct this NtlmPasswordAuthentication
object which will be the case when NTLM HTTP Authentication is
used.
Returns the full uncanonicalized URL of this SMB resource.
Generate the ANSI DES hash for the password associated with these credentials.
Returns the NtlmPasswordAuthentication object used as
credentials with this file or pipe.
Retrieve the hostname of the server for this SMB resource.
Retrieves the share associated with this SMB resource.
Returns type of of object this SmbFile represents.
Retuns the Windows UNC style path with backslashs intead of forward slashes.
Computes the 24 byte Unicode password hash given the 8 byte server challenge.
Returns the effective user session key.
Determines if this address is active.
Determines if this address in the process of being deleted.
Tests to see if the file this SmbFile
represents is a directory.
Tests to see if the file this SmbFile
represents is not a directory.
Determines if the address is a group address.
Tests to see if the file this SmbFile represents is marked as
hidden.
Determines if this address in conflict with another address.
Determines if this address is set to be permanent.
Retrieve the last time the file represented by this
SmbFile
was modified.
Returns the length of this SmbFile in bytes.
List the contents of this SMB resource.
List the contents of this SMB resource.
List the properties in the Code
.
List the contents of this SMB resource as an array of
SmbFile
objects.
List the contents of this SMB resource.
List the contents of this SMB resource.
The CIFS protocol provides for DOS "wildcards" to be used as
a performance enhancement.
Load the Config
with properties from the stream
in
from a Properties
file.
Authenticate arbitrary credentials represented by the
NtlmPasswordAuthentication object against the domain controller
specified by the UniAddress parameter.
This class represents a NetBIOS over TCP/IP address.
Guess next called name to try for session establishment.
This class can be extended by applications that wish to trap authentication related exceptions and automatically retry the exceptional operation with different credentials.
This class stores and encrypts NTLM user credentials.
Create an NtlmPasswordAuthentication object from the userinfo
component of an SMB URL like "domain;user:pass".
Create an NtlmPasswordAuthentication object with raw password
hashes.
Create an NtlmPasswordAuthentication object from a
domain, username, and password.
A Point-to-Point node, or P node, unicasts queries to a nameserver
only.
Pipe operations should behave like the CallNamedPipe
Win32 Named Pipe function.
The pipe should be opened read-only.
The pipe should be opened for both reading and writing.
Pipe operations should behave like the TransactNamedPipe
Win32 Named Pipe function.
The pipe should be opened only for writing.
Set the attributes of this file.
Set the create time of the file.
Set the default NtlmAuthenticator.
Set the last modified time of the file.
Set the default properties of the static Properties used by Config.
Make this file read-only.
Turn off the read-only attribute of this file.
Skip n bytes of data on this stream.
The SmbAuthException
encapsulates the variety of
authentication related error codes returned by an SMB server.
There are hundreds of error codes that may be returned by a CIFS
server.
This class represents a resource on an SMB network.
Constructs an SmbFile representing a resource on an SMB network such
as a file or directory.
Constructs an SmbFile representing a resource on an SMB network such
as a file or directory.
Constructs an SmbFile representing a resource on an SMB network such as
a file or directory.
Constructs an SmbFile representing a resource on an SMB network such
as a file or directory.
Constructs an SmbFile representing a file on an SMB network.
Constructs an SmbFile representing a resource on an SMB network such
as a file or directory.
Constructs an SmbFile representing a resource on an SMB network such
as a file or directory.
Constructs an SmbFile representing a resource on an SMB network such
as a file or directory.
Constructs an SmbFile representing a resource on an SMB network such
as a file or directory from a URL object.
Constructs an SmbFile representing a resource on an SMB network such
as a file or directory from a URL object and an
NtlmPasswordAuthentication object.
This InputStream can read bytes from a file on an SMB file server.
Creates an
java.io.InputStream
for reading bytes from a file on
an SMB server represented by the
SmbFile
parameter.
Creates an java.io.InputStream
for reading bytes from a file on
an SMB server addressed by the url
parameter.
This OutputStream
can write bytes to a file on an SMB file server.
Creates an
java.io.OutputStream
for writing bytes to a file on
an SMB server represented by the
SmbFile
parameter.
Creates an java.io.OutputStream
for writing bytes to a file
on an SMB server addressed by the SmbFile
parameter.
Creates an java.io.OutputStream
for writing to a file
on an SMB server addressed by the URL parameter.
Creates an java.io.OutputStream
for writing bytes to a file on an
SMB server addressed by the URL parameter.
Creates an java.io.OutputStream
for writing bytes to a file
on an SMB server addressed by the SmbFile
parameter.
This class will allow a Java program to read and write data to Named
Pipes and Transact NamedPipes.
Open the Named Pipe resource specified by the url
parameter.
A special generic name specified when connecting to a host for which
a name is not known.
The class represents a user's session established with an SMB/CIFS
server.