LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ftp help (https://www.linuxquestions.org/questions/linux-newbie-8/ftp-help-357198/)

amer_58 08-26-2005 08:23 AM

ftp help
 
how can i use the command "get" to download a file into a certain directory? by default the file will be downloaded into my /home directory.

druuna 08-26-2005 08:38 AM

Hi,

Use lcd to change your local directory (the one you started the ftp session from, probably your homedir). After that your downloads will be placed here (man ftp for details).

Hope this helps.

trickykid 08-26-2005 08:38 AM

Well, after you've ftp'd, cd into your home directory unless your already there and do: get <filename>

Better yet, try using wget, much more powerful in my opinion. Or if you have the access, scp or rsync.

amer_58 08-26-2005 08:51 AM

thanks guys, one more thing i have more than one account and am really tired of typing the usernname and password for each account, how could i do that, do i need to create a script for each account and everytime i would only run the script?

Thanks a lot.


All times are GMT -5. The time now is 01:47 AM.