Jump to content

Inet Upload?


Recommended Posts

Please use English on this forum, to translate your posts to english use google translate.


Bitte benutzen Sie in diesem Forum Englisch, um Ihre Beiträge auf Englisch Nutzung google translate.

"Just be fred, all we gotta do, just be fred."  -Vocaliod

"That is a Hadouken. A KAMEHAMEHA would have taken him 13 days and 54 episodes to form." - Roden Hoxha

@tabhooked

Clock made of cursors ♣ Desktop Widgets ♣ Water Simulation

Link to comment
Share on other sites

Could you give us the website that you're using to upload/download the file?

Also, should I still put the translation on my posts?


Können Sie uns die Website, die Sie verwenden, um Upload / Download die Datei?
Auch sollte ich noch setzen die Übersetzung auf meine Beiträge?

"Just be fred, all we gotta do, just be fred."  -Vocaliod

"That is a Hadouken. A KAMEHAMEHA would have taken him 13 days and 54 episodes to form." - Roden Hoxha

@tabhooked

Clock made of cursors ♣ Desktop Widgets ♣ Water Simulation

Link to comment
Share on other sites

Nope, not necessary to add the translations. You can write english, thats fine.

Well, its just a txt file on my webserver.

Here i uploaded a file for testing: http://madara1337.3owl.com/Autoit.txt

To get the content of the file I use this:

Local $sData = InetRead("http://madara1337.3owl.com/Autoit.txt")
Local $nBytesRead = @extended
MsgBox(4096, "", "Bytes read: " & $nBytesRead & @CRLF & @CRLF & BinaryToString($sData))
Exit

That workss fine.

I now like to write a string to the text file without using all ftp credentials and stuff. Just a way to upload a string.

Link to comment
Share on other sites

>This topic might help you. That link auto directs you to post #7.

The UDF used in that post can be found >here.

Hope that helps. :)

Edited by DatMCEyeBall

"Just be fred, all we gotta do, just be fred."  -Vocaliod

"That is a Hadouken. A KAMEHAMEHA would have taken him 13 days and 54 episodes to form." - Roden Hoxha

@tabhooked

Clock made of cursors ♣ Desktop Widgets ♣ Water Simulation

Link to comment
Share on other sites

This is your webserver.  Do you have a php script or something to handle an http request and place it in to a file?  It sounds like you do not, so you would not be able to create an inet upload function like the inetget function.

You need some receiving script on the webserver side.  Otherwise, you could always set up an FTP server to handle incoming data and place it in your www/htdocs root directory.

Edited by danwilli
Link to comment
Share on other sites

ObjCreate for winhttp.winhttprequest.5.1 ?

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

$oHTTP = ObjCreate("winhttp.winhttprequest.5.1")
$oHTTP.Open("GET", "http://www.someurl.rs/test.php?some=vardata&someother=vardata" , False)
$oHTTP.send()
ConsoleWrite($oHTTP.Responsetext)

edit

if "winhttp.winhttprequest.5.1" fali (in some cases it can, example trying it on google search can result of blocking if from google service) you can allwayes try to use "Microsoft.XMLHTTP" instead of it

Edited by bogQ

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

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