- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- SCP connection from Windows using pscp/winscp
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
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
тАО09-19-2006 11:23 PM
тАО09-19-2006 11:23 PM
SCP connection from Windows using pscp/winscp
On an OpenVMS system I have SSH running and a connection from Windows using Putty works fine. Now I like to transfer files between Windows and OpenVMS using winscp/pscp. Winscp is a Windows scp utility and pscp is a scp commandline utility that comes with Putty.
When I connect with Winscp (protocol: ssh) then a password is asked, but after I enter the password it comes with an error "Server unexpectedly closed the connection".
When I connect with Winscp (protocol: sftp) then a password is asked, after acceptance of the password a connection is made and a list of files is shown, however all directories are shown also as files (i.e. xxxx.dir;1) and when changing directory it fails.
When I connect with pscp with the following command:
pscp -v user@ip_address:a_file.txt test.txt
the file is copied to the Windows PC, but pscp uses sftp protocol.
When forcing to use scp:
pscp -v -scp -2 user@ip_address:a_file.txt test.txt
then a "Protocol error: Unexpected newline" is shown and no file is send.
How should I proceed to make this work.
Any help is mostly welcome.
Best regards,
Raymond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2006 12:50 AM
тАО09-20-2006 12:50 AM
Re: SCP connection from Windows using pscp/winscp
The SFTP protocol is a file access protocol; the SCP protocol is basically RCP over SSH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2006 10:24 AM
тАО09-20-2006 10:24 AM
Re: SCP connection from Windows using pscp/winscp
Now I understand taht only sftp protocol is supported, still my questions are not fully answered. In case of Winscp (with protocol set to sftp), changing directory does not work. All files/directories are listed as files, so a directory named xyz is shown as xyz.dir;1 and not recognized as a directory. What should I do to make this work?
Using pscp, I am not able to copy a file from a (sub)directory of OpenVMS (see my previous post). What is the syntax? An example would be great.
Best Regards,
Raymond Mouthaan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2006 01:29 AM
тАО09-21-2006 01:29 AM
Re: SCP connection from Windows using pscp/winscp
For PSCP I would suggest that you use a unix-like syntax for the destination directory. The SFTP protocols that file path names follow the Unix syntax. So, a command line like
pscp -v user@ip_adddress:dir1/dir2/a_file.txt test.txt
may work.
Process Software's SSH for OpenVMS product works correctly with WinSCP in SFTP mode, and pscp (see http://www.process.com/sshclients/index.html ).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2006 08:48 AM
тАО09-22-2006 08:48 AM
Re: SCP connection from Windows using pscp/winscp
I did a connection with our (Process Software's) SFTP client and turned on debugging of file attributes returned and saw very few attributes returned. Though file protection is returned, the directory bit appears not to be set when getting directory information.
I was able to change directory with a command line interface, so working with a command line SFTP program may be your best bet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2006 09:54 PM
тАО09-25-2006 09:54 PM
Re: SCP connection from Windows using pscp/winscp
Thanks for trying, but we have decided to continue using FTP and Telnet.
If a solution comes up, I am still interested.
Regards,
Raymond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2006 12:00 AM
тАО10-13-2006 12:00 AM
Re: SCP connection from Windows using pscp/winscp
Ray