GetList

        Args:
            dummy: ???
            orgresource: Directory path to get the file list
                ex) /Picture/

            type: 1 => only directories with idxfolder property
                  2 => only files
                  3 => directories and files with thumbnail info
                      ex) viewHeight, viewWidth for Image file
                  4 => only directories except idxfolder
                  5 => directories and files without thumbnail info

            depth: Dept for file list
            sort: name => 이름
                  file => file type, 종류
                  length => size of file, 크기
                  date => edited date, 수정한 날짜
                  credate => creation date, 올린 날짜
                  protect => protect or not, 중요 표시

            order: Order by (asc, desc)
            startnum: ???
            pagingrow: start index ?

        Returns:
            FileInfo list: List of files for a path
            False: Failed to get list

def getList(self, dummy = 56184, orgresource = '/', type = 1, dept = 0, sort = 'name', order = 'asc', startnum = 0, pagingrow = 1000):
        """GetList

        Args:
            dummy: ???
            orgresource: Directory path to get the file list
                ex) /Picture/

            type: 1 => only directories with idxfolder property
                  2 => only files
                  3 => directories and files with thumbnail info
                      ex) viewHeight, viewWidth for Image file
                  4 => only directories except idxfolder
                  5 => directories and files without thumbnail info

            depth: Dept for file list
            sort: name => 이름
                  file => file type, 종류
                  length => size of file, 크기
                  date => edited date, 수정한 날짜
                  credate => creation date, 올린 날짜
                  protect => protect or not, 중요 표시

            order: Order by (asc, desc)
            startnum: ???
            pagingrow: start index ?

        Returns:
            FileInfo list: List of files for a path
            False: Failed to get list

        """
        
        url = nurls['getList']

        data = {'userid': self.user_id,
                'useridx': self.useridx,
                'dummy': dummy,
                'orgresource': orgresource,
                'type': type,
                'dept': dept,
                'sort': sort,
                'order': order,
                'startnum': startnum,
                'pagingrow': pagingrow,
                }

        r = self.session.post(url = url, data = data)

        try:
            j = json.loads(r.text)
        except:
            print '[*] Success checkUpload: 0 result'

            return []

        if j['message'] != 'success':
            print '[*] Error checkUpload: ' + j['message']

            return False
        else:
            files = []

            for i in j['resultvalue']:
                f = FileInfo()

                f.protect = i['protect']
                f.resourceno = i['resourceno']
                f.copyright = i['copyright']
                f.subfoldercnt = i['subfoldercnt']
                f.resourcetype = i['resourcetype']
                f.fileuploadstatus = i['fileuploadstatus']
                f.prority = i['priority']
                f.filelink = i['filelink']
                f.href = i['href']
                f.thumbnailpath = i['thumbnailpath']
                f.sharedinfo = i['sharedinfo']
                f.getlastmodified = i['getlastmodified']
                f.shareno = i['shareno']
                f.lastmodifieduser = i['lastmodifieduser']
                f.getcontentlength = i['getcontentlength']
                f.lastaccessed = i['lastaccessed']
                f.virusstatus = i['virusstatus']
                f.idxfolder = i['idxfolder']
                f.creationdate = i['creationdate']
                f.nocache = i['nocache']
                f.viewWidth = i['viewWidth']
                f.viewHeight = i['viewHeight']

                f.setJson(j['resultvalue'])
                
                files.append(f)

            return files