cypher175 Posted December 2, 2008 Share Posted December 2, 2008 I wana make an APP that utilizes FTP, so I wana know whats the best FTP AutoIt function here that's most used and developed on..?? Link to comment Share on other sites More sharing options...
FireFox Posted December 2, 2008 Share Posted December 2, 2008 I wana make an APP that utilizes FTP, so I wana know whats the best FTP AutoIt function here that's most used and developed on..??Hi,Have your searched on autoit forum ?Certainly not... go to Exemples Script forum and on sticky you have FTP.au3 Link to comment Share on other sites More sharing options...
ProgAndy Posted December 2, 2008 Share Posted December 2, 2008 (edited) Theres also a simplified and updated version here http://www.autoitscript.com/forum/index.php?showtopic=78378if you need FTP upload/download with progress, you could use the FTP_Ex.au3 from here: http://www.autoit.de/index.php?page=Thread&threadID=6528 , but normally you won't need this Edited December 2, 2008 by ProgAndy *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
Zedna Posted December 2, 2008 Share Posted December 2, 2008 Theres also a simplified and updated version here http://www.autoitscript.com/forum/index.php?showtopic=78378 if you need FTP upload/download with progress, you could use the FTP_Ex.au3 from here: http://www.autoit.de/index.php?page=Thread&threadID=6528 , but normally you won't need this Your FTP_Ex has still very old bug for which I posted fix already: Func _FTPGetFileSize($l_FTPSession, $s_FileName) Local $ai_FTPGetSizeHandle = DllCall($GLOBAL_FTP_WININETHANDLE, 'int', 'FtpOpenFile', 'hwnd', $l_FTPSession, 'str', $s_FileName, 'long', 0x80000000, 'long', 0x04000002, 'long', 0) Local $ai_FTPGetFileSize = DllCall($GLOBAL_FTP_WININETHANDLE, 'dword', 'FtpGetFileSize', 'long', $ai_FTPGetSizeHandle[0], 'dword*', 0) If @error Or $ai_FTPGetFileSize[0] = 0 Then SetError(-1) Return 0 EndIf DllCall($GLOBAL_FTP_WININETHANDLE, 'int', 'InternetCloseHandle', 'str', $ai_FTPGetSizeHandle[0]) ; <-- fix ;~ Return $ai_FTPGetFileSize[0] Return BitOR(BitShift($ai_FTPGetFileSize[2], -32), BitAND($ai_FTPGetFileSize[0], 0xFFFFFFFF)) EndFunc ;==>_FTPGetFileSize Resources UDF Â ResourcesEx UDF Â AutoIt Forum Search Link to comment Share on other sites More sharing options...
cypher175 Posted December 2, 2008 Author Share Posted December 2, 2008 do any of these FTP function support FTP Upload Resuming, in case only part of the file were uploaded upon next FTP upload it can resume where it left off..?? Link to comment Share on other sites More sharing options...
cypher175 Posted December 3, 2008 Author Share Posted December 3, 2008 Does anyone know if what i asked in the above post is even feasible using AutoIt with some FTP Function..?? Link to comment Share on other sites More sharing options...
ProgAndy Posted December 3, 2008 Share Posted December 3, 2008 This is not possible. (Don't know if you can do this on your own with InternetWriteFile) *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
cypher175 Posted December 3, 2008 Author Share Posted December 3, 2008 (edited) my AceFTP Client can resume uploaded files..!!Is there any type of external FTP app that Autoit could call to do this FTP Resume Uploading..?? Edited December 3, 2008 by cypher175 Link to comment Share on other sites More sharing options...
ghetek Posted February 13, 2009 Share Posted February 13, 2009 Does anybody have a working example of an FTP upload that starts an upload and immediately returns back to the script to allow me to make a prorgess bar with FTPGetFileSize? Link to comment Share on other sites More sharing options...
ProgAndy Posted February 13, 2009 Share Posted February 13, 2009 (edited) I made a func in my UDF, just look in my signature (FTP_Ex) It has a callback-func where you can do what you want, e.g. set a progressbar / cancel upload ... Edited February 13, 2009 by ProgAndy *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes 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