Manage the uploading of files to an FTP account.
Methods
    - C
 - M
 - N
 - U
 
Attributes
      | [RW] | verbose | Log uploads to standard output when true.  | 
          
Class Public methods
      
        
            
              new(path, host, account, password)
            
            Link
          
          
          
            Create an FTP uploader targeting the directory path on
host using the given account and password.  path
will be the root path of the uploader.
Instance Public methods
      
        
            
              close()
            
            Link
          
          
          
            Close the uploader.
            
              connect(path, host, account, password)
            
            Link
          
          
          
            Create an uploader and pass it to the given block as up. When
the block is complete, close the uploader.
            
              makedirs(path)
            
            Link
          
          
          
            Create the directory path in the uploader root path.
# File lib/rake/contrib/ftptools.rb, line 115 def makedirs(path) route = [] File.split(path).each do |dir| route << dir current_dir = File.join(route) if @created[current_dir].nil? @created[current_dir] = true $stderr.puts "Creating Directory #{current_dir}" if @verbose @ftp.mkdir(current_dir) rescue nil end end end