Re: ftp command

From: Bill Verzal (BVerzal@KOMATSUNA.COM)
Date: Thu Dec 18 2003 - 16:43:26 EST


sapcws:/ >cd /tmp
sapcws:/tmp >ls -la motd
ls: 0653-341 The file motd does not exist.
sapcws:/tmp >scp -p sap80i:/etc/motd ./motd
root@sap80i's password:
motd 100% 880 0.0KB/s
00:00
sapcws:/tmp >rsh sap80i "ls -la /etc/motd"
-r--r--r-- 1 bin bin 880 Sep 16 2002 /etc/motd
sapcws:/tmp >ls -la ./motd
-r--r--r-- 1 root system 880 Sep 16 2002 ./motd
sapcws:/tmp >

BV
--------------------------------------------------------

"If everything is coming your way, then you are in the wrong lane"

Bill Verzal
AIX Administrator, Komatsu America
(847) 970-3726 - direct
(847) 970-4184 - fax

             "Patrick B.
             O'Brien"
             <pobrien@DOIT.NV. To
             GOV> aix-l@Princeton.EDU
             Sent by: IBM AIX cc
             Discussion List
             <aix-l@Princeton. Subject
             EDU> Re: ftp command

             12/18/2003 03:33
             PM

             Please respond to
                  IBM AIX
              Discussion List
             <aix-l@Princeton.
                   EDU>

Hello Bill,

I'm trying to figure out the syntax on scp.

scp /etc/hosts userprofileOnmachineB@machineB: /etc/hosts

scp: .: not a regular file

Any help today? TIA!

-----Original Message-----
From: Bill Verzal [mailto:BVerzal@KOMATSUNA.COM]
Sent: Thursday, December 18, 2003 11:26 AM
To: aix-l@Princeton.EDU
Subject: Re: ftp command

scp -p (ssh)
--------------------------------------------------------

"If everything is coming your way, then you are in the wrong lane"

Bill Verzal
AIX Administrator, Komatsu America
(847) 970-3726 - direct
(847) 970-4184 - fax

             Vipin Khushu
             <vkhushu@GUERNSEY
             OP.COM> To
             Sent by: IBM AIX aix-l@Princeton.EDU
             Discussion List cc
             <aix-l@Princeton.
             EDU> Subject
                                       ftp command

             12/18/2003 01:16
             PM

             Please respond to
                  IBM AIX
              Discussion List
             <aix-l@Princeton.
                   EDU>

Does anyone know of a ftp command that will transfer files/directories
while
maintaining the permissions of the files as they were on the originating
system?

I am attempting to ftp a number of files from AIX 1 to PC to AIX 2 and in
the process am losing the permissions.

Any suggestions for an alternate transport method are welcome.

TIA

Vipin



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:25 EDT