- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Gunzip files on SFTP prompt?
Operating System - HP-UX
1823369
Members
2744
Online
109654
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
Forums
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
тАО07-20-2004 10:57 AM
тАО07-20-2004 10:57 AM
Gunzip files on SFTP prompt?
I guess I am asking a dumb question..
IS it possible to gunzip ( or any unzip) files on SFTP prompt?
I have only ftp access to a server X and I am "put"ing a file on X using SFTP thru script . I have to unzip it on X?
IS it possible
I guess its not possible..
Please let me know
Any help appreciated
Sachin
IS it possible to gunzip ( or any unzip) files on SFTP prompt?
I have only ftp access to a server X and I am "put"ing a file on X using SFTP thru script . I have to unzip it on X?
IS it possible
I guess its not possible..
Please let me know
Any help appreciated
Sachin
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2004 08:03 PM
тАО07-21-2004 08:03 PM
Re: Gunzip files on SFTP prompt?
if you put the file on the x server , then try to go to where you put the file and unzip the file , why it is not possible, try it
fadia.marei
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2004 02:21 AM
тАО07-22-2004 02:21 AM
Re: Gunzip files on SFTP prompt?
AS I said , I have only sftp privileges
I get the prompt
sftp>
I have a very limited access on the server
Currently I have a script to tar it and have to depend on some people to run the untar script on Server X.
I have to script it end -to end
Any ideas
Thanksm
I get the prompt
sftp>
I have a very limited access on the server
Currently I have a script to tar it and have to depend on some people to run the untar script on Server X.
I have to script it end -to end
Any ideas
Thanksm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2004 02:56 AM
тАО07-22-2004 02:56 AM
Re: Gunzip files on SFTP prompt?
Hai sachin,
We can execute the shell commands on sftp command prompt. Or you can go to the shell and do the operation, after it's completion, quit will make you to come sftp prompt.
If you are having a script to do it, then it is very to do it,
example>
sftp root@test
sftp> !hostname
test
or
sftp> !
# hosrname
test
# exit or ctr+d
sftp>
For ur requirement,
sftp>! ksh scriptname.ksh
like that.. or
sftp> !
# execute it..
# exit ( to sftp )
That is all.
We can execute the shell commands on sftp command prompt. Or you can go to the shell and do the operation, after it's completion, quit will make you to come sftp prompt.
If you are having a script to do it, then it is very to do it,
example>
sftp root@test
sftp> !hostname
test
or
sftp> !
# hosrname
test
# exit or ctr+d
sftp>
For ur requirement,
sftp>! ksh scriptname.ksh
like that.. or
sftp> !
# execute it..
# exit ( to sftp )
That is all.
Easy to suggest when don't know about the problem!
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.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP