W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1998


From: <Linus.Walleij@ecs.ericsson.se>
Date: Thu, 30 Jul 1998 10:02:45 +0200
To: www-lib@w3.org
Message-id: <81314DE3B27DD0119A7400609719CF4B02CAEB0D@eseldnt100.ericsson.se>
> ...now can someone tell me if it is possible to PUT a local file
> to a remote ftp server? (and delete a remote file on an ftp server as
> well?

Why not use a clean FTP client instead?

On unix it sits in the system so scripting would look something like:

#! /bin/csh

echo "Opening ftp site and downloading..."
ftp -in ftp.myhost.se << EOF
user anonymous me@nowhere.org
cd pub/mydir
get myfile.tar.Z
echo "Complete"

And in case of running windows, there is a free FTP COM object at
http://www.serverobjects.com/products.htm#AspInet (there might be
alternatives), which is instantiable in whatever programming language or
scripting tool you use, or you could just fire up a shell and use the
command-line FTP in Windows as well.

Just a suggestion...

Linus Walleij
Received on Thursday, 30 July 1998 04:04:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:48 UTC