Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

BASH Lesson - Transfer Binary files across an network using NetCat

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,576
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 6, 2009

Transfer Binary files across an network using NetCat
http://www.bashscripts.info

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (metalx1000)

  • Is there a way to make it stop when the transfer is done?

  • @WASDsweden: off the top of my head I would say the "-q" switch. let me know if that works.

  • @metalx1000 "-q 1" worked in the client window. It closed the server as well.

  • @WASDsweden: I'm sure there is a better way of doing it, but if you want to keep the server running, you could put it in a loop:

    while [ 1 ]; do nc -l 8888;done

    May not be the best solution, but if we are transferring files using netcat, things aren't the best case scenario anyway.

  • isn't this a good alternative to ftp for quickly transfering files from a unxi pc to another....?

  • @Zaesar7: You could use this, but I would recommend using FTP if you are going to be doing a lot of transfers. This is good if you just need to transfer something now and don't want to setup an FTP server.

see all

All Comments (9)

Sign In or Sign Up now to post a comment!
  • @metalx1000 that's exactly what I ment... :)))

    Thank you for you're work, it's really usefull...

  • imagemagick is the package you want. It is full of fun things. Pretty much everything you need to Edit and Convert images from the command line. Think of it as GIMP for your command prompt.

  • Display is not installed on my distro (im using ubuntu). What command am i gonna type to install display?

    When i use aptitude search display, it lists a bunch of programs.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more