Hi Bob - <br><br>The first thing to do is to leave the java applet out of the equation. Just access your callback URL in a browser. Hit <a href="http://example.com/my/path/to/callback">http://example.com/my/path/to/callback</a>. Do you get a 404? Then your module is not properly implementing that path or you've failed to rebuild the menu router after changing the code. First, get the URL to respond to you (by either rebuilding the menu router/clearing all caches, or by fixing your code) and then try it out with your java applet.<br>
<br>Good luck,<br>-Randy<br><br><div class="gmail_quote">On Sat, Jun 12, 2010 at 2:42 AM, Bob Hutchinson <span dir="ltr"><<a href="mailto:hutchlists@midwales.com">hutchlists@midwales.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I am upgrading a module from D6 to D7 and have stumbled over a problem with<br>
uploading files.<br>
<br>
I am using a java applet to collect the filenames and upload them. The applet<br>
requires a full URL (eg <a href="http://example.com/my/path/to/callback" target="_blank">http://example.com/my/path/to/callback</a>) as it is<br>
running on its own so it cannot *know* what FQDN to prepend to a relative<br>
path. The apache logs show a 404 file not found error and watchdog also logs<br>
the error like so: <a href="http://example.com/http://example.com/my/path/to/callback" target="_blank">http://example.com/http://example.com/my/path/to/callback</a><br>
<br>
All this works well in D6 and I have been very careful in the upgrade. The<br>
callback never arrives. It looks like D7 assumes or even requires a relative<br>
path and is prepending <a href="http://example.com/" target="_blank">http://example.com/</a> automatically.<br>
<br>
Any pointers would be much appreciated ;-)<br>
<br>
TIA<br>
<font color="#888888">--<br>
-----------------<br>
Bob Hutchinson<br>
Midwales dot com<br>
-----------------<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Randy Fay<br>Drupal Module and Site Development<br><a href="mailto:randy@randyfay.com">randy@randyfay.com</a><br>+1 970.462.7450<br><br>