mads3n Posted June 8, 2005 Share Posted June 8, 2005 is it possible to make a Autoit v3. script open a ftp-server if I have the adress? .. Mads3n.dk Link to comment Share on other sites More sharing options...
Lazycat Posted June 8, 2005 Share Posted June 8, 2005 What you mean as "open"? You can download from server with internal commands (InetGet, InetGetSize, FtpSetProxy, FtpBinaryMode), or delete, upload etc with this UDF. Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) Link to comment Share on other sites More sharing options...
mads3n Posted June 8, 2005 Author Share Posted June 8, 2005 What you mean as "open"? You can download from server with internal commands (InetGet, InetGetSize, FtpSetProxy, FtpBinaryMode), or delete, upload etc with this UDF.<{POST_SNAPBACK}>I have made a script, now i want the script to:1. open a .txt file on my ftp-server, and load it into the edit box.2. and save it again on the server when the save (GEM) button is pressed..heres my script:expandcollapse popup#include <GuiConstants.au3> $mainwindow = GuiCreate("Lan-Partys", 400, 400) $savebutton = GUICtrlCreateButton ( "GEM", 100, 5, 200, 60, 0x0300) $Cancel_Btn = GUICtrlCreateButton ( "LUK", 10, 5, 40, 40, 0x0300) ; EDIT GuiCtrlCreateEdit("Lan-Partys", 10, 110, 380, 280) ; PROGRESS GuiCtrlCreateLabel("Fremgang:", 10, 82) $progress = GuiCtrlCreateProgress(70, 80, 320, 20, 0x01) GuiCtrlSetData(-1, 00) ;Show window/Make the window visible GUISetState(@SW_SHOW) While 1 ;After every loop check if the user clicked something in the GUI window $msg = GUIGetMsg() Select ;Check if user clicked on the close button Case $msg = $GUI_EVENT_CLOSE ;Exit the script Exit ;Check if user clicked on the "OK" button Case $msg = $savebutton ;Check if user clicked on the "CANCEL" button Case $msg = $Cancel_Btn Exit EndSelect WEnd Mads3n.dk Link to comment Share on other sites More sharing options...
w0uter Posted June 8, 2005 Share Posted June 8, 2005 (edited) 1. open a .txt file on my ftp-server, and load it into the edit box.<{POST_SNAPBACK}>You can download from server with internal commands (InetGet, InetGetSize, FtpSetProxy, FtpBinaryMode)<{POST_SNAPBACK}>2. and save it again on the server when the save (GEM) button is pressed..<{POST_SNAPBACK}>or delete, upload etc with this UDF.<{POST_SNAPBACK}> Edited June 8, 2005 by w0uter My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
mads3n Posted June 8, 2005 Author Share Posted June 8, 2005 <{POST_SNAPBACK}>Cant you help by modyfying my code?im not so good at this yet.. just download the file, then save the content from edit-box in file, and the upload..my code is in the top.. Mads3n.dk 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