I have a page that I want to redirect to a new URL, but it cannot use a protocol, as it needs to redirect to an ftp server (at
ftp://IP) so far, I have this code:
<script>location.href = \"$FTP\";</script>
Don't mind the
$FTP, it's because I did some PHP trickery to get the IP and add the port on.
Currently, this code tries to navigate to a file called
IP:21 on the server, how can I get it to redirect instead of this?
Juan Pablo Isaza