- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp muntiple files using scripts
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
Forums
Discussions
Discussions
Discussions
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
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
05-12-2003 06:42 PM
05-12-2003 06:42 PM
e.g. mput *.txt
Scripts would use the existing userid and password and "force" transfer of all files without prompt.
Thanks a lot
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2003 06:48 PM
05-12-2003 06:48 PM
Re: ftp muntiple files using scripts
I try to dig my old stuff and check whether the script is there or not.WIll posted it when have it.
hope this will give some insight.
regards
mB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2003 06:48 PM
05-12-2003 06:48 PM
Solutionftp -n <
user
get ....
mput...
bye
EOF
A few threads that deal with this.
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xe0830559ff7cd4118fef0090279cd0f9,00.html
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x00517e990647d4118fee0090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x82dff841489fd4118fef0090279cd0f9,00.html
You really didn't need to wait for an answer, you could have found it with a search.
If the answer was useful, please assign points.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2003 06:54 PM
05-12-2003 06:54 PM
Re: ftp muntiple files using scripts
This script from Mike should help:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2dafa2db8513d6118ff40090279cd0f9,00.html
Regards
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2003 06:57 PM
05-12-2003 06:57 PM
Re: ftp muntiple files using scripts
Still learning,
mB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2003 07:17 PM
05-12-2003 07:17 PM
Re: ftp muntiple files using scripts
thanks for the fast reply. thats a lot of information here. I managed to test out a script and it works.
cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2003 07:23 PM
05-12-2003 07:23 PM
Re: ftp muntiple files using scripts
ftp -n <
user root
prompt no
cd /tmp/b
mput *.a
bye
EOF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2003 08:09 PM
05-12-2003 08:09 PM
Re: ftp muntiple files using scripts
Of course, all of these methods are quite insecure. The script requires a password to be hard coded into a script.
Worse yet, ftp servers receive/send said password in clear text. The dangers of sending important passwords this way are obvious.
Thanks for the points sir, I would like to make a recommendation.
Secure shell. You can install it, and then exchange public keys, and use the a sftp or scp in a script to do this with secure data exchange and no hardcoded passwords in scripts.
Link to the software, instruction doc attached.
Secure shell
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com