- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- base64 decoding
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
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
тАО05-15-2006 02:27 AM
тАО05-15-2006 02:27 AM
base64 decoding
I am looking for tools available on the www to decode data sent in mail as attachments using base64.
Just a background, we receive mails with attachments from unix boxes & other mail clients like Lotus notes etc.
The receiving mailbox is on a unix platform, and we have a nice perl script that scans the /var/mail and decodes the attachments. Lately with the new requirements some clients are sending attachments from Lotus Notes etc.
I did find few on the web, some not in its complete form, some are but very clumy to use.
I am looking for your recommendations/suggestions.
Thanks for your valuable time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2006 02:35 AM
тАО05-15-2006 02:35 AM
Re: base64 decoding
#!/usr/bin/perl
use strict;
use warnings;
use MIME::Base64;
my $string = "Hello, world.";
my $encoded = decode_base64 ($string);
my $decoded = decode_base64 ($encoded);
Installing MIME::Base64 also gives you 4 utilities:
decode-base64
decode-qp
encode-base64
encode-qp
Then there are unix utils like uuencode and uudecode
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2006 02:42 AM
тАО05-15-2006 02:42 AM
Re: base64 decoding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2006 07:38 PM
тАО05-16-2006 07:38 PM
Re: base64 decoding
did the suggestions help? Have tried them out? Please update or reward solution and close.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2006 02:48 PM
тАО05-17-2006 02:48 PM
Re: base64 decoding
Sorry didnt mean to ignore the help you guys have given. I did try to download the tar file from the link you have provided, I couldnt gunzip the tar I got
gunzip: base64-1.4.tar.gz: invalid compressed data ---crc error
gunzip: base64-1.4.tar.gz: invalid compressed data ---length error
I was trying to install the MIME:Base64 pm and see if that helps.
I will certainly update once i reach a significant milestone.
Thanks for your time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2006 04:12 PM
тАО05-17-2006 04:12 PM
Re: base64 decoding
Your download is corrupted, You should re download it again. Also, you didn't mention about procura's solution ? Did that work ?
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2006 06:36 PM
тАО05-17-2006 06:36 PM
Re: base64 decoding
Some stupid browsers download files, recognize the format and unzip on the flow, but forget to remove the extension.
# file base64-1.4.tar.gz
will tell you. If it responds with "tar", just curse a few times (or smile and learn), remove the extension
# mv base64-1.4.tar.gz base64-1.4.tar
and then extract
# tar xvf base64-1.4.tar
Enjoy, Have FUN! H.Merijn