lib/DropboxSDK/ARKS.rb
# list files inside of a folder
list files inside of a folder
list files inside of a folder
def list_files(folder_name)
        list_folders = @dbx.list_folder("").collect { |entry| entry.name }
        if list_folders.include?(folder_name)
           return list_files = @dbx.list_folder("/#{folder_name}").entries
        else
          puts "Folder does not exists. Please provide appropriate folder name."
        end
      end
def list_files ( folder_name ) list_folders = @dbx . list_folder ( "" ) . collect { | entry | entry . name } if list_folders . include? ( folder_name ) return list_files = @dbx . list_folder ( "/#{folder_name}" ) . entries else puts "Folder does not exists. Please provide appropriate folder name." end end
list files inside of a folder
list files inside of a folder
folder_name
<not_specific>