Sign in to follow this  
Followers 0
sl4y3r

TCP IP File Transfer - Possible? --> HowTo?

15 posts in this topic

Hello people!

Is it possible to transfer a file via TCP IP..?

If it's possible...

Can you help me to build a small and easy script, which should send a file via tcp to another pc...

thx

sl4y3r

Share this post


Link to post
Share on other sites



Why use TCP when FTP (File Transfer Protocol) is the preferred method other use? Unless you are trying to subvert filtering that is in place, it is the way to go.

The help file has examples that you may be able to press into good use.

Share this post


Link to post
Share on other sites

FTP doesn't work on the new vers of AutoIt :)

Share this post


Link to post
Share on other sites

FTP doesn't work on the new vers of AutoIt :)

I have tried an ftp uploader I wrote with production version 3.3.0.0 dated 24th December 2008 and Beta version 3.2.13.13 dated 20th Dec 2008.

I didn't find any problems.

What have you found that stops ftp working?


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

here's with tcp :) and it also has some basic security

send.au3

recv.au3


Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro

Share this post


Link to post
Share on other sites

Hello

I have check this send and recv scripts but my question is what to do to have this to work with bigger files more than 1MB size.

Share this post


Link to post
Share on other sites

Why use TCP when FTP (File Transfer Protocol) is the preferred method other use?

TCP and FTP... two totally different things :o:)

Share this post


Link to post
Share on other sites

Thanks Kip

Do you have some examples to have a send and recieve to send files between to computers..

Share this post


Link to post
Share on other sites

i would sugest downloading an ftp server... OR im pretty sure autoit can make one but i have no idea even where to start on THAT aspect

Share this post


Link to post
Share on other sites

i would sugest downloading an ftp server... OR im pretty sure autoit can make one but i have no idea even where to start on THAT aspect

why would he have to install/make a ftp server when plain old tcp would work just fine??

p.s.: as i said in the reply on your pm borje that should work just fine.... (tested it and worked!) but ... you should try sending smaller parts

so in send.au3 $MAX_SIZE should be smaller(try 500*1024=500k)


Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro

Share this post


Link to post
Share on other sites

WOA... i finally found this topic... lol sorry i fogot the title.. anyway FTP\TCP are completely different things.. sure you can read the file and send that in binary through TCP but yeah

TCP and FTP... two totally different things

Share this post


Link to post
Share on other sites

I already have a FTP client... how can I create a FTP server with autoit code??

Explored using a few FTP servers but all has their inhibitions.. the requirements for the ftp server is very basic.. only requirement is that I need to know when it's completed so I can do something to the file that came in.

Share this post


Link to post
Share on other sites

you could use ftp.exe (on the computer by default)

to take a look at it try opening the CMD window and type what follows:

ftp some.host.com

you will obviously need access credentials to access the site once you have done that!

cheers


Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org

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