Sign in to follow this  
Followers 0
Noobster24

Upload The Txt-file

3 posts in this topic

#1 ·  Posted (edited)

Hello people :think: ,

this is my source for my program:

#include <File.au3>
#include <FTP.au3>

$filec = _FileCreate("list.txt") 
$file = FileOpen("list.txt", 1)

$list = ProcessList()

for $i = 1 to $list[0][0]       
FileWrite($file, $list[$i][0] & @CRLF)   
next

$server = "ftp://axp.***.nl"
$username = "*****"
$pass = "******"
$port = "21"

$Open = _FTPOpen("FTP")
$Conn = _FTPConnect($Open, $server, $username, $pass, $port)
$Ftpp = _FTPPutFile($Conn, "C:\Program Files\Tijdelijke bestanden\***\list.txt", "ftp://axp.***.nl/List/list.txt")
$Ftpc = _FTPClose($Open)

I use the FTP Library from W0uter (http://www.autoitscript.com/forum/index.php?showtopic=12473&hl=)

But the file (list.txt) isn't uploaded to the FTP server :(

What am I doing wrong?

Edited by Noobster24

Programs so far:Teh Serializer - Search for licenses for Nero - Windows - Office - Alcohol etc.

Share this post


Link to post
Share on other sites



Anyone, please?


Programs so far:Teh Serializer - Search for licenses for Nero - Windows - Office - Alcohol etc.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Edit:

It's working now, I needed to find the 'wininet.dll', that's all :think::(

Edited by Noobster24

Programs so far:Teh Serializer - Search for licenses for Nero - Windows - Office - Alcohol etc.

Share this post


Link to post
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
Sign in to follow this  
Followers 0