FTP get file?
#1
Posted 24 November 2006 - 12:01 AM
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.
#2
Posted 24 November 2006 - 07:28 AM
http://www.autoitscript.com/forum/index.php?showtopic=12473
#3
Posted 24 November 2006 - 12:02 PM
Well I have done and more, but I don't see FTPGetFile. Can you tell me where this is?Why don't you search for ftp and click on ftp.au3 ?!?
http://www.autoitscript.com/forum/index.php?showtopic=12473
I am also having problems with FTPListfiles hanging today, whereas yesterday it worked fine.
#4
Posted 24 November 2006 - 03:14 PM
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=167452
Cheers
Kurt
#5
Posted 24 November 2006 - 10:52 PM
http://www.autoitscript.com/forum/index.ph...st&p=167452
Cheers
Kurt
Thanks 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 wrong
FTPopen is ok
FTPSetDirectory = ok
FTPGetCurrentdirectory = ok
But the call to Wininet.dll hangs when I try any of these functions
FTPListFiles
FTPGetfile
FTPFindFirst
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 by martin, 25 November 2006 - 12:18 AM.
#6
Posted 26 November 2006 - 12:28 PM
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=270830
Cheers
Kurt
Edited by /dev/null, 26 November 2006 - 12:30 PM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users





