jwilberding / bcp Goto Github PK
View Code? Open in Web Editor NEWBroadcast Copy
License: GNU General Public License v3.0
Broadcast Copy
License: GNU General Public License v3.0
Leave up and running so multiple computers can download.
As I have noticed there is no license used in the project. Shouldn't it be more appropriate to use one in order to protect the project from any unwanted implications ?
And as a free software supporter I suggest using GNU GPL license
If you turn on the server, that immediately gives anyone on the network the ability to make you overwrite any file on the file system (subject to permissions of the current user). You need to either let the receiver be the one who specifies the filename or strip the path from the filename.
Thanks to jbester:
The code assumes both the client and the server have the same endian. This can be issue since a uint32 is used for both the synchronization code (BCP_CODE) and the port. This can easily fixed with htonl/ntohl conversions.
it assumes both the client and the server define int to be the same size (may or may not be true based on compiler/processor/OS combinations). If you use stdint definitions, this typically won't be an issue
Test different file sizes and filename lengths.
This project does not seem to contain any licensing information. See "GitHub needs to take open source seriously" for more information as to why this is important, even when posting code on Github.
Tried with a big file over wireless and did not seem to work.
Thanks to latitude:
Try and add support for detecting piped input on the server side:
bcp < filename
because this would allow for things like
cat filename | gzip | bcp
with the receiving end doing
bcp | gunzip > filename
If receiving file, check to make sure not overwriting, if it will, ask user first.
It would be swell if a homebrew formula existed for this simple utility. It's pretty great to use on a network of trusted machines and in labs where many of our users have OSX on their machines.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.