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).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: customize.xxe
Type: text/xml
Size: 585 bytes
Desc: not available
Url :
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20050419/53c1eb75/attachment.xml