martin Posted November 24, 2006 Share Posted November 24, 2006 InetGet can only read the files on a server from folders which have public access, (if I'm wrong please tell me) whereas the ftp routines in ftp.au3 for example aren't restricted this way. I can't see how to download a file using ftp methods in an Autoit script but uploading is no problem. Anyone know how to do this?. Also, I can list all files in a folder on the remote site but I don't see how to list the folders. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
dabus Posted November 24, 2006 Share Posted November 24, 2006 Why don't you search for ftp and click on ftp.au3 ?!?http://www.autoitscript.com/forum/index.php?showtopic=12473 Link to comment Share on other sites More sharing options...
martin Posted November 24, 2006 Author Share Posted November 24, 2006 Why don't you search for ftp and click on ftp.au3 ?!?http://www.autoitscript.com/forum/index.php?showtopic=12473 Well I have done and more, but I don't see FTPGetFile. Can you tell me where this is?I am also having problems with FTPListfiles hanging today, whereas yesterday it worked fine. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
/dev/null Posted November 24, 2006 Share Posted November 24, 2006 Well I have done and more, but I don't see FTPGetFile. Can you tell me where this is?I am also having problems with FTPListfiles hanging today, whereas yesterday it worked fine. http://www.autoitscript.com/forum/index.ph...st&p=167452CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
martin Posted November 24, 2006 Author Share Posted November 24, 2006 (edited) http://www.autoitscript.com/forum/index.ph...st&p=167452CheersKurtThanks forthe link dev/null, I had found several links to ftp.au3 files but none had FTPGetFile.My problem now is that I can do some things but not others but cannot see what I am doing wrongFTPopen is okFTPSetDirectory = okFTPGetCurrentdirectory = okBut the call to Wininet.dll hangs when I try any of these functionsFTPListFilesFTPGetfileFTPFindFirst I have tried reinstalling Wininet.dll, running a compiled script which worked when it was compiled but that hangs, tried running the script on another PC but same problem.I wonder if something could have changed with the site configuration, but I am totally lost and have spent about 6 hours trying to get a program to work, which worked yesterday and only took 1 hour to write.Any ideas?? Edited November 25, 2006 by martin Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
/dev/null Posted November 26, 2006 Share Posted November 26, 2006 (edited) I have tried reinstalling Wininet.dll, running a compiled script which worked when it was compiled but that hangs, tried running the script on another PC but same problem.I wonder if something could have changed with the site configuration, but I am totally lost and have spent about 6 hours trying to get a program to work, which worked yesterday and only took 1 hour to write.Any ideas??did you try to load the dll with $dllhandle = DllOpen("wininet.dll") ?? Take a look at this: http://www.autoitscript.com/forum/index.ph...st&p=270830CheersKurt Edited November 26, 2006 by /dev/null __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * 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