Results 1 to 3 of 3
IS there a quick way to send two files below in one command?
./tossfile hostip file1.c
./tossfile hostip file2.c
while I am running the server as ./catchfile
I can send ...
- 12-10-2008 #1Just Joined!
- Join Date
- Sep 2008
- Location
- Buffalo, NY
- Posts
- 25
Sending two files in one command?
IS there a quick way to send two files below in one command?
./tossfile hostip file1.c
./tossfile hostip file2.c
while I am running the server as ./catchfile
I can send one file but for some reason I can't send file1.c and file2.c at the same time.....
- 12-11-2008 #2
Do you mean you want to start one instance of "tossfile" and have it act on both files ?
If so, the "tossfile" application must be able to accept multiple filename parameters.
If it only accepts one filename parameter then it can only initiate one session at a time.
You could also use the "&&" or "||" to put both commands on a single line
Men occasionally stumble over the truth,
but most of them pick themselves up
and hurry off as if nothing had happened.
Winston Churchill
... then the Unix-Gods created "man" ...
- 12-11-2008 #3Just Joined!
- Join Date
- Sep 2008
- Location
- Buffalo, NY
- Posts
- 25
Well i got it figured out, I had to edit the file and commented out and end the socket early.
Thanks for the help anyways!


Reply With Quote