Hi, We search a solution to send all files in local directory except files with size less 1Ko Is it possible ? Original Script FTP ScriptGETLIST($list,LOCAL_FILES,"ZEATTCLN*.*")# For each file in $list...FOREACH $item IN $list # Upload the file $result=PUTFILE($item)END FOREACH Username rungis Posts 3 Joined 08 Mar 2012, 13:30 Posted 08 Mar 2012, 13:35 Use GETFILESIZE FTP ScriptGETLIST($list,LOCAL_FILES,"ZEATTCLN*.*") FOREACH $item IN $list IF(GETFILESIZE(LOCAL, $item)>1024) $result=PUTFILE($item) END IFEND FOREACH Username WAndrey Posts 119 Joined 24 Dec 2009, 14:28 Posted 10 Mar 2012, 07:08 thanks a lot man Username rungis Posts 3 Joined 08 Mar 2012, 13:30 Posted 12 Mar 2012, 13:39 Return to “Feature requests” Display: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by: AuthorPost timeSubject Sort by: AscendingDescending Go Jump to:
Use GETFILESIZE FTP ScriptGETLIST($list,LOCAL_FILES,"ZEATTCLN*.*") FOREACH $item IN $list IF(GETFILESIZE(LOCAL, $item)>1024) $result=PUTFILE($item) END IFEND FOREACH Username WAndrey Posts 119 Joined 24 Dec 2009, 14:28 Posted 10 Mar 2012, 07:08 thanks a lot man Username rungis Posts 3 Joined 08 Mar 2012, 13:30 Posted 12 Mar 2012, 13:39 Return to “Feature requests” Display: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by: AuthorPost timeSubject Sort by: AscendingDescending Go Jump to:
thanks a lot man Username rungis Posts 3 Joined 08 Mar 2012, 13:30 Posted 12 Mar 2012, 13:39 Return to “Feature requests” Display: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by: AuthorPost timeSubject Sort by: AscendingDescending Go Jump to: