Results 1 to 10 of 10

Thread: can thid be done?

  1. #1
    Dimension
    Guest

    Exclamation can thid be done?

    Is there a way to automatically download a file off a webpage without being notified your doing so?

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Yes
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3
    Dimension
    Guest
    how is this done?

  4. #4
    Frenzied Member
    Join Date
    Mar 2001
    Location
    You are HERE •™
    Posts
    1,300
    One word: URLDownloadToFile API. Ok......technically that's two words.

    Try this link:
    http://www.vbforums.com/showthread.php?threadid=91086

  5. #5
    Dimension
    Guest
    you misunderstood me...

    If you were to go to my website, for example, is there a way i could save a file on your computer without that msgbox coming up asking if you want to download this file?

  6. #6
    Frenzied Member
    Join Date
    Mar 2001
    Location
    You are HERE •™
    Posts
    1,300
    Maybe with ActiveX or Java........not sure.

    MS has safeguards for this. Think about it. If I had a web-page and was able to automatically have a file d/l to a persons HD when they visted my web-site. What's stopping me from using SubSeven or some kind of virus. Then everyone's computer would be infected.

    Like I said there may be ways around this using ActiveX or Java. You may want to try posting this in the HTML section also.

  7. #7
    Frenzied Member nishantp's Avatar
    Join Date
    Jan 2001
    Location
    Where you least expect me to be
    Posts
    1,375
    Like bloodeye said there are safeguards against this sort of thing. You could download a program into his startup folder that formats his harddrive the next time he boots up. Of course hackers will ususally prevail and im sure there is a way to do it...you could perhard use the ugly way and use sendkeys on the dialogue that comes up...or maybe theres a way through Java or something. not sure.
    You just proved that sig advertisements work.

  8. #8
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    You will get a Permission Denied dialog if a java applet tried to wander where it shouldnt.

    And the person will be given rather explicit warning before an ActiveX control is activated.

    There is no other way to download a file onto someone's hard drive, unless they're running a trojan of some sort.
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  9. #9
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    879
    LOL...Bud, if you want to put a file on someone else's PC without them knowing is ilegal. Anyways, it can be done but the browser might stop you from doing so according to the security level that is set by the user! If the security level on MS Explorer is set to medium or lower, the file can be uploaded anonymously, otherwise a Message Box will pop up saying "DO YOU TRUST THE CONTENT OF THIS SITE...ETC ETC!"
    Visual Basic 6.0
    Visual C++ 5
    Delphi 5


  10. #10
    Fanatic Member crispin's Avatar
    Join Date
    Aug 2000
    Location
    2 clicks west of a Quirkafleeg...Cornwall, England
    Posts
    754
    there is a way - but the code is very nasty, and could almost be considered to be a trojan - I wrote it a while back, and lost it somewhere, I wouldn't want to write it again....
    Crispin
    VB6 ENT SP5
    VB.NET
    W2K ADV SVR SP3
    WWW.BLOCKSOFT.CO.UK

    [Microsoft Basic: 1976-2001, RIP]

Posting Permissions

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



Click Here to Expand Forum to Full Width