[ale] Fwd: Re: [ale] i just don't "get" it yet GOT IT
ChangingLINKS.com
ChangingLINKS.com at bigfoot.com
Tue Apr 16 20:42:06 EDT 2002
Subject: Re: [ale] i just don't "get" it yet GOT IT
Date: Tue, 16 Apr 2002 20:40:05 -0400
From: "ChangingLINKS.com" <ChangingLINKS.com at bigfoot.com>
To: ale at ale.org
To: <hirsch at zapmedia.com>, x3 at changinglinks.com
Okay, I was able to get the file. The problem was that I was telnetting in,
and then typing "ftp" at the telnet prompt. I guess that ftp thought I was at
server. The solution was to exit the telnet connection, THEN type ftp and it
works every time based solely on the "get" command.
This "ftp remote" that you mentioned may be a solution to that problem, where
I can ftp _while_ still in telnet. Really I should be using ssh, and scp
(assuming ssh can do the mySQL dump and tarring that telnet does).
Thank you all for your help on this. Now in a "but wait, it gets worse"
fashion: Is there anyway to make this a .sh script that I can click on? How
does the sh script know to wait for the file to get tarred and transfered
before deleteing the file (there is a time delay)?
Drew
On Tuesday 16 April 2002 17:08, hirsch at zapmedia.com wrote:
> ChangingLINKS.com writes:
> > Okay. My user account has permission to write to /data (I use /data all
> > day everyday). I have even tried created a file (using an editor) called
> > /data/CLbackup.tgz to try to trick ftp into trasferring the file. The
> > commands below are what I entered. You can see the variations on a theme
> > to try to get it to work. I am thinking /data is is not a subdirectory
> > of anything, moreover, when I omit "/data" to get the file to copy to
> > /home/user, it still doesn't work. The issue does not seem to be related
> > to /data. TIA for your help.
>
> Can you "lcd /data"? lcd is "local cd". Or try running ftp from the
> /data dir.
>
> --Michael
>
> > ftp> ls
> > 227 Entering Passive Mode (209,211,232,3,79,56)
> > 150 Opening ASCII mode data connection for directory listing.
> > total 7892
> > -rw-rw-r-- 1 834 835 949774 Apr 16 13:03 CLbackup.tgz
> > -rw-rw-r-- 1 834 835 3070111 Apr 16 13:03 dbbackup.txt
> > drwxr-xr-x 7 834 835 1024 Apr 16 13:04 public_html
> > 226 Transfer complete.
> > ftp> get /home/rk4com/CLbackup.tgz /data
> > local: /data remote: /home/rk4com/CLbackup.tgz
> > local: /data: No such file or directory
> > ftp> get /home/rk4com/CLbackup.tgz tb1200:/data
> > local: tb1200:/data remote: /home/rk4com/CLbackup.tgz
> > local: tb1200:/data: No such file or directory
> > ftp> get /home/rk4com/CLbackup.tgz
> > local: ./home/rk4com/CLbackup.tgz remote: /home/rk4com/CLbackup.tgz
> > local: ./home/rk4com/CLbackup.tgz: No such file or directory
> > ftp> get /home/rk4com/CLbackup.tgz /data
> > local: /data remote: /home/rk4com/CLbackup.tgz
> > local: /data: No such file or directory
> > ftp> get /home/rk4com/CLbackup.tgz /data/
> > local: /data/ remote: /home/rk4com/CLbackup.tgz
> > local: /data/: No such file or directory
> > ftp>
> >
> > --
> > Wishing you Happiness, Joy and Laughter,
> > Drew
> > http://www.ChangingLINKS.com
> >
> > ---
> > This message has been sent through the ALE general discussion list.
> > See http://www.ale.org/mailing-lists.shtml for more info. Problems
> > should be sent to listmaster at ale dot org.
>
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should
> be sent to listmaster at ale dot org.
--
Wishing you Happiness, Joy and Laughter,
Drew
http://www.ChangingLINKS.com
-------------------------------------------------------
--
Wishing you Happiness, Joy and Laughter,
Drew
http://www.ChangingLINKS.com
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list