Dr. Strangelove Posted May 12, 2006 Share Posted May 12, 2006 (edited) Sorry for my bad english Usage: #include <_download_progress.au3>_download_progress("01.zip","ftp://192.168.0.3/var/ftp/sefin/relatorios.zip")download_progress.au3 Edited May 12, 2006 by Dr. Strangelove Link to comment Share on other sites More sharing options...
spyrorocks Posted May 13, 2006 Share Posted May 13, 2006 The sytntax should have been the otherway around, _download_progress("ftp://192.168.0.3/var/ftp/sefin/relatorios.zip",("01.zip") but otherways its nice [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted May 13, 2006 Moderators Share Posted May 13, 2006 (edited) The sytntax should have been the otherway around, _download_progress("ftp://192.168.0.3/var/ftp/sefin/relatorios.zip",("01.zip")but otherways its nice Need to check your syntax there .Edit:And after looking at the function call, why do you say it's not right, looks like the correct "Parameter" positions to me. Edited May 13, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
AcidCorps Posted June 15, 2007 Share Posted June 15, 2007 I keep getting an error message: Line 55 (File "..\download_progress.au3"): If $OK_download = 1 Then If ^ ERROR Error: Variable used without being declared. Link to comment Share on other sites More sharing options...
Pascal257 Posted June 15, 2007 Share Posted June 15, 2007 Need to check your syntax there .Edit:And after looking at the function call, why do you say it's not right, looks like the correct "Parameter" positions to me.I think he meant that it should be the same syntax like InetGet has...And that "(" means its not a required parameter.. Link to comment Share on other sites More sharing options...
GreenHouse Posted June 16, 2007 Share Posted June 16, 2007 Guys, I apologize for I am not a seasoned AutoIt scriptwriter (or scriptwriter period). I'm just getting into writing scripts. When I try to run a script and call on this function everything works fine except the progress bar doesn't move, every other statistic does. I also get these errors: C:\PROGRA~1\AutoIt3\Include\download_progress.au3(65,29) : WARNING: $time_inicio: possibly used before declaration. $t = TimerDiff($time_inicio) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\PROGRA~1\AutoIt3\Include\download_progress.au3(102,46) : WARNING: $file_size_bytes: possibly used before declaration. Return Round( (($iniDown/$file_size_bytes) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\PROGRA~1\AutoIt3\Include\download_progress.au3(65,29) : ERROR: $time_inicio: undeclared global variable. $t = TimerDiff($time_inicio) Can anyone help me with this? Thanks a bunch in advance. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now