hing to do with the:
REQUEST=context.REQUEST
command, but I'm not quite sure how to implement it properly. Also this
is done through Zope if that makes a difference to anyone.
Thanks in advance,
mjakowlew
--
http://mail.python.org/mailman/listinfo/python-list
Steve,
the os commands don't run through zope, it denies access to them to be
run at all through the webserver. So in turn, I had to use a work
around to fix the IE problem. Also qwwee's suggestion to use:
filepath.split('\\')[-1]
works well too. Zope is very finicky about running specific com
ze]
print "FILENAME: %s" %(filename)
___
Most importantly this works on my Zope webserver.
Thanks again,
mjakowlew
--
http://mail.python.org/mailman/listinfo/python-list
Thanks guys. The os.path method works, but this is for a script for a
website upload program on a zope webserver. For some reason even admin
access won't let me run the script through the server.
The main issue with my script is that Firefox has no problem with the
program the way it is, but IE so
'\' is set aside for switches. I need to know how to
search for the '\' in a string. I'm guessing it has something to do
with ASCII char codes.
Thanks in advance for any help,
mjakowlew
--
http://mail.python.org/mailman/listinfo/python-list