Jump to content

FTP Stuff onto the internet


Recommended Posts

I tried to FTP a file and then Ftped another file but it didn't work. I user the functions in FTP.au3

Ummm... Can you show some code? :D

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

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.
Link to comment
Share on other sites

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 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

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...