Re: [SLE] command line ftp copy



On Mon, 2006-06-19 at 20:50 +0200, Anders Johansson wrote:
On Monday 19 June 2006 16:52, Roger Oberholtzer wrote:
On Mon, 2006-06-19 at 10:38 -0400, Carl Hartung wrote:
On Monday 19 June 2006 10:31, Roger Oberholtzer wrote:
I think is is a bug in that is is parsing the : as though it separates
a host and port, when it is separating a user and password. It seems to
make no difference how I specify the remote system: including the
user:pass part fails.

Have you tried 'man ftp'? - Carl

Always my first step. That is where I found the user:password for use on
the command line. The man page does not say that this is only allowed as
part of copy to a remote system. Or at least it does not state so
plainly in simple words.

Have a look at the -u parameter to ftp

Ahh. Missed that one. It works if I do the command as;

ftp -u ftp://user:password@xxxxxxxxxx/ local_file

This is unintuitive in that the destination is given before the source
file name. I was trying it like cp/ssh and such.

Thanks for the info.

--
Roger Oberholtzer

OPQ Systems AB
Ramböll Sverige AB
Kapellgränd 7
P.O. Box 4205
SE-102 65 Stockholm, Sweden

Tel: Int +46 8-615 60 20
Fax: Int +46 8-31 42 23


--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • Re: win xp firewall
    ... actually I was talking about the net send command which is used to> send a popup box to a remote system running the messenger service.. ... you can't> infect / install or otherwise tamper with a remote system via the net send> command "net> send /?" ...
    (comp.security.firewalls)
  • Re: win xp firewall
    ... send a popup box to a remote system running the messenger service.. ... infect / install or otherwise tamper with a remote system via the net send ... command "net ... Public Enemy #7 "God told me to skin you alive" ...
    (comp.security.firewalls)
  • Re: executing commands from pop/imap messages on local linux machine and then sending the results b
    ... ssh or one of its relatives may do, or uux might be what you want. ... uux - Remote command execution over UUCP ... The uux command is used to execute a command on a remote system, ... The actual command execution is done by the uuxqt daemon. ...
    (Debian-User)
  • How to free up a Port in linux
    ... on a remote system that I have no real command line ... have access to) and I then connect to host.domain.tld, create an ssh session ... remote port forwarding failed for listen port 4321 ...
    (linux.redhat)
  • Re: Script that checks for existence of file on remote server.
    ... the file name does not exist in the output file. ... > that the file was FTP'd over onto the REMOTE system, ... > Check into the rsh command and .rhosts or hosts.equiv files. ... > If you must use FTP to do this, you can always capture your FTP ...
    (comp.unix.aix)