Results 1 to 14 of 14

Thread: Downloading with OpenWebpage

  1. #1
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default Downloading with OpenWebpage

    Simba Code:
    Link:= GetPage('http://rbeggar.webs.com/Download.txt');
      OpenWebpage(Link);
    The text document which GetPage grabs is the link to a script download (http://villavu.com/forum/attachment....0&d=1297358023).

    If you put that link into your URL it works fine, but calling it in OpenWebpage as Link gives this error:
    Progress Report:
    Error: Exception: Failed to execute  "http://villavu.com/forum/attachment.php?attachmentid=10590&d=1297358023" : 87 at line 109
    Any ideas why?
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  2. #2
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default

    So you have the link in Download.txt right?

    I have no idea then :S

    Tried openwebpage without getpage yet?


    Edit: I tried it and it worked fine in scar. Trying with simba now.
    Last edited by weequ; 02-10-2011 at 05:37 PM.

  3. #3
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Simba Code:
    program new;
    begin
      OpenWebpage(GetPage('http://rbeggar.webs.com/Download.txt'));
    end.

    Worked for me.
    There used to be something meaningful here.

  4. #4
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default

    For me it works in scar but not in simba. I think there is bug in simba or something.
    (OpenWebPage won't open any web pages for me)

  5. #5
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    I tested in Simba, but not in SCAR.
    There used to be something meaningful here.

  6. #6
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Quote Originally Posted by Frement View Post
    Simba Code:
    program new;
    begin
      OpenWebpage(GetPage('http://rbeggar.webs.com/Download.txt'));
    end.

    Worked for me.
    Neither that or what I have works. I've got the most up to date Simba, so I don't have a clue what's causing this...
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  7. #7
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    I still have 750, so maybe a bug in the latest?

    EDIT: Fix, I have 810, I thought I had 750
    There used to be something meaningful here.

  8. #8
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    It's a problem with vB, not GetPage/anything, afaik. You can't automatically download scripts from it. :/

  9. #9
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    It worked fine in SCAR?
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  10. #10
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    .-. Well then I have no idea..

  11. #11
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Downloads for me, I got Simba 810.
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  12. #12
    Join Date
    Nov 2006
    Location
    Location, Location
    Posts
    1,126
    Mentioned
    6 Post(s)
    Quoted
    41 Post(s)

    Default

    I think its cause you have to be logged in to download attachments?

  13. #13
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Why not just do:

    (pseudo code, btw)
    Code:
    scripttext = getPage(CURRENT SCRIPT);
    writeFile(scriptText);
    DeleteFile(OLDSCRIPT);
    _OR_
    RenameToOld(OLDSCRIPT);
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  14. #14
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    I agree with N2, if he's talking about just putting the .txt of the file on rbeggar.webs.com/script.txt or something and downloading that..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •