To transfer files over a local network, would a good way to convert to bytes (1024), then send across the network? I'm building a professional file transfer program for a company with certain "file permissions" on the server. Only certain users can access certain directories. I haven't started yet, but the paperwork is being approved now. I just need to know if I am taking a bad approach. I was thinking of creating a login. Certain people have certain permissions, as deemed by the moderators on the server. I have made a basic home-made FTP program (self-made, no external libraries, etc). I have experience with Java networking programming, but haven't made an advanced FTP server yet. Here's what I got so far (pseudo code for the server) :
PS : I might not be on for a week or so as my computer screen is broken (being fixed within a week). Sorry if I don't respond for a few days.
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)