Jump to content

help me pls ...


Recommended Posts

I want to make this software and fail :(

#include 
#include 
#include 
#include 
#include 
#include 
#include 



$Form1 = GUICreate("FileZilla by C0dex", 643, 631, 192, 124)
$Nick = GUICtrlCreateInput("Nick", 8, 8, 169, 25)
GUICtrlSetFont(-1, 9, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$password = GUICtrlCreateInput("Password", 192, 8, 169, 25, BitOR($GUI_SS_DEFAULT_INPUT,$ES_PASSWORD))
GUICtrlSetFont(-1, 9, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Server = GUICtrlCreateInput("Server", 384, 8, 169, 25)
GUICtrlSetFont(-1, 9, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$connect = GUICtrlCreateButton("Connect", 560, 8, 75, 25)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
$Group1 = GUICtrlCreateGroup("Update File :", 8, 48, 625, 57)
GUICtrlSetFont(-1, 9, 800, 0, "Palatino Linotype")
$up = GUICtrlCreateInput("Upload", 16, 72, 169, 25)
$Filedirectory= GUICtrlCreateInput("File Directory Server", 200, 72, 201, 25)
$upload = GUICtrlCreateButton("Upload", 416, 72, 83, 25)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
$dir = GUICtrlCreateButton("Chosen Dir", 528, 72, 91, 25)
GUICtrlSetFont(-1, 9, 800, 0, "Palatino Linotype")
$Group2 = GUICtrlCreateGroup("Delete a File", 8, 112, 345, 65)
GUICtrlSetFont(-1, 9, 800, 0, "Palatino Linotype")
$del = GUICtrlCreateInput("Delete Directory Server", 24, 136, 233, 25)
$delete = GUICtrlCreateButton("Delete", 264, 136, 75, 25)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
$Group3 = GUICtrlCreateGroup("Server File Status", 360, 120, 273, 57)
GUICtrlSetFont(-1, 9, 800, 0, "Palatino Linotype")
$Input4 = GUICtrlCreateInput("Path of server", 368, 144, 185, 25)
$Button5 = GUICtrlCreateButton("Refresh", 560, 144, 67, 25)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
$TreeView1 = GUICtrlCreateTreeView(8, 184, 625, 441)
GUISetState(@SW_SHOW)


While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit

Case $connect
$nick=GUICtrlRead($Nick)
$password=GUICtrlRead($password)
$server=GUICtrlRead($server)
$oFTP=_FTP_Open ("oFTP")
$cFTP=_FTP_Connect ($oFTP,$server,$nick,$password)

Case $dir
Local $message = "Press Ctrl or Shift to choose multiple files."
Local $var = FileOpenDialog($message, @DocumentsCommonDir & "\", "*.*")
If @error Then
MsgBox(4096, "", "No File chosen")
Else
Global $DirForUpdate = StringReplace($var, "|", @CRLF)
MsgBox(4096, "", "You chose " & $var)
EndIf
GUICtrlSetData($Up,$DirForUpdate)
Case $upload
$Fdir=GUICtrlRead($Filedirectory)
$pFTP=_FTP_FilePut($cFTP,GUICtrlRead($Up),$Fdir)

Case $delete
$s_RemoteFile=GUICtrlRead($Del)
_FTP_FileDelete($cFTP, $Filedirectory)




EndSwitch
WEnd

Tanks :bye:

[font=courier new,courier,monospace][u]Y Love You AutoiT[/u][/font]

Link to comment
Share on other sites

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
Share on other sites

  • Moderators

bogQ is trying to point out to you that you have given us almost nothing to work with. What should the script do? What is not working? What error(s) are you getting? What have you tried on your own? These are the questions we need answered before we can assist. Help us help you :)

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...