[ale] i just don't "get" it yet
Geoffrey
esoteric at 3times25.net
Tue Apr 16 21:09:35 EDT 2002
There is ncftp which will permit you to do:
get -z foo.c I/want/it/in/this/dir/bar.c
to get a file and place it in a different directory with a different name.
Dow Hurst wrote:
> Most times I've used ftp, the current directory where you invoke the
> client is the directory where files will be put. I've never had a
> command line unix ftp client that worked differently. So you could try:
>
> cd /data/homedirectory
> ftp remote
> cd /path/filelocation
> get file
> "It will go to your home directory"
> quit
>
>
> Try it. Let me know.
> dow
>
>
> "ChangingLINKS.com" wrote:
>
>>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.
>>
>>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.
>>
>
--
Until later: Geoffrey esoteric at 3times25.net
I didn't have to buy my radio from a specific company to listen
to FM, why doesn't that apply to the Internet (anymore...)?
---
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