- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Perl vs shell scripts for FTP
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
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
тАО04-12-2004 07:05 PM
тАО04-12-2004 07:05 PM
I've noticed several threads discussing the automation of FTP using Perl and shell scripts and was wondering about the pro's and con's of either approach.
For example, how's the performance of Net::FTP compared to standard FTP?
Cheers,
Ben
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2004 07:10 PM
тАО04-12-2004 07:10 PM
Re: Perl vs shell scripts for FTP
1. It can give you a return code which shell script can not give you for a proper and improper file transfer.
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2004 07:33 PM
тАО04-12-2004 07:33 PM
Re: Perl vs shell scripts for FTP
On avarage, the speed is not depending on the scripting language, but on the speed of your connection line.
Several smaal commands might be faster in shell, whereas a few large transfers are easier dealt with in Perl.
Due to the fact that errors are easier cought in Perl, retransfers are a breathe in perl, where it is a pita in sh scripts.
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2004 08:16 AM
тАО04-13-2004 08:16 AM
Re: Perl vs shell scripts for FTP
One of the other major benefits is that if you have a Windoz server set up properly, you can use the NetFTP module to automate ftp from windows to another platform, shell scripts aren't generally avaliable for windows OS. ( I know about the various Unix shell products... they dont count in this reply).
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2004 08:33 AM
тАО04-13-2004 08:33 AM
Re: Perl vs shell scripts for FTP
The attached ftpput.pl should give a good starting point. Invoke as ftpput.pl -u for full usage.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2004 08:33 AM
тАО04-13-2004 08:33 AM
SolutionThe attached ftpput.pl should give a good starting point. Invoke as ftpput.pl -u for full usage.