[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Unix script command to ftp through the proxy server

Posted on 2004-09-01
4
Medium Priority
?
411 Views
Last Modified: 2013-12-26
(echo ' (echo "
user <proxy_username> <proxy_password>
user <remote_ftp_username> <remote_ftp_password>
verbose
passive
binary
put <filename>
ls <filename>
close
bye"
) | ftp -n <proxy_server>') | ftp -n <remote_ftp_server>
 

The above command can be used in linux but not hp unix.  Can somebody please help to see whether the command is correct for hp unix or not.  Thank you.
0
Comment
Question by:chokbeng
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Expert Comment

by:chinna22
ID: 12033253
you are better off using expect
0
 

Author Comment

by:chokbeng
ID: 12061003
I got the answer already,

echo ' echo "
user <proxy_username> <proxy_password>
user <remote_ftp_username> <remote_ftp_password>
verbose
passive
binary
put <filename>
ls <filename>
close
bye"
 | ftp -n <proxy_server>' | ftp -n <remote_ftp_server>
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 14394931
PAQed with points refunded (20)

modulo
Community Support Moderator
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question