not clear about your methodology on the download.. you might need to set the defaultFolder
are use using RevBrowser in some way or is this a LC client app on the client and RevIgniter on the host? anyway for detection of a folder on the client machine (from the docs) if there is a folder [filepath] then go card ID 3445 The folderPath specifies the name and location <glossary/f/200.xml> of a folder <dictionary/property/1981.xml> you want to check. If you specify a name but not a location, LiveCode looks for the folder<dictionary/property/1981.xml>in the defaultFolder <dictionary/property/1981.xml>. Delete works the same way: delete file "My Test.rev" the defaultFolder works for this command too. Errors should be in the result - this deletes immediately, and file is not put into the trash. On 24 March 2012 00:29, Tim Selander <selan...@tkf.att.ne.jp> wrote: > Hi, > > Have wasted enough hours -- time to ask the pros on the list! > > We are passing out free, promotional MP3 players to our customers. > > Weekly, they will be allowed to download from our web site (hosted at > on-rev.com) new free mp3 files not available to the general public. Want > customers/users of our web page to be able to click one button to download > a set of files to specific folder -- the mp3 player, for which we know the > volume name (set up before sending out the players). > > Want to check for the volume's existence (player is/is not mounted on > computer) and then download the list of mp3s to it, failing with an error > message if the player is full. > > I can get the files to download, but only to the download folder specified > by the browser. > > 1) How can I set the path for the download using 'raw' irev/lc scripting, > or revigniter? > 2) How can I first check for existence of volume? > 3) (Bonus points!) How can I erase files off the volume/players? (Of > course only erasing files gotten from us -- known filenames -- and with > their permission.) > > Any help appreciated. > > Tim Selander > Tokyo, Japan > > ______________________________**_________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode> > -- Stephen Barncard San Francisco Ca. USA more about sqb <http://www.google.com/profiles/sbarncar> _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode