
maddogrsf
Members-
Posts
16 -
Joined
-
Last visited
Everything posted by maddogrsf
-
Autoit Works with TLS and ssl ftps
maddogrsf replied to maddogrsf's topic in AutoIt General Help and Support
as far as no one finds out maybe some one has my very same issue i can suggest also to use LFTP ... it is a very useful utility -
Autoit Works with TLS and ssl ftps
maddogrsf replied to maddogrsf's topic in AutoIt General Help and Support
guys i think you are misunderstanding . i dont need auto it to work with a SFTP (SSH FILE TRANSFER PROTOCOL) . i need it to work with FTP / S (file transfer protocol over secure socket layer) in particular way i need it to connect to a server using a AUTH TLS protocol. so maybe someone know it ? if not possible youcan suggest me a ftp/s cliend over command line that support the SIZE ftp command ? edit : maybe if not directly integrable by a UDF i have found this 3rd party cli software https://ftps.codeplex.com/ -
Autoit Works with TLS and ssl ftps
maddogrsf replied to maddogrsf's topic in AutoIt General Help and Support
no i mean connect to a ftp server using AUTH TLS protocol . -
hi everyone . is there a way for auto it to work with tls or ssl ftps sites naturally ?
-
hi everyone . Learning more and more of autoit and i have to say it is VERY powerful. now im into a small automation project Here is what i plan : i want , using while/ wend to monitor a log file of an application and when there is a line added i need that auto it " exports" that line i need this for an automation of my ftp server. it checks sfv files and when an upload is " COMPLETE " the ftp server logs it . i need that when there is written this log entry to extract it and run unrar is some regex parameters are met. the hard part is the real time monitoring at the moment my code is very unsuccessful (if required i can paste it here) plus after 40 sec of run time i usually get an out of memory error can you please me show some effective ways of to monitor a file and extract last written line (guess using readline -1) in real time ? thx and regards
-
Hello again every one i have one very strange issue. first of all as i said in a previous thread im writing a script to interact with an app called Z_o_o_m File & image uploader" (to cut it short i will call it uptool from now on) to know more how my small project works you can have a look at my previous thread if this would also allow you to solve my issue . anyway here is part of my actual source code ;BEGIN UPLOADER For $i = 1 To $arrayLength - 1 WinActivate(" File & Image Uploader 7.1.3 = Freeware =","") sleep (300) Controlclick(" File & Image Uploader 7.1.3 = Freeware =","","[CLASS:SysHeader32; INSTANCE:1]","left", 1, 483, 9) ;set the listing by alphabetical order Controlclick(" File & Image Uploader 7.1.3 = Freeware =","","[CLASS:TPanel; INSTANCE:1]","left", 1, 14, 23) ;click on the select file input sleep (700) ControlSend ("Open","","[CLASSNN:Edit1]", $array[$i]) sleep (500) Controlclick("Open","","[CLASSNN:Button2]") sleep (200) ;this lines actually say what file to upload starting from the first file in the array list ....rest of the source code the issue is the following : sometimes , RANDOMLY apparently , when the script has to send $i (file name to upload) it will send it wrong. lets suppose this $i = c:\backups\folderxyz\filexyz.extension most of the time it will send it correctly but some times it wil result into c.|backups\folderxyz\filexyz.extension or c:|backups\folderxyz\filexyz.extension or c.\backups\folderxyz|filexyz.extension or similar results as " someone" is pressing , randomly, an "SHIFT" input that if it occurs in : to . or \ to | or . to : will make my script fail as the software wont , of course , finde any file as the given path is inconsistent got any hints to know what is the reason of this abnormal random behaviour ? got any suggestion how to solve it ( i was thinking to add some string with regex checking to match values but that will add more code and every one knows that the more line there are the higher are the bugs ) so maybe the autoit has some regedit strings or something to finetune its functions ? regards
-
hey guys thx for your replies i just back from my office time , will test first how i thought @ first using either "Do until AND" or using "while do until wend". sycam0inc ---- your solution looks VERY ELEGANT , and so so simple . i didnt even knew there was such contine loop and exit loop ! im a novice ! i will test it also ! THANK YOU !
-
Hi all im writing a small script that will let me automate my fileuploading need to my cloudspace. to do so im invoking in my script a small freeware software called " Z_o_o_m File & image uploader" (to cut it short i will call it uptool from now on) The project is planned to work in this way : 1)script exe evoked by Windows scheduled task Every night at 1:00 AM 2)script creates an array containing the files inside the upload folder 3)script launches uptool 4)Script says to uptool 1 file at time, reading it from the array previously created, untill all files of the array are uploaded 5)When all file uploaded script erases all file in the upload folder and now lets get to the problem all works flawlessy except for the fact that SOMETIMES the upload tool fails the upload ( this can be to various reason , being an unattended script many thing can happen as : connection lost , connection problem on the filehost side and more so i was thinking of a filter that actually check if the file is actually uploaded to do so i tought to interact with uptool in such way: Launch uptool Empty clipboard send file to uptool sleep100ms click in the area where it show the result of the upload in uptool (this areaof uptool was programed by the author of uptool as if upload successful pastes automatically by its own url of the upload if upload unsuccessful pastes a standard error message " error download url not found" if upload not yet complete it makes clipboard empty, so this will be the filter of choice) if clipboard empty then sleep until clipoboard gets either the url or the error code if error code happens erase from the result area the error message (so that it gets empty again) then go in the uptool filelist area (that has only one file in the list) click , send home shift end (to select all files even if it is 1 file in the list this will make it coordinates not necessary) then send the reupload input the question is : Does the Do.... until ..... accept bolean operator "AND" DO reupload until value got from message area is not "" and not "error" ? thank you PS this is my suorce code so far ;BEGIN UPLOADER For $i = 1 To $arrayLength - 1 WinActivate(" File & Image Uploader 7.1.3 = Freeware =","") sleep (300) Controlclick(" File & Image Uploader 7.1.3 = Freeware =","","[CLASS:SysHeader32; INSTANCE:1]","left", 1, 483, 9) ;set the listing by alphabetical order Controlclick(" File & Image Uploader 7.1.3 = Freeware =","","[CLASS:TPanel; INSTANCE:1]","left", 1, 14, 23) ;click on the select file input sleep (500) ControlSend ("Open","","[CLASSNN:Edit1]", $array[$i]) sleep (400) Controlclick("Open","","[CLASSNN:Button2]") sleep (400) ;this lines actually say what file to upload starting from the first file in the array list Do sleep (100) ClipPut("") ;clipoard empty sleep (100) Controlclick(" File & Image Uploader 7.1.3 = Freeware =","","[CLASSNN:TTntListView.UnicodeClass1]") ;click to the output area of uptool to get either error code or down link Send("{HOME}") Send("{SHIFTDOWN}{END}{SHIFTUP} ") Send("{DEL}") Local $LINKZ = ClipGet() Until $LINKZ <> "" i was thinking to add a selection the end of this code Select Case $LINKZ = "Error: Download link not found!" Do the reup thingies untli $LINKZ <> "" AND LINKZ <> "Error: Download link not found!" Case $LINKZ <>"Error: Download link not found!" AND $LINKZ <> "" proceeed with normal script end selection
-
i cant convert all to auto it that would be VERY VERY hard as watchdirectory is a very complex program that watches and monitors paths for file change and to write a tol similar to that will be extremely hard for me ! already passing variables seems hard to me imagine write such a tool ! @ BrewManNH can you make me an exemple code ? or point me to some manual page ? or something practical ? edit: I think i found what i needed: googled the EnvGet + Autoit and got a man page ! now i know how to use it thank you if i will need further help i will write again here ! thank you ! edit 2: Ok just now tested. works like a charm now i can send to my autoit exe the env variable of watchdirectory using the evnget funciton i just have to declare them as globalvariables:)
-
so here i am back i am at a point that my " not professional trick" is not useful for my needs here is the situation hopeing that someone can help me so i have this programme called watchdirectory whenever a new event occours it can exectues several actions such as running a bat file or vbs script or exe file and so i would like that my watchdirectory executes a bat file and i would like to know if there is the possibility that this bat file calls an autoit compiled exe and sends parameter to it e.g new file creted on c:incoming run this bat code of bat file code code code copy %WD_FILE% d: c:scriptmyautoitcompiledexe.exe /%WD_FILE% echo now start auto it ! code of my autoit script prior to compiling it to exe 32 bit : code code code code run explorer %WD_FILE% code code code the file name i not constant it is variable so i need that auto it exe can get this variable value from the batch file that gets it via watchdirectory enviroinment variables (%WD_FILE% is the ev to get complete file path that causes an events) is it possible to achieve so ? if yes how ? regards
-
How to activate a certain tab on a program
maddogrsf replied to maddogrsf's topic in AutoIt General Help and Support
thank you . the tab looping is just perfect ! -
hello everyone and thank you in advance for the support.i m using a software called watchdirectory i setted it to watch a folder for any newly created file when a newly created file exist it should execute a bat in this bat notepad c:monitoreddir%wdfile_b%.%wdfile_e% (notice tha this variable is a special envirointment variable setted when the monitoring task by watchdirectory is running) set filename=%wdfile_b% autoitexescript.exe here te autoit script goes and modify some values of the txt window to do so i need to activate the notepad window but if the file name changes every time i can so i was thinking is it possible to pass to autoit %filename% variable that was inside the bat and then compile the script as an exe ? if yes how ? regards