<html>
Let me get this straight.<br>
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.<br>
Tim<br><br>
<i>filename = '/tmp/foo.txt'  </i>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?<br><br>
<i><x-tab>        </x-tab>if
password !=
'12345':<x-tab> </x-tab><x-tab>        </x-tab></i>This
is where the password lives<br><br>
At 00:53 16/09/2002 +0800, you wrote:<br>
<blockquote type=cite class=cite cite>On Sun, 15 Sep 2002 22:32:18 +0800,
Jeff Williams wrote:<br><br>
| Can't you use scp? Or tunnel some other form of file transfer method
<br>
| over ssh? Processing emails is not going to be a fun thing to
do.<br><br>
If you have web access on the Windows machine, you could try setting up
a<br>
PHP-based (or better yet, Python-based) file upload system. This is<br>
assuming that the UCC web server has a half-decent scripting
language<br>
installed, of course.<br><br>
Example Python script:<br>
<x-tab>        </x-tab><a href="http://cp.yi.org:81/~cameron/blah.cgi" eudora="autourl">http://cp.yi.org:81/~cameron/blah.cgi</a><br>
Source:<br>
<x-tab>        </x-tab><a href="http://cp.yi.org:81/~cameron/blah.txt" eudora="autourl">http://cp.yi.org:81/~cameron/blah.txt</a><br><br>
Just change the filename at the top, pretty up the HTML a little,
and<br>
you're all set...<br><br>
CP.</blockquote>
<x-sigsep><p></x-sigsep>
LinuxAlien<br>
Riverton, Perth, WA<br><br>
Australian Linux Technical Conference, Perth 2003
<a href="http://linux.conf.au/" eudora="autourl">http://</a>linux.conf<a href="http://linux.conf.au/" eudora="autourl">.au</a></html>