AW: copying files in Windows 8

2014-09-11 Thread Tiemo Hollmann TB
Hi Larry,
Up to now, I didn't experienced a difference between W7 and W8 related to
the file system.
Could you specify, what strange behavior you experience?
Tiemo


> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im
Auftrag
> von la...@significantplanet.org
> Gesendet: Donnerstag, 11. September 2014 09:23
> An: use-livecode@lists.runrev.com
> Betreff: copying files in Windows 8
> 
> I have a little program where I copy some files from one folder to another
> with revCopyFile myFile,myFolder and also delete myFile The compiled
program
> works fine on XP and Windows 7, but I get strange behavior on Windows 8.
> 
> Is that perhaps because Windows 8 uses some different type of folder and
file
> management?
> 
> I am completely mystified.
> 
> Thanks for any insights...
> 
> Larry
> ___
> 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


___
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


copying files in Windows 8

2014-09-11 Thread larry
I have a little program where I copy some files from one folder to another with 
revCopyFile myFile,myFolder and also delete myFile
The compiled program works fine on XP and Windows 7, but I get strange behavior 
on Windows 8.

Is that perhaps because Windows 8 uses some different type of folder and file 
management?

I am completely mystified.

Thanks for any insights...

Larry
___
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


Re: copying files

2014-09-06 Thread larry

Thank you Kay

- Original Message - 
From: "Kay C Lan" 

To: "How to use LiveCode" 
Sent: Friday, September 05, 2014 6:57 PM
Subject: Re: copying files



On Sat, Sep 6, 2014 at 6:00 AM,   wrote:


I need to copy some files from one folder to another in Windows.

I have searched the dictionary and cannot figure it out.


I opened the Dictonary, typed 'move' into the search field and found
'revMoveFolder'. Reading that entry, at the bottom is a User Note by
Rodney that says: to move a file see 'rename'. So I typed 'rename' in
the search field and under that entry it says:

Gives a file or folder a new name or moves it to a new location or both.

___
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 



___
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


Re: copying files

2014-09-05 Thread Kay C Lan
On Sat, Sep 6, 2014 at 6:00 AM,   wrote:
>
> I need to copy some files from one folder to another in Windows.
>
> I have searched the dictionary and cannot figure it out.

I opened the Dictonary, typed 'move' into the search field and found
'revMoveFolder'. Reading that entry, at the bottom is a User Note by
Rodney that says: to move a file see 'rename'. So I typed 'rename' in
the search field and under that entry it says:

Gives a file or folder a new name or moves it to a new location or both.

___
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


Re: copying files

2014-09-05 Thread Mark Schonewille

Hi Larry,

You could use revCopyFile or e.g. put URL x into URL y.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Installer Maker for LiveCode:
http://qery.us/468

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 9/6/2014 00:00, la...@significantplanet.org wrote:

Hello All,

I need to copy some files from one folder to another in Windows.

I have searched the dictionary and cannot figure it out.

Is there a way to have "thisFile.txt" in one folder and copy the file to 
another folder?

TIA
Larry
___
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



___
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


copying files

2014-09-05 Thread larry
Hello All,

I need to copy some files from one folder to another in Windows.

I have searched the dictionary and cannot figure it out.

Is there a way to have "thisFile.txt" in one folder and copy the file to 
another folder?

TIA
Larry
___
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


Re: Copying Files

2013-07-30 Thread Mark Schonewille
Alan,

put URL ("https://dl.dropboxusercontent.com/path/to/filename";) \
 into URL ("binfile:" & the temporary folder & "/filename")

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour 
spaces. http://www.color-converter.com

We have time for new software development projects. Contact me for a quote.






On 31 jul 2013, at 01:17, Alan Colburn wrote:

> I am trying to copy a file from a public Dropbox folder to the temp folder. 
> The code:
> 
> put URL ("binfile:https://dl.dropboxusercontent.com/path/to/filename";) \
>  into URL ("binfile:"&the temporary folder&"\filename")
> 
> just creates an empty file in the temporary folder. And:
> 
> revCopyFile "https://dl.dropboxusercontent.com/path/to/filename",the 
> temporary folder
> 
> doesn't do anything.
> 
> Any thoughts about how to do this?
> 
> thanks, as always -- Al C.



___
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


Copying Files

2013-07-30 Thread Alan Colburn
I am trying to copy a file from a public Dropbox folder to the temp folder. The 
code:

put URL ("binfile:https://dl.dropboxusercontent.com/path/to/filename";) \
 into URL ("binfile:"&the temporary folder&"\filename")

just creates an empty file in the temporary folder. And:

revCopyFile "https://dl.dropboxusercontent.com/path/to/filename",the temporary 
folder

doesn't do anything.

Any thoughts about how to do this?

thanks, as always -- Al C.
___
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


Re: copying files from the engine - Never mind

2012-11-04 Thread Mike Bonner
oops ignore my other answer :)

On Sun, Nov 4, 2012 at 11:12 AM, Mark Smith wrote:

> Never mind, I just found the problem... the filename is case sensitive. Ah,
> the joys of syntax
>
>
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/copying-files-from-the-engine-tp4656920p4656922.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> ___
> 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
>
___
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


Re: copying files from the engine

2012-11-04 Thread Mike Bonner
Think i'd toss an answer "doing the copy" inside your if block, and/or "put
the files" of the engine folder and make sure that the capitalization is
what you expect it to be. I _think_ capitalization matters on ios, I know
for sure it does on android.

On Sun, Nov 4, 2012 at 11:06 AM, Mark Smith wrote:

> sorry, that should have said "else clause" not "else close"
>
>
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/copying-files-from-the-engine-tp4656920p4656921.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> ___
> 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
>
___
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


Re: copying files from the engine - Never mind

2012-11-04 Thread Mark Smith
Never mind, I just found the problem... the filename is case sensitive. Ah,
the joys of syntax 



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/copying-files-from-the-engine-tp4656920p4656922.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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


Re: copying files from the engine

2012-11-04 Thread Mark Smith
sorry, that should have said "else clause" not "else close" 



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/copying-files-from-the-engine-tp4656920p4656921.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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


copying files from the engine

2012-11-04 Thread Mark Smith
Hi, I'm trying to copy a resource, in this case an sqlite file, from the
engine into the documents directory. I have verified that fire2.sqlite is in
the package contents for the compiled app. The following code is not working
(nothing gets copied). Can anyone see the problem?

   put specialFolderPath("engine") & "/Fire2.sqlite" into engineFilePath
   put specialFolderPath("documents") & "/Fire2.sqlite" into tDatabasePath
   if there is a file engineFilePath then
  put URL ("binfile:" & engineFilePath) into URL ("binfile:" &
tDatabasePath)
   end if

Putting an else close to print an error msg if the file in the engine is not
found results in the error msg being printed. Using a utility I wrote that
can list the contents of iOS directories I can see the fire2.sqlite file in
the "engine" directory. Not sure why this would not be working (probably
been staring at it too long!)

Thanks

-- Mark



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/copying-files-from-the-engine-tp4656920.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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