Hi
Sorry - should have told you I'm using
V2.9
Java(TM) 2 Runtime Environment, Standard Edition 1.4.2_05
Java HotSpot(TM) Client VM 1.4.2-38
Mac OS X 10.3.9 ppc
Cheers
Steve
> From: Hussein Shafie <hussein at pixware.fr>
> Organization: Pixware
> Reply-To: "xmleditor-support at xmlmind.com" <xmleditor-support at
> xmlmind.com>
> Date: Tue, 19 Apr 2005 10:40:39 +0200
> To: "Tongue, Steve" <Steve.Tongue at openpolytechnic.ac.nz>
> Cc: "xmleditor-support at xmlmind.com" <xmleditor-support at xmlmind.com>
> Subject: Re: [XXE] Ftp file
>
> Tongue, Steve wrote:
>> I'm trying to ftp the file I've creates to a ftp server and have used this
>> processing command
>>
>> <upload base="ftp://anonymous at intra.topnz.ac.nz:21/">
>> <copyFile file="/temp/%0/course_content/index.html"
>> to="/%0/index.htm" />
>> </upload>
>>
>> It appears the file is found correctly
>>
>> Copying files to "ftp://anonymous at intra.topnz.ac.nz:21/"
>> Copying "/temp/71201/course_content/index.html" to
>> "ftp://anonymous at intra.topnz.ac.nz:21/71201/index.htm" (1/1)
>>
>> But I get this error message
>>
>> Cannot copy file
>> "file:/temp/71201/course_content/index.html"
>> To
>> "/71201/index.htm37pc8ble":
>> Java.lang.NullPointerException
>>
>> I have tried ftp to the server from the same computer with no problem so I'm
>> not sure where the problem is.
>
> I've tried to reproduce the problem using attached macro.
>
> ----
> <command name="testFTPUpload">
> <process>
> <upload base="ftp://hussein:XXX at lupo.pixware.fr:21/">
> <copyFile file="/%0/index.html" to="/%0/index.htm" />
> </upload>
> </process>
> </command>
>
> <binding>
> <keyPressed code="F2" />
> <command name="testFTPUpload" parameter="tmp" />
> </binding>
> ----
>
> I've never managed to crash the upload like you did. Anonymous FTP or
> not, with or without a password, etc. At worst, I got nice errors
> messages ("Permission denied", etc).
>
> I've tested this on Linux+Java 1.4.2+XXE V2.9p1.
>
> Please, play with the above macro and try to tell me when it works and
> when it crashes.
>
> Also please tell me which OS and which version of Java and XXE do you use.
>
> I assume that you have a Professional Edition. Please download this file
> and replace your stock xxe_app.jar ***V2.9p1*** by this instrumented one.
>
> ---
> http://www.pixware.fr/_download/tongue/xxe_app.jar
> 969435bytes, Tue Apr 19 10:29:38 AM CEST 2005
> ---
>
> This instrumented xxe_app.jar will print trace messages in the console
> and will display a very detailed error message (a stack trace).
>
> <?xml version='1.0' encoding='ISO-8859-1'?>
> <configuration xmlns="http://www.xmlmind.com/xmleditor/schema/configuration"
> xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>
> <command name="testFTPUpload">
> <process>
> <upload base="ftp://hussein:XXX at lupo.pixware.fr:21/">
> <copyFile file="/%0/index.html" to="/%0/index.htm" />
> </upload>
> </process>
> </command>
>
> <binding>
> <keyPressed code="F2" />
> <command name="testFTPUpload" parameter="tmp" />
> </binding>
> </configuration>
>