sl4y3r Posted December 30, 2008 Share Posted December 30, 2008 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...thxsl4y3r Link to comment Share on other sites More sharing options...
Kip Posted December 30, 2008 Share Posted December 30, 2008 Search. Yes it's possible, and almost nothing with TCP is easy for a beginner. MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
Confuzzled Posted January 1, 2009 Share Posted January 1, 2009 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. Link to comment Share on other sites More sharing options...
sl4y3r Posted January 1, 2009 Author Share Posted January 1, 2009 FTP doesn't work on the new vers of AutoIt Link to comment Share on other sites More sharing options...
martin Posted January 1, 2009 Share Posted January 1, 2009 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. Link to comment Share on other sites More sharing options...
Xand3r Posted January 1, 2009 Share Posted January 1, 2009 here's with tcp and it also has some basic securitysend.au3recv.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 Link to comment Share on other sites More sharing options...
Borje Posted January 2, 2009 Share Posted January 2, 2009 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. Link to comment Share on other sites More sharing options...
Kip Posted January 2, 2009 Share Posted January 2, 2009 Why use TCP when FTP (File Transfer Protocol) is the preferred method other use?TCP and FTP... two totally different things MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
Borje Posted January 2, 2009 Share Posted January 2, 2009 Thanks Kip Do you have some examples to have a send and recieve to send files between to computers.. Link to comment Share on other sites More sharing options...
CodyBarrett Posted January 2, 2009 Share Posted January 2, 2009 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 [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
Xand3r Posted January 2, 2009 Share Posted January 2, 2009 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 aspectwhy 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 partsso 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 Link to comment Share on other sites More sharing options...
CodyBarrett Posted January 15, 2009 Share Posted January 15, 2009 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 yeahTCP and FTP... two totally different things [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
willyfoo Posted January 26, 2009 Share Posted January 26, 2009 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. Link to comment Share on other sites More sharing options...
torels Posted January 26, 2009 Share Posted January 26, 2009 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 Link to comment Share on other sites More sharing options...
Guest AutoitPq Posted April 17, 2009 Share Posted April 17, 2009 Nice Work Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now