|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Filelink on UNIX
Hi guys,
I have a script which is going to pull a file from a directory on my Unix server, and send it in a mail. However, I would like to filelink this file and drop it in the email. How would I do this? For those of you who do not know filelink, you simply drag the file onto the filelink icon, then press ctrl+c in the email, and it pastes a link from which the recipient can access this file. How can I write this on Unix. Cheers, G. ---------- Post updated 03-12-10 at 08:56 AM ---------- Previous update was 03-11-10 at 08:42 PM ---------- Ok...maybe we all aren't familiar with Filelink! lol. Is there any other method for sending large files that will not clogg the recipient inbox..we're talking 25MB. Done via unix. |
| Sponsored Links | ||
|
|
|
#2
|
|||
|
|||
|
Code:
gzip -9 bigfile uuencode bigfile.gz | mailx -s 'attached: bigfile.gz' someuser@someplace.com You can also send the full path of the file and let the user download it. |
|
#3
|
|||
|
|||
|
The recipient does not have unix to decode this file. So i don't think unix to unix encoding will work..?
|
|
#4
|
|||
|
|||
|
uuencode is standard email attachment encoding, considered appropriate and borrowed since it can represent arbitrary binary data as line-length-limited ASCII text. All email attachments use it though you seldom see the underlying details like this.
But you wanted a way to create a link to the file, not just email it whole. First, you need a host you control, ideally a web server. Second, you put a file on it, perhaps with scp? Third, you send someone a link to it. Details depend on your webserver and how you want to implement this. using filelink may not be practical unless filelink offers a UNIX interface since reverse-engineering the filelink binary executable would be a herculean task. |
|
#5
|
||||
|
||||
|
Did you try ?
More example sending mail using attachment. Works fine with every mail clients. If not, problem is the client, not the environment. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Enterprise Unix Roundup: The Ghost of Unix Future - Server Watch | Linux Bot | UNIX and Linux RSS News | 0 | 12-19-2007 11:20 AM |
| Running UNIX commands remotely in Windows box from Unix box – avoid entering password | D.kalpana | UNIX for Dummies Questions & Answers | 1 | 04-20-2007 05:24 AM |
| FTP script for sending a file from one unix directory to another unix server director | raja_1234 | Shell Programming and Scripting | 1 | 11-30-2006 06:57 AM |
| Unix History Question: Why are filenames/dirnames case sentsitive in Unix? | deckard | UNIX for Dummies Questions & Answers | 3 | 03-26-2005 12:59 PM |