dnsi Posted July 2, 2006 Share Posted July 2, 2006 I tried to FTP a file and then Ftped another file but it didn't work. I user the functions in FTP.au3 My Programs:Flip-Flop File Encryption SysyemMULTIPLAYER-SOCKETSERVERHide An Archive In A Picture Link to comment Share on other sites More sharing options...
PsaltyDS Posted July 3, 2006 Share Posted July 3, 2006 I tried to FTP a file and then Ftped another file but it didn't work. I user the functions in FTP.au3Ummm... Can you show some code? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
dnsi Posted July 3, 2006 Author Share Posted July 3, 2006 Yah i can: $Open1 = _FTPOpen('MyFTP Control1') $Conn1 = _FTPConnect($Open1, $server, $username, $pass) _FTPDelFile($Conn1, '/config.con') $Ftpp1 = _FtpPutFile($Conn1, @TempDir & '\config.con', '/config.con') $Ftpp2 = _FtpPutFile($Conn1, @TempDir & '\config1.con', '/config1.con')//error happens here and doesn't upload. My Programs:Flip-Flop File Encryption SysyemMULTIPLAYER-SOCKETSERVERHide An Archive In A Picture Link to comment Share on other sites More sharing options...
w0uter Posted July 3, 2006 Share Posted July 3, 2006 (edited) I forgot if it overwrote a file try a _FTPDelFile($Conn1, '/config1.con') there too. well what does $Ftpp2 contain ? also call GetLastError @ kernel32.dll after the error. Edited July 3, 2006 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...
Busti Posted July 3, 2006 Share Posted July 3, 2006 Func _GetLastError() ;[DllImport("kernel32.dll")] ;static extern int GetLastError (); $ret = DllCall("kernel32.dll", "int" , "GetLastError" ) Return $ret[0] EndFunc is this right @ w0uter? My UDF's : Startet on : 06.06.2006_CaseSearchOrReplaceStr();~> Searches OR Replaces a String,;~> With or Without Casesensivity Link to comment Share on other sites More sharing options...
w0uter Posted July 3, 2006 Share Posted July 3, 2006 i dont see why not 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...
dnsi Posted July 4, 2006 Author Share Posted July 4, 2006 Sorry false call. There was no problem. I misspelled the name. And didn't add the backslash before the filename. :"> :"> My Programs:Flip-Flop File Encryption SysyemMULTIPLAYER-SOCKETSERVERHide An Archive In A Picture 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