Hi Peter,

Good question, I never tried ssh or scp from a windows machine. You will
have problems for sure with spaces in file or directory names. From a
windows machine I'd just ZIP up the whole directory tree and then just
send over the single file. Use unzip on the UNIX/Linux box to decompress
the files. Read the man page on the Linux box to see how it works.

Carl

On 23-Jul-01 Loo, Peter # PHX wrote:
> 
> Hi Carl,
> 
> Will this work for PCs directories as well?  When I use the rz command
> while
> connected to the server using SecureCRT, I get this dialog box shown
> below.
> At that point I choose the files I want to upload.  However, when I use
> scp,
> how would I tell the server the PC directory path?
> 
> scp -r C:\Program Files\SecureCRT 3.0\download .
> 
> 
> 
> -----Original Message-----
> From: Carl J. Nobile [ mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> ]
> Sent: Monday, July 23, 2001 10:55 AM
> To: Loo, Peter # PHX
> Cc: [EMAIL PROTECTED]
> Subject: RE: Uploading the whole directory to the server...
> 
> 
> Hi Peter,
> 
> You need to use scp like this
> 
> $ scp -r dirname [EMAIL PROTECTED]:directory
> 
> However, be sure there are no symlinks in the path that you want to
> copy
> or the copy might not ever end. I usually just tar and gzip up the
> directory tree and then copy the one tar file.
> 
> Carl
> 
> On 23-Jul-01 Loo, Peter # PHX wrote:
>>
>> Hi,
>>
>> Can someone please tell me how I can upload a whole directory
>> structure
>> from
>> my PC to my server using ssh (rz)?  I can upload files, but am unable
>> to
>> copy the whole directory and sub-directories within the parent
>> directory.
>> The version of ssh I am using on my server is:
>>
>> SSH Version 1.2.27 [i686-unknown-linux], protocol version 1.5.
>> Standard version.  Does not use RSAREF.
>>
>> The client software I am using is SecureCRT.
>>
>> Thanks.
>>
>> Peter
> 
> ------------------------------------------------------------------------
> E-Mail: Carl J. Nobile <[EMAIL PROTECTED]>
> Date: 23-Jul-01                             Phone: 315-453-2912 Ex.
> 5336
> Time: 13:51:13                                Fax: 315-479-0859
> 
> Software Engineering Group -- AppliedTheory Corp.
> 224 Harrison Street, 6th Floor, Syracuse, NY  13202
> ------------------------------------------------------------------------
> 
> 

------------------------------------------------------------------------
E-Mail: Carl J. Nobile <[EMAIL PROTECTED]>
Date: 23-Jul-01                             Phone: 315-453-2912 Ex. 5336
Time: 14:40:50                                Fax: 315-479-0859

Software Engineering Group -- AppliedTheory Corp.
224 Harrison Street, 6th Floor, Syracuse, NY  13202
------------------------------------------------------------------------

Reply via email to