Skip to content

gregmankes/cs372-project2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Greg Mankes Project 2 CS372

Compiling and running ftserver.c

To Compile: gcc ftserver.c

To run: ./a.out <server_port>


Running ftclient.py

Give it executable permissions: chmod +x ftclient.py

Run the executable ./ftclient.py <server_port> -l <data_port>

OR

./ftclient.py <server_port> -g <file_to_get> <data_port>

If it complains about the interpretter, then this is because this program is meant for flip.

You can then run it with:

python ftclient.py <server_port> -l <data_port>

OR

python ftclient.py <server_port> -g <file_to_get> <data_port>


Other: In order for this program to work, you must have the compile executable and the python client on two separate flip servers (flip1, flip2, or flip3). They MUST also be in two different directories on the server. This is because the file that will be transferred will be opened for writing and then there wont be anything to send.

**** MAKE SURE THAT THE EXECUTABLES ARE IN DIFFERENT DIRECTORIES ****

This program was tested on flip2.engr.oregonstate.edu and flip3.engr.oregonstate.edu

About

Simple file transfer server and client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published