Hello to all, I was about to chime in on my frustration about a long struggle with no success (in MC2.4) to upload a file to our Mac server. But then ... finally I found the solution to my problems and thought I would share it with you.
My goal is to upload the results from students' diagnostic tests being done on their home computers. The text files should be uploaded to a Mac server. So far I have only tested my own uploading from a Mac and a PC (Windows 2000), the textfile is 20 kb. On the Mac server I have a folder "mlab" in which I create new folders and folders within folders whenever I need it. When I (or the students) download a portal stack the url may for instance be: http://www.hf.uib.no/hfolk/mlab/fraMP/frameny.exe However, when I upload a text file I have to use: put "ftp://user:[EMAIL PROTECTED]/fraMP/test.txt" into href if the platform = "macos" then put url "binfile:/signes/test.txt" into url href if the platform = "win32" then put url "binfile:c:/somefolder/test.txt" into url href A person in the computer section of the faculty informed me that what in order to upload I had to delete "hfolk/mlab/" in the first url, since "mlab" was the root (don't ask me why). Then if I wanted to upload the file to a folder "fraLyr" within the folder "fraMP" I had to use the url "ftp://user:[EMAIL PROTECTED]/fraMP/fraLyr/test.txt" Before the real uploading I also use (thanks to someone on the list): if not (the stacksinUse contains "libURL") then start using "liburl" set socketTimeoutinterval to 100000 send "resetAll" to stack "libURL" The next step is to test it from the students' computers, but so far, I'm feeling optimistic and very much releaved: Now off to a weekend in the mountains. A hearty thanks to Raney and all other helpful and kind persons on this list. MetaCard is a fantastic tool! Best regards Signe Marie Sanne -- 1. amanuensis Signe Marie Sanne e-mail: [EMAIL PROTECTED] Romansk Institutt tel: +47 55 58 21 27 Oysteins gt. 1 5007 Bergen http://www.hf.uib.no/hfolk/mlab/default.html Norway Archives: http://www.mail-archive.com/[email protected]/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.
