if you open a stack over a server, then this is not a normal file but a stack. Best way to handle this iseg4am1 wrote:basically what i required was that one the user has sent the runrev file via FTP to the server there will be another application (made in runrev) running on the server which looks into a specific folder and if there are any runrev files (which have been sent by the user) there, it opens them up diplays them one after another after 15 odd seconds.
Code: Select all
go stack URL "http://www.example.org/data/mystack.rev"
if one after the other every 15 seconds
Code: Select all
on serialOpening pFileList
if pFileList is empty then exit serialOpening
put line 1 of pFileList into tFilePath
openOneStack tFilePath
delete line 1 of pFileList
send ("serialOpening" && pFileList) to me in 15 seconds
-- you may have to change the quotes to get it right
end serialOpening
on openOneStack pFilePath
if pFilePath is empty then exit openOneStack
go stack URL pFilePath
end openOneStack