SCOUG-Programming Mailing List Archives
Return to [ 07 |
August |
2001 ]
<< Previous Message <<
>> Next Message >>
Content Type: text/plain
> Steven Levine wrote:
> >
> > >I can't remember the syntax for putting
> > >the ftp password in the browser url.
> >
> > ftp://anonymous:steve53%40earthlink.net@bbs.os2bbs.com
> >
> > You need to use the %-escape to get the
> > @ through to the server. All servers
> > are supposed to support this but, YMMV.
Harry Chris Motin wrote:
>
> Could you explain this a little more. In
> the example you showed, where is the
> os2bbs user id and where is the password?
Hi Harry,
If you mean his ftp example, many ftp servers allow you to sign on with
a user id of "anonymous" and a courtesy password of your email address.
So in his example, the user id is "anonymous" and the password is
"steve53@earthlink.net" but you have to substitute the hex code "%40"
for the "@" so your client/browser's parser doesn't get confused (the
second "@" just before the url doesn't get any substitution). Your
client or browser separates the user id, password and url and contacts
the ftp server, then sends the "user userid" and "pass password" lines
when prompted by the server.
Thus, the syntax is
ftp://userid:password@url
where userid is either your account info with that site or "anonymous",
and password is either your account password with that site or the "%40"
email address.
Some browsers do an "anonymous" login automatically if you specify just
an "ftp://url" string (without user id or password) and use the email
address you have in the browser's email setup, thus you only need to use
the full syntax if you want to use a different email address as a
password during an anonymous login.
- Peter
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
<< Previous Message <<
>> Next Message >>
Return to [ 07 |
August |
2001 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|