The initial step works fine- making a local png file:
Code: Select all
export snapshot from group "Concept Map Group" to URL ("binfile:"&tSnapshotPath&"/" &the seconds & ".png") as PNG
Then I'm using the following to send a copy of the file to the server:
Code: Select all
put URL("binfile:"&tSnapshotPath&"/" & field "StudentName" &the seconds & ".png") into URL ("ftp://MyLogonID:MyPassWord@ServerAddress.edu/TestFile.png/Library/WebServer/Documents/320EPSY2009/MapCollection")
"http://MyServer/Library/WebServer/Docum ... Collection"
When I click the button I get the local file and nothing else- no error statement- No files appear anywhere on the server.
Any insights or solutions would be greatly appreciated, I've tried all the variations I can think of.
Also, is it possible to just create the file directly on the server?
Something along these lines?
Code: Select all
export snapshot from group "Concept Map Group" to URL ("ftp://MyLogonID:MyPassWord@ServerAddress.edu/TestFile.png/Library/WebServer/Documents/320EPSY2009/MapCollection") as PNG