- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Help with SFTP from VMS to Windows
Operating System - OpenVMS
1753373
Members
5037
Online
108792
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО01-30-2009 07:16 PM
тАО01-30-2009 07:16 PM
Solution
> Usage: sftp2 [-D debug_level_spec] [...]
Where's your "debug_level_spec"? (Note that
I didn't bother with the "-D" stuff, which
may explain something.)
> So it apparently ignores the "-B" switch.
Or it thinks that the next (big,
funny-looking) token is the debug_level_spec.
> [...] [-B batchfile] [...]
See the space in there?
> I thought once the authentication was
> solved, the rest would be easy...
As I always say, everything's complicated.
(But this could actually be close to easy.)
Where's your "debug_level_spec"? (Note that
I didn't bother with the "-D" stuff, which
may explain something.)
> So it apparently ignores the "-B" switch.
Or it thinks that the next (big,
funny-looking) token is the debug_level_spec.
> [...] [-B batchfile] [...]
See the space in there?
> I thought once the authentication was
> solved, the rest would be easy...
As I always say, everything's complicated.
(But this could actually be close to easy.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2009 07:36 PM
тАО01-30-2009 07:36 PM
Re: Help with SFTP from VMS to Windows
Well that looks like it was the answer!
I removed the "-D" from the command line and it worked. I thought if I just used the -D switch and did not specify a level that it would pick a good default. I have no idea what the debug level numbers equate to in terms of verbosity.
$ SFTP "-B" SFTP_TMP.SLF "sftpMayo@essenceweb.isf.com"
sftp> pwd
/
sftp> ls -l
drw------- 1 no-user no-group 0 Jan 30 11:51 .ssh
drw------- 1 no-user no-group 0 Jan 28 12:18 .ssh2
-rw------- 1 no-user no-group 1516 Dec 22 08:23 test.txt
-rw------- 1 no-user no-group 240 Dec 22 08:57 test2.txt
-rw------- 1 no-user no-group 0 Dec 10 09:56 This is the root directory for sftpMayo
sftp> exit
ssh_pipe_stream_destroy
$!
$ exit
D_DEV job terminated at 30-JAN-2009 22:27:44.03
Accounting information:
Buffered I/O count: 1364 Peak working set size: 9104
Direct I/O count: 345 Peak virtual size: 184688
Page faults: 810 Mounted volumes: 0
Charged CPU time: 0 00:00:00.17 Elapsed time: 0 00:00:03.77
Thanks for the help!!!
I removed the "-D" from the command line and it worked. I thought if I just used the -D switch and did not specify a level that it would pick a good default. I have no idea what the debug level numbers equate to in terms of verbosity.
$ SFTP "-B" SFTP_TMP.SLF "sftpMayo@essenceweb.isf.com"
sftp> pwd
/
sftp> ls -l
drw------- 1 no-user no-group 0 Jan 30 11:51 .ssh
drw------- 1 no-user no-group 0 Jan 28 12:18 .ssh2
-rw------- 1 no-user no-group 1516 Dec 22 08:23 test.txt
-rw------- 1 no-user no-group 240 Dec 22 08:57 test2.txt
-rw------- 1 no-user no-group 0 Dec 10 09:56 This is the root directory for sftpMayo
sftp> exit
ssh_pipe_stream_destroy
$!
$ exit
D_DEV job terminated at 30-JAN-2009 22:27:44.03
Accounting information:
Buffered I/O count: 1364 Peak working set size: 9104
Direct I/O count: 345 Peak virtual size: 184688
Page faults: 810 Mounted volumes: 0
Charged CPU time: 0 00:00:00.17 Elapsed time: 0 00:00:03.77
Thanks for the help!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2009 08:57 PM
тАО01-30-2009 08:57 PM
Re: Help with SFTP from VMS to Windows
> I have no idea what the debug level numbers
> equate to in terms of verbosity.
Join the club. It could be documented
somewhere, I suppose, but the local ("-h")
help is approximately useless.
Among the many nice things about DCL is its
no-extra-effort ability to complain about
missing or extra parameters. General
consistency is good too. Having to worry
about whether a space is needed or tolerated
or prohibited between an option and its value
is just another bonus you get with typical
UNIX software, into which bin this stuff
seems to fall. (Sigh.)
> equate to in terms of verbosity.
Join the club. It could be documented
somewhere, I suppose, but the local ("-h")
help is approximately useless.
Among the many nice things about DCL is its
no-extra-effort ability to complain about
missing or extra parameters. General
consistency is good too. Having to worry
about whether a space is needed or tolerated
or prohibited between an option and its value
is just another bonus you get with typical
UNIX software, into which bin this stuff
seems to fall. (Sigh.)
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP