l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2001 Dec 30 17:06

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] [owner-vox-tech@lists.mother.com: BOUNCE vox-tech@lists.lugod
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] [owner-vox-tech@lists.mother.com: BOUNCE vox-tech@lists.lugod.org: Non-member submission from [Jeff Lambert <jlambert@webc0der.net>]]

----- Forwarded message from owner-vox-tech@lists.mother.com -----
>From p@belial.ucdavis.edu  Wed Jun 13 12:01:19 2001
Received: from smtp.rcsis.com (smtp.rcsis.com [])
	by franz.mother.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id MAA31281
	for <vox-tech@lists.mother.com>; Wed, 13 Jun 2001 12:01:19 -0700
Received: from tina---bob (036.dsl7837.surewest.net [])
	by smtp.rcsis.com (8.9.3/8.9.3) with SMTP id LAA30583
	for <vox-tech@lists.mother.com>; Wed, 13 Jun 2001 11:52:22 -0700
Message-Id: <200106131852.LAA30583@smtp.rcsis.com>
Date: Wed, 13 Jun 2001 12:10:54 -0800
From: Jeff Lambert <jlambert@webc0der.net>
Reply-To: jlambert@webc0der.net
To: "vox-tech@lists.mother.com" <vox-tech@franz.mother.com>
Subject: Re: Re: [vox-tech] FTPing in a script
Organization: Webc0der.Net
X-mailer: FoxMail 2.1 [en]
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

At 6/13/2001 10:31:00 AM, you wrote:
>i did this, but it was a LOOOONG time ago, and it was on a sunos machine.
>this was before linux ever existed, in fact.  i did use a here file, btw.
>check out expect; you can use it either with perl or tcl.  if you don't know
>perl, this would be a good excuse to learn it.  :-)

if you happen to have PHP on that machine this may be an easier solution

if(!($ftp = ftp_connect("localhost")))
	print("Unable to connect!\n");

if(!(ftp_login($ftp, "username", "password"))
	print("Unable to login!\n");

ftp_get($ftp, "/path/to/store/file", "/path/where/file/is", FTP_ASCII);


hope this helps
- Jeff Lambert
  Web Developer/Programmer
Custom web applicatioins built to serve your needs

----- End forwarded message -----

"The following addresses had permanent fatal errors..."      p@dirac.org
                               -- Mailer Daemon              www.dirac.org/p

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.