i am using mergext dropboxsync to synchronise my data from the ipad. my question is. how we get the file from the special folder specialfolderpath and how we check if the file exist into the dropbox. i am no using fields for folder or the files i want the procedure to be hidden from the user to get my folder and path i use the simple bellow code.
put specialfolderpath("documents") & "/myfile.sqlite" into myPath
and here is the code from the button i use
on mouseUp
goToParent --<command
repeat for each line tempitem in fld "sFolders" --<hide field
add 1 to t
if tempitem ="hairaid-backup" then
put 1 into fExist
end if
end repeat
--!! if folder exist
if fExist is a number then
else
try
mergDropboxCreateFolder (hairaid &"-"&backup)
catch e
answer e
end try
end if
end mouseUp