mistake libUrlDownloadToFile on windows 7 and 8
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
mistake libUrlDownloadToFile on windows 7 and 8
Hi All,
One tester says me libUrlDownloadToFile fails on windows 7 and 8.
Fortunately it works fine on OS X and IOS
Is there someone who met this problem ?
Thanks
Jean-Marc
One tester says me libUrlDownloadToFile fails on windows 7 and 8.
Fortunately it works fine on OS X and IOS
Is there someone who met this problem ?
Thanks
Jean-Marc
https://alternatic.ch
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: mistake libUrlDownloadToFile on windows 7 and 8
This works on Win 7 for me
or are you using ftp?
Simon
Code: Select all
on mouseUp
set the defaultFolder to specialFolderPath("desktop")
libURLDownloadToFile "http://www.example.com/index.html", "test.txt"
put the result
end mouseUp
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: mistake libUrlDownloadToFile on windows 7 and 8
Hi Simon,
Thanks for test.
It seems the mistake is elsewhere in my scripts.
I dont understand why it works on OS X and IOS but not on windows
Best regards
Jean-Marc
Thanks for test.
It seems the mistake is elsewhere in my scripts.
I dont understand why it works on OS X and IOS but not on windows
Noare you using ftp?
Best regards
Jean-Marc
https://alternatic.ch
-
- VIP Livecode Opensource Backer
- Posts: 7237
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: mistake libUrlDownloadToFile on windows 7 and 8
It may be a permissions problem. Are you downloading the file to a writable location?
Also, you can check the libURLStatus to see if there's an error. LibURLErrorData may also work though the dictionary says it is for the load command.
Also, you can check the libURLStatus to see if there's an error. LibURLErrorData may also work though the dictionary says it is for the load command.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: mistake libUrlDownloadToFile on windows 7 and 8
Thanks Jaque,
That could explain why I was able to do this installation with a PC windows 7.
Sorry for my ignorance but is it possible that specialfolderpath("documents") is not writable on windows ?
That could explain why I was able to do this installation with a PC windows 7.
Sorry for my ignorance but is it possible that specialfolderpath("documents") is not writable on windows ?
https://alternatic.ch
-
- VIP Livecode Opensource Backer
- Posts: 7237
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: mistake libUrlDownloadToFile on windows 7 and 8
Documents should always be writable.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: mistake libUrlDownloadToFile on windows 7 and 8
I haven't a PC, that is some feed-backs from users of EcrireEnPictos
I use libURLStatus to send a "listZipContents" and "extractArchive" messages
This installation copy a folder 322 Mo in "documents" folder
I use libURLStatus to send a "listZipContents" and "extractArchive" messages
This installation copy a folder 322 Mo in "documents" folder
https://alternatic.ch
-
- VIP Livecode Opensource Backer
- Posts: 7237
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: mistake libUrlDownloadToFile on windows 7 and 8
See if anything in this message helps: http://www.runrev.com/pipermail/use-liv ... 77360.html
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com