Archive: What am I doing wrong?


What am I doing wrong?
Using the Inetload.dll plugin for uploading files to FTP.

Name "Inetc Test"
OutFile "put.exe"

Section
InetLoad::load "ftp://minenu:*******@minenu.12gbfree.com\sdk\" "C:\test\test.txt" /end
SectionEnd

What's the problem?
Code seems nice :)


Doesn't work


InetLoad is for downloading, not uploading. inetc::put might do the trick.


Name "Inetc Test"
OutFile "put.exe"

Section
inetc::put "ftp://minenu:^^^^^^^@minenu.12gbfree.com" "C:\drivers2\ff.txt" /end
SectionEnd


Still dosen't work.

I'm using cURL for now but I wish I didn't have to

Just found this thread... Please note that inetc usage sample includes plug-ins exit code handling (Pop), very good for debugging ;) This way you can see what error took place. And in your first URL I see left slashes, might be better to use right one.