johnlock 0 Posted January 24, 2013 Report Share Posted January 24, 2013 Hey guys, I'm trying to download couple of files with no success. I have a list with urls in text fils as this: http://www.site.com/files/1231231241-small.jpghttp://www.site.com/files/1231231241-small.jpghttp://www.site.com/files/1231231241-small.jpghttp://www.site.com/files/1231231241-small.jpghttp://www.site.com/files/1231231241-small.jpg and list with titles -: asdadasfasdfasdasdfasfdasdfasdfasdfasdfafsdasdfasdfasdfasdasdf My code is something like that : add list to list(%link, $list from file("{$special folder("Desktop")}\\links.txt"), "Delete", "Global")add list to list(%title, $list from file("{$special folder("Desktop")}\\titles.txt"), "Delete", "Global") loop($list total(%link)) { set(#name, $next list item(%title), "Global") set(#file, $next list item(%link), "Global") download file(#file, "{$special folder("Desktop")}\\wetmee\\{#name}.jpg")} It gives me ""the given file format is not supported " Would love some help excuse my english it is not my mother language. Quote Link to post Share on other sites
k1lv9h 76 Posted January 24, 2013 Report Share Posted January 24, 2013 Hi, You may want to add: clear list(%link) clear list(%title)Without "clear list" every "add list to list" will load on the end of your current list. Kevin Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.