Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: How to copy a server file to client?


Message #1 by "Junrap Camoro" <jtaklob@y...> on Tue, 16 Apr 2002 08:59:50
I need to add:

You need to set up your .netrc file on your local Linux machine. This file
holds the host name, login and password. The chmod needs to be set to 400
for that file.

file: .netrc

	machine whatever.com
	login whatever
	password What#Ever


Regards,

Roger





>
>script: ftp_file.sh
>
>	cd whatever_dir
>	ftp whatever_host <<EOT
>	cd whatever_dir
>	get whatever_file
>	quit
>	EOT
>	exit
>
>
>Roger
>
>>My OS is Linux. Do you have a source for the script?

--------------ROGER JACOBS - DATA SYSTEMS CONTRACTOR ----------------
DataSpace Industries                    mailto:raj@o...
4491 Rice Street, Suite 102             http://www.omnisphere.com
Lihue, HI  96766                        See Kauai Products & Services:
xxx-xxx-xxxx      FAX-246-4725           http://www.lauhala.com






  Return to Index