- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Scp to Solarise node
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2011 08:22 PM
тАО06-07-2011 08:22 PM
Scp to Solarise node
we are able to do SCP sucessfully but unable to put file in Upper case. looks like my syntex is work.. any one please help me,
scp "EXTRACT.CSV" userid1@sunsystem1.cop.net:"/app/tei1/BKP/INPUTS/AP/""TEST.CSV"
We can able to transfer the file.. but remort end we are receiveing the file with "
Exam "TEST.CSV
could any one please tell me how to remove " ?
- Tags:
- scp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2011 08:52 PM
тАО06-07-2011 08:52 PM
Re: Scp to Solarise node
Did you try removing the "" before
'TEST.CSV'?
scp "EXTRACT.CSV" userid1@sunsystem1.cop.net:"/app/tei1/BKP/INPUTS/AP/TEST.CSV"
DCL thinks that "AB""CD" is really
AB"CD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2011 10:03 PM
тАО06-07-2011 10:03 PM
Re: Scp to Solarise node
so it will be ABCD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2011 10:15 PM
тАО06-07-2011 10:15 PM
Re: Scp to Solarise node
First of all remove the double "" from the scp command.
If the question is how to remove the " on the Unix side:
mv '"TEST.CSV' TEST.CSV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2011 10:17 PM
тАО06-07-2011 10:17 PM
Re: Scp to Solarise node
'TEST.CSV'?
This method is transferring file name as 'TEST.CSV
scp "EXTRACT.CSV" userid1@sunsystem1.cop.net:"/app/tei1/BKP/INPUTS/AP/TEST.CSV"
I tested before, it will recognize entire path as directory and hence transfer fail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2011 10:21 PM
тАО06-07-2011 10:21 PM
Re: Scp to Solarise node
1) The Path is case sensative so i must put " "
otherwise it say invalid path.
userid1@sunsystem1.cop.net:"/app/tei1/BKP/INPUTS/AP/"TEST.CSV
if i transfer, it is sucessfull but lowercase file name in Unix system.
Now i want to trasnfer the file as upper case as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2011 10:23 PM
тАО06-07-2011 10:23 PM
Re: Scp to Solarise node
1) The Path is case sensitive so i must put " "
otherwise it say invalid path.
userid1@sunsystem1.cop.net:"/app/tei1/BKP/INPUTS/AP/"TEST.CSV
if I transfer, it is successful but lowercase file name in Unix system.
Now I want to transfer the file as upper case as well."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2011 11:02 PM
тАО06-07-2011 11:02 PM
Re: Scp to Solarise node
What, exactly, are we dealing with here?
tcpip show version
uname -a
ssh -V
> I tested before, it will recognize entire
> path as directory and hence transfer fail
What, exactly, does that mean? As usual,
showing actual commands with their actual
output can be more helpful than vague
descriptions or interpretations.
Around here:
alp $ dire wd.c;
Directory ALP$DKC0:[SMS.ITRC]
wd.c;20
Total of 1 file.
alp $ scp wd.c sms@sol:"/usr/users/sms/UC_DIR/WD.C"
wd.c | 1.1kB | 1.1 kB/s | TOC: 00:00:01 | 100%
alp $ ssh -l sms sol "ls -l /usr/users/sms/UC_DIR"
Authentication successful.
total 4
-rwxr-xr-- 1 sms users 1141 Jun 8 01:57 WD.C
alp $ tcpip show version
HP TCP/IP Services for OpenVMS Alpha Version V5.6 - ECO 5
on a COMPAQ Professional Workstation XP1000 running OpenVMS V8.3
sol# uname -a
SunOS sol 5.10 Generic_141444-09 sun4u sparc sun4u
sol# ssh -V
Sun_SSH_1.1.2, SSH protocols 1.5/2.0, OpenSSL 0x0090704f
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2011 11:51 PM
тАО06-07-2011 11:51 PM
Re: Scp to Solarise node
I think reading the VMS user and DCL dictionary manual may help to understand, what double double quotes within a quoted string mean.
The simple fact -what Stevens example shows- is:
put the whole remote file specification in string quotes, not only the path.
OR, if Your parse_stayle is EXTENDED, just specify the output path , leaving off the file-name, then the output name will be identical to the local one:
scp EXTRACT.CSV userid1@sunsystem1.cop.net:"/app/tei1/BKP/INPUTS/AP/"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2011 12:35 AM
тАО06-08-2011 12:35 AM
Re: Scp to Solarise node
MPIW10_HUB>scp Test.CSV pclhec01:tmp/
Test.CSV | 5B | 0.0 kB/s | TOC: 00:00:01 | 100%
MPIW10_HUB>
MPIW10_HUB>ssh pclhec01 ls tmp/Test.CSV
Authentication successful.
tmp/Test.CSV
My environment:
Parse Style: Extended
VMS 7.3-1 , TCPIP 5.4
(and don't know if it is important, the DECC$ feature logicals are set as if DECC$UNIX_LEVEL=30 in later versions of VMS.)