TPaul81 Posted February 15, 2008 Share Posted February 15, 2008 Im trying to use DriveMapAdd for an ftp folder but it doesnt seem to work... Opt("TrayIconHide", 1) GUICreate("CretaForce WebDrive", 480, 240) $username_cf = GUICtrlCreateInput("", 280, 10, 180, 20) $password_cf = GUICtrlCreateInput("", 280, 40, 180, 20) $connect_cf = GUICtrlCreateButton("Connect!", 180, 70, 80, 20) GUISetState() Func Connect_Drive() $username_= GUICtrlRead($username_cf) $password_= GUICtrlRead($password_cf) DriveMapAdd("X:", "ftp://server3.server.com", 8, $username_, $password_) EndFunc While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE DriveMapDel("X:") Exit Case $msg = $connect_cf Call("Connect_Drive") EndSelect WEnd Anyone has any ideas? My Scripts (so far)Myspace Layout EditorAnother Boss ScreenClipboard Collector Link to comment Share on other sites More sharing options...
ProgAndy Posted February 15, 2008 Share Posted February 15, 2008 I think that's not possible. But you can use NetDrive *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...
simusphere Posted February 15, 2008 Share Posted February 15, 2008 I think that's not possible. But you can use NetDriveLooks like you need to log in to download NetDrive. That doesn't help much without an account. Link to comment Share on other sites More sharing options...
TPaul81 Posted February 15, 2008 Author Share Posted February 15, 2008 I think that's not possible. But you can use NetDriveIts a bit irrelevant actually, cause this doesnt help my code go any further... My Scripts (so far)Myspace Layout EditorAnother Boss ScreenClipboard Collector Link to comment Share on other sites More sharing options...
SpookMeister Posted February 15, 2008 Share Posted February 15, 2008 (edited) I came across this in a google search:http://www.astahost.com/info.php/map-ftp-s...rive_t7292.htmlIt appears to use CuteFTP as an interpreter... may be worth checking outedit: never mind, CuteFTP is just his name for the hostfile entry... may still be worth a look though Edited February 15, 2008 by SpookMeister [u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote] Link to comment Share on other sites More sharing options...
SpookMeister Posted February 15, 2008 Share Posted February 15, 2008 http://www.freewarereview.info/2007-01/net...yle_drives.html [u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote] 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