[plug] Mail - i don't what subject should go here

I am the LinuxAlien linuxalien at optusnet.com.au
Mon Sep 16 18:03:44 WST 2002


Let me get this straight.
This script will take any file and rename it to the filename set at the 
top? Is it possible for it to not rename it? I like the idea and what I 
would be doing is uploading 2 files, a picture and a html file. There names 
wouldn't be changing.
Tim

filename = '/tmp/foo.txt'  This is where the uploaded file is put and is 
the name, can this become just the place and the name is the same as the 
uploaded file?

         if password != '12345':         This is where the password lives

At 00:53 16/09/2002 +0800, you wrote:
>On Sun, 15 Sep 2002 22:32:18 +0800, Jeff Williams wrote:
>
>| Can't you use scp? Or tunnel some other form of file transfer method
>| over ssh? Processing emails is not going to be a fun thing to do.
>
>If you have web access on the Windows machine, you could try setting up a
>PHP-based (or better yet, Python-based) file upload system. This is
>assuming that the UCC web server has a half-decent scripting language
>installed, of course.
>
>Example Python script:
>         http://cp.yi.org:81/~cameron/blah.cgi
>Source:
>         http://cp.yi.org:81/~cameron/blah.txt
>
>Just change the filename at the top, pretty up the HTML a little, and
>you're all set...
>
>CP.

LinuxAlien
Riverton, Perth, WA

Australian Linux Technical Conference, Perth 2003 http://linux.conf.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20020916/b36204ea/attachment.html>


More information about the plug mailing list