Problem getting shutil.copy() to transfer files to my Web site - ?!
"Martin v. Löwis"
martin at v.loewis.de
Sun Dec 22 12:57:00 EST 2002
Randy Burgess wrote:
> It worked fine testing it on localhost (I run Xitami), but bombs out on
> my Web hosting service's unix box. Python gives me an error message like
> "Can't copy C:\test\test.txt to /home/www/usable-thought/cgi-bin: (2, 'No
> such file or directory') .
Most likely, you don't have a file named 'C:\test\test.txt' on your Unix
box. This would be no surprise, since the notion of drives and drive
names is foreign to Unix, as is the usage of the backslash as a
directory separator.
Regards,
Martin
More information about the Python-list
mailing list