void close( int f, long lastWriteTime ) throws SmbException { if( log.level >= 3 ) log.println( "close: " + f ); /* * Close Request / Response */ send( new SmbComClose( f, lastWriteTime ), blank_resp() ); } void close( long lastWriteTime ) throws SmbException {
void close( int f, long lastWriteTime ) throws SmbException { if( log.level >= 3 ) log.println( "close: " + f ); /* * Close Request / Response */ send( new SmbComClose( f, lastWriteTime ), blank_resp() ); } void close( long lastWriteTime ) throws SmbException {
void close( int f, long lastWriteTime ) throws SmbException { if( log.level >= 3 ) log.println( "close: " + f ); /* * Close Request / Response */ send( new SmbComClose( f, lastWriteTime ), blank_resp() ); } void close( long lastWriteTime ) throws SmbException {
void close( int f, long lastWriteTime ) throws SmbException { if( log.level >= 3 ) log.println( "close: " + f ); /* * Close Request / Response */ send( new SmbComClose( f, lastWriteTime ), blank_resp() ); } void close( long lastWriteTime ) throws SmbException {
/** * Creates a directory with the path specified by this * <code>SmbFile</code>. For this method to be successful, the target * must not already exist. This method will fail when * used with <code>smb://</code>, <code>smb://workgroup/</code>, * <code>smb://server/</code>, or <code>smb://server/share/</code> URLs * because workgroups, servers, and shares cannot be dynamically created * (although in the future it may be possible to create shares). * * @throws SmbException */ public void mkdir() throws SmbException { String path = getUncPath0(); if( path.length() == 1 ) { throw new SmbException( "Invalid operation for workgroups, servers, or shares" ); } /* * Create Directory Request / Response */ if( log.level >= 3 ) log.println( "mkdir: " + path ); send( new SmbComCreateDirectory( path ), blank_resp() ); attrExpiration = sizeExpiration = 0; }
/** * Creates a directory with the path specified by this * <code>SmbFile</code>. For this method to be successful, the target * must not already exist. This method will fail when * used with <code>smb://</code>, <code>smb://workgroup/</code>, * <code>smb://server/</code>, or <code>smb://server/share/</code> URLs * because workgroups, servers, and shares cannot be dynamically created * (although in the future it may be possible to create shares). * * @throws SmbException */ public void mkdir() throws SmbException { String path = getUncPath0(); if( path.length() == 1 ) { throw new SmbException( "Invalid operation for workgroups, servers, or shares" ); } /* * Create Directory Request / Response */ if( log.level >= 3 ) log.println( "mkdir: " + path ); send( new SmbComCreateDirectory( path ), blank_resp() ); attrExpiration = sizeExpiration = 0; }
/** * Creates a directory with the path specified by this * <code>SmbFile</code>. For this method to be successful, the target * must not already exist. This method will fail when * used with <code>smb://</code>, <code>smb://workgroup/</code>, * <code>smb://server/</code>, or <code>smb://server/share/</code> URLs * because workgroups, servers, and shares cannot be dynamically created * (although in the future it may be possible to create shares). * * @throws SmbException */ public void mkdir() throws SmbException { String path = getUncPath0(); if( path.length() == 1 ) { throw new SmbException( "Invalid operation for workgroups, servers, or shares" ); } /* * Create Directory Request / Response */ if( log.level >= 3 ) log.println( "mkdir: " + path ); send( new SmbComCreateDirectory( path ), blank_resp() ); attrExpiration = sizeExpiration = 0; }
/** * Creates a directory with the path specified by this * <code>SmbFile</code>. For this method to be successful, the target * must not already exist. This method will fail when * used with <code>smb://</code>, <code>smb://workgroup/</code>, * <code>smb://server/</code>, or <code>smb://server/share/</code> URLs * because workgroups, servers, and shares cannot be dynamically created * (although in the future it may be possible to create shares). * * @throws SmbException */ public void mkdir() throws SmbException { String path = getUncPath0(); if( path.length() == 1 ) { throw new SmbException( "Invalid operation for workgroups, servers, or shares" ); } /* * Create Directory Request / Response */ if( log.level >= 3 ) log.println( "mkdir: " + path ); send( new SmbComCreateDirectory( path ), blank_resp() ); attrExpiration = sizeExpiration = 0; }
send( new SmbComRename( unc, dest.unc ), blank_resp() );
send( new SmbComFindClose2( sid ), blank_resp() ); } catch (SmbException se) { if( log.level >= 4 )
send( new SmbComDeleteDirectory( fileName ), blank_resp() ); } else { send( new SmbComDelete( fileName ), blank_resp() );
send( new SmbComFindClose2( sid ), blank_resp() ); } catch (SmbException se) { if( log.level >= 4 )
send( new SmbComFindClose2( sid ), blank_resp() ); } catch (SmbException se) { if( log.level >= 4 )
send( new SmbComRename( unc, dest.unc ), blank_resp() );
send( new SmbComFindClose2( sid ), blank_resp() ); } catch (SmbException se) { if( log.level >= 4 )
send( new SmbComRename( unc, dest.unc ), blank_resp() );
send( new SmbComDeleteDirectory( fileName ), blank_resp() ); } else { send( new SmbComDelete( fileName ), blank_resp() );
send( new SmbComRename( unc, dest.unc ), blank_resp() );
send( new SmbComDeleteDirectory( fileName ), blank_resp() ); } else { send( new SmbComDelete( fileName ), blank_resp() );
send( new SmbComDeleteDirectory( fileName ), blank_resp() ); } else { send( new SmbComDelete( fileName ), blank_resp() );