--- Keith Antoine <[EMAIL PROTECTED]> wrote: > On Thursday 07 February 2002 02:22 pm, Federico Voges warbled: > > > >Read that as I said but you need to be psychic to understand what > its > > > saying as with most man pages. > > > > > >> Not-so-short answer: > > >> > > >> You don't need to ssh first. > > >> > > >> File xfer (remote to local) > > >> scp user@host:/path/source_file /local/path/[new_filename] > > > > > >Can you use a 'directory name' for remote and use -r ? > > > > Yes, you can. IIRC, if you include the last "/" (eg: > > /home/fvoges/docs/) it will create the directory: > > > > scp -r user@host:~/docs . > > will copy everything in the docs dir (recursively) to the current > dir. > > > > scp -r user@host:~/docs/ . > > will create a new docs directory in the current (local) dir. The, it > > will copy everything in the docs dir (recursively) to it. > > Ok thanks for the help, but the help means absolutely nothing to me. > So I have a remote site www.eastwind.com.au wherein lies a dir called > 'photos' > > I want to rewrite the site and put up about 650 photos; I only have > ssh > access. > > I ssh in and then cd to /home/webroot/eastwind/docs; at this point i > can call > scp, but from that point I have had no success. > What do I use in the user@host: position my login on the remote > machine and > my hostname here or what ? Sorry I have no idea what user@host: stands > for.
It stands for the remote box's domain name. If you're looking to xfer files from your box to the server, then user@host is the remote server, where user is your username on that server. ===== ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Lonni J. Friedman [EMAIL PROTECTED] Linux Step-by-step help: http://netllama.ipfox.com . __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com _______________________________________________ Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.