PDA

View Full Version : Saving to a network folder


john.newsom
04-26-2007, 03:08 PM
Our students have redirected folders, and so their "My Documents" is really on a server, not the folder listed in the Documents and Settings/username/ directory. Mapping the drive is not an optimum solution. Is there any way to make Alice network aware?

Thanks,

John Newsom
Lakeside School
Seattle, WA

zenteo
04-27-2007, 10:08 AM
The folder sould be: http://www.yourdomain.???/yourfolder
The folder must be allowed to write/read form a other computer.
So you need to make a phyton "script", something like this:

from java.io import FileWriter
from java.io import BufferedWriter

function write(filename,data):
writer = BufferedWriter(FileWriter(filename))
writer.write(data,0,String.length(data))
writer.close()