I need a way to convert a web URL to a valid FTP URL. For example,
convert this:
http://www.domain.com/folder/file.txt
to this:
ftp://user:p...@domain.com/webroot/folder/file.txt
Not all servers use "public_html" so I can't just hard-code that as the
web root. Is there a generic way to indicate the web folder on a server,
the same way a tilde indicates the user's home folder? Or any other way
to get the path?
The user name and password are known.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode