New topic: 

CopyFileTo

<http://forums.realsoftware.com/viewtopic.php?t=33601>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        suibaf          Post subject: CopyFileToPosted: Thu Apr 29, 2010 
4:02 pm                         
Joined: Tue Dec 16, 2008 9:08 am
Posts: 190
Location: Lecce (Italy)                Hi,
i want to copy a file from origin to destination and rename it. I have write:

Code:dim dbDati as folderitem
dim d as new Date
dim mese As integer
dim anno as integer
  
  mese = d.month
  anno = d.Year

dbDati = Volume(0).Child("sme").Child("dbsme").Child("db_" + cstr(mese) + "_"+ 
cstr(anno)+".rsd")

Volume(0).Child("sme").Child("TEMPLATE").Child("db_.rsd").CopyFileTo(dbDati)

I no receive message, but it no copy nothing. Where is the error?

Thanks

Fabio      
_________________
RB2009R5.1
My native language is Italian, I'll try to make my posts understandable for 
everybody.  
                             Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to