[comp.unix.questions] ftp

jeff@kitrain.uucp (Jeff mcgough) (03/25/88)

I would like to get some information on FTP and TFTP.
As far as how to get them set up, and admin them. Is there a tutorial or some other information
I can get. Any and all help would be appreciated...

Thanks,

Jeff McGough
Krohm Int
3535 Broadway ste412
KCMO 64111 (816) 931-3900

...wucs2!kitrain!jeff

dvu@pyr.gatech.EDU (Dinh Vu) (01/30/89)

	If FTP is public domain software, would some one point
	me to the source code.  Thanks for your help.



======================================================================
Why have sex today, when you can have it tomorrow!
					-a horny procrastinator

Dinh Vu
Georgia Insitute of Technology, Atlanta Georgia, 30332
...!{akgua,allegra,amd,hplabs,ihnp4,seismo,ut-ngp}!gatech!gitpyr!dvu
======================================================================

garath@ais.org (Belgarath) (01/16/91)

     1)  Is there a way to set up a file so when I ftp, I am automatically
         set to binary and bell mode?
 
     2)  Will getting a text file with binary mode on cause problems when
         trying to read it?

     Thank you,


-- 
*------------------------------------------------------------------*
| Scott            | The University of Michigan, Ann Arbor         |
| garath@ais.org   | Computer Science Major                        |
*------------------------------------------------------------------*

jerry@ora.com (Jerry Peek) (01/16/91)

In article <YJS+75$@irie.ais.org> garath@ais.org (Belgarath) writes:
>      1)  Is there a way to set up a file so when I ftp, I am automatically
>          set to binary and bell mode?

Some versions let you put startup setups in your .netrc file.
Here's a .netrc file under SunOS 4.1, for example:

	machine kumquat.xyz.edu login freddy password xxxxxxx
	macdef init
	cd "freddy 191"
	account yyyyyy
	binary

	machine uunet.uu.net login anonymous password freddy@kumquat.xyz.edu

The "macdef init" line means that the commands after it, up to the empty
line, will be run after the connection to the "kumquat.xyz.edu" machine
is completed.  The netrc(5) man page has details (on SunOS 4.1, at least).


>      2)  Will getting a text file with binary mode on cause problems when
>          trying to read it?

That depends on the systems you're transferring the files between.
I use ftp all the time to transfer both text and executable files between
two identical Suns... no problem, because the files are stored the same
way on both systems.

--Jerry Peek, jerry@ora.com