issue 1: does the destination folder exist?
you may have to delete it using the revDeleteFolder command, esp if there
are any files inside.  Just delete folder will not work.

issue 2:
try using 
if there is a folder sorce then answer "found it" & cr & sorce
if there is a folder dest then answer "found it" & cr & dest

to double check the syntax you are using.

Jim Ault
Las Vegas



On 7/10/07 2:37 PM, "Stephen Barncard" <[EMAIL PROTECTED]>
wrote:

> I'm trying to use revCopyFolder - getting an 'execution error'
> 
> I'm trying to use a URL for the source but no examples are shown in the docs.
> Does this even work with a net URL?  thanks, sqb
> 
> --- code snippet
> 
> put  returnQTMoviesFolder() into destinationFolder
>           put kRootRemoteDir into folderToCopy
>           revCopyFolder folderToCopy,destinationFolder
>           put folderToCopy & return &  destinationFolder & return & the result
> 
> -- end code snippet
> 
> -- output
> 
> http://blah.barncard.com/downloads/qt/
> /Users/blah/Documents/blah/qt
> execution error
> 
> 
> Syntax:
> revCopyFolder folderToCopy,destinationFolder
> 
> Summary:
> Copies a folder with all its contents.
> 
> Examples:
> revCopyFolder "E:/Settings","C:/Program Files/My App/Settings"
> revCopyFolder "data","backups"


_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to