FTP Class + Library [FTP as easy as 1-2-3]
i do not think wininet supports FTPES. Anyway, MSDN does not mention it does. You may need commercial libraries to do that.
my site | ~shajul | WYSIWYG BBCode Editor
I keep getting
--------------------------- Error! --------------------------- Error : 12014 - The password was not allowed --------------------------- OK ---------------------------Whenever I try to use this with autohotkey.net. I've double and triple-checked the user/pass, and tried both "user" and "[email protected]" for the username.
This occurs on the ftp1.open() line.
can you please add an option for AutoProxy like VxE did for his function HTTPRequest ?
ThanksAutoProxy - This option tells HTTPRequest to use Internet Exlporer's proxy configuration. If your Internet Explorer is not configured to use a proxy, this option has no effect.
I am willing to hand over this project to whoever is willing and able to maintain it better :oops:
my site | ~shajul | WYSIWYG BBCode Editor
I confirmed that the connection was opened, its uploading to the right directory, and thats its creating the files.
But the files all stay 0b and dont upload correctly
I get this error
Error : 12003 200 TYPE is now 8-bit binary 200 PORT command successful 425 Could not open data connection to port 51134: Connection timed out
EDIT: NVM, i needed to use passive mode.
http://www.autohotke...ests-and-fixes/
https://dl.dropbox.c...kups/index.html
Although ahk.net is currently on trouble, I suppose most of us are able to actually log into our respective accounts...I am unable to access my AHK FTP account
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Antonio França -- git.io -- github.com -- ahk4.net -- sites.google.com -- ahkscript.org
Member of the AHK community since 08/Apr/2009. Moderator since mid-2012.
Thank you
---
Found it I believe.. for those who are looking:
https://github.com/g...ee/master/FTPv2
Hi,
I create a function for FTP upload , but it doesn't work.
I get this error message:
Could not load module/InternetOpen
UploadFile(server,user,psw,dir,file){ ftp1 := new FTP() ftp1 ? TTip("InternetOpen Success") : Quit("Could not load module/InternetOpen") ftp1.Open(server, user, psw) ? TTip("Connected to FTP") : Quit(ftp1.LastError) ftp1.SetCurrentDirectory(dir) ftp1.InternetWriteFile( file) ? TTip("Upload success!") : Msg(ftp1.LastError) ftp1 := "" }
Somebody know what is the problem?
Thanx
I need FTP library to use this, anyone could post the lib here or create a new link?
https://github.com/g...ee/master/FTPv2
But there is an error in script.
function ftp1.GetFileSize(UploadedFile) shows "-1" if file is bigger than 1gb.