Your best friend for file transfer.Fetch
Applescripting an @ sign used in a password (3 posts)
- Started 2 months ago by BradEcho
- Latest reply 2 months ago from BradEcho
When scripting Fetch I usually build the login and password into the script path. For instance:
However, I recently encountered a website where the password INCLUDES an @. How do I code for it?
Jim Matthews Administrator
The way to include a special character (like a @, :, /, or even a space) in a URL is to %-encode it, i.e. to replace it with %XX, where XX is the character's hexadecimal ASCII value. The hex ASCII value of the @ character is 40, so you'd replace the @ in your password with %40.
Let me know if that doesn't work.
Thanks Jim that worked.
- Page 1