Userids with FTP comparison

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
rfajman
New Member
Posts: 1
Joined: Thu Jan 02, 2020 5:45 pm

Userids with FTP comparison

Post by rfajman »

When one does an ExamDiff FTP comparison with a host that requires authentication, the hostname, userid, password are entered in URL format as ftp://userid:password@host:port/dirorfilename. It's a problem when the userid has an @ in it, as happens with many services that use the email address as the userid. It seems to me that some additional optional syntax could avoid many problems caused by having to look up codes for encoding unusual characters. For example,

"userid:password"@host:port

or even

"userid":"password"@host:port/dirorfilename

There should be a convention for escaping quote characters, such as doubling them.

Just a thought...
User avatar
psguru
Site Admin
Posts: 2228
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Userids with FTP comparison

Post by psguru »

Please see https://stackoverflow.com/questions/141 ... taining-an:
From http://www.ietf.org/rfc/rfc1738.txt

The user name (and password), if present, are followed by a commercial at-sign "@". Within the user and password field, any ":", "@", or "/" must be encoded.
For example, for user@site.com you'd use user%40site.com
psguru
PrestoSoft
Post Reply