Changeset 5293

Show
Ignore:
Timestamp:
02/21/08 06:16:19 (7 months ago)
Author:
morris
Message:

Skip descendents of dot directories

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • WiredClient/trunk/English.lproj/ReleaseNotes.rtf

    r5205 r5293  
    1 {\rtf1\ansi\ansicpg1252\cocoartf949 
     1{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf270 
    22{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset0 Monaco;} 
    33{\colortbl;\red255\green255\blue255;\red126\green126\blue126;} 
     
    3838- Use standard icon picker also on Mac OS X 10.5\ 
    3939- Fix problem with drag and drop of bookmarks\ 
     40- Fix problem with uploading a folder containing invisible folders\ 
    4041\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural 
    4142 
  • WiredClient/trunk/WCTransfers.m

    r5264 r5293  
    660660 
    661661- (BOOL)_uploadPath:(NSString *)path toFolder:(WCFile *)destination { 
    662         NSEnumerator          *enumerator; 
    663         NSString                        *eachPath, *remotePath, *localPath, *serverPath, *resourceForkPath = NULL; 
    664         WIURL                           *url; 
    665         WCTransfer                      *transfer; 
    666         WCFile                          *file; 
    667         WCError                         *error; 
    668         NSUInteger                      count; 
    669         BOOL                            isDirectory, hasResourceFork; 
     662        NSDirectoryEnumerator *enumerator; 
     663        NSString                               *eachPath, *remotePath, *localPath, *serverPath, *resourceForkPath = NULL; 
     664        WIURL                                  *url; 
     665        WCTransfer                             *transfer; 
     666        WCFile                                 *file; 
     667        WCError                                *error; 
     668        NSUInteger                             count; 
     669        BOOL                                   isDirectory, hasResourceFork; 
    670670         
    671671        remotePath = [[destination path] stringByAppendingPathComponent:[path lastPathComponent]]; 
     
    705705 
    706706        while((eachPath = [enumerator nextObject])) { 
    707                 if([[eachPath lastPathComponent] hasPrefix:@"."]) 
     707                if([[eachPath lastPathComponent] hasPrefix:@"."]) { 
     708                        [enumerator skipDescendents]; 
     709 
    708710                        continue; 
     711                } 
    709712 
    710713                if([transfer isFolder]) {