Jump to content

Recommended Posts

Posted

I use inetget to save a file but at school it never saves the file but I don't get an error or anything. Could this be because of the blocking programs on the computers, They let you save files just fine so I don't know why this isn't working.

could this be why???

Cisco Clean Access Agent

Check out ConsultingJoe.com
Posted

Did you try getting the file manually? I know at my school that we're not allowed to download much of anything, so that would definitely be an issue.

they don't really ban much. I can download anything manualy and au3 scripts work just fine. It's just the when a script or even a compiled script tries to put a file it just isn't there
Check out ConsultingJoe.com
Posted (edited)

could this be why???

Cisco Clean Access Agent

As far as I know, that program only checks that your computer has all current Windows Updates and AntiVirus updates in order grant you internet access. This is to prevent virus/worm outbreaks on the network due to students who hook up their comptuers in fall after having gone all summer without any security updates.... Edited by CyberSlug
Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Posted

Post some code. Do you check for return and error codes? Do you have write permissions for the destination folder?

Posted

Post some code. Do you check for return and error codes? Do you have write permissions for the destination folder?

the computer at school allows access for creating fileson the desktop and my documents an almost everywhere exept C:\. I haven't checked for error return on it but it works just fine on my pc so I didn't think I had to. But you're saying that if it disallows writing from a program it would return an error, never thought of that. heres a code for extracting flash files:

CODE
#include <ie.au3>

AutoItSetOption( "WinTextMatchMode", 2)

TrayTip("Flash Downloader", "select the browser to search in", 3)

while 1

$title = WinGetTitle ( "" )

if StringInStr( $title, " - Microsoft Internet Explorer") Then ExitLoop

WEnd

$title = StringReplace($title, " - Microsoft Internet Explorer", "")

$oIE1 = _IEAttach ($title)

$source = _IEBodyReadHTML ($oIE1)

$end = StringInStr ( $source, ".swf" )

$begin = 1

$i = 0

while $begin > 0 and $begin < $end

$i = $i + 1

$begin = StringInStr ($source, "http://", 0, $i)

WEnd

$i = $i - 1

$begin = StringInStr ($source, "http://", 0, $i)

$address = StringMid ( $source, $begin, $end - $begin + 4 )

$size = InetGetSize ( $address )

InetGet ( $address,"FLASH.swf", 1, 1)

TrayTip( "Flash Address:", $address, 2)

sleep(2000)

While @InetGetActive

TrayTip("Downloading", @InetGetBytesRead & "/" & $size, 10, 16)

Sleep(250)

Wend

TrayTip("Download Complete", "100%", 10, 16)

sleep(1500)

Check out ConsultingJoe.com
Posted

you should definitely check error codes...

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...