[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: https with userid and password



Sender: "Stoicescu, Adriana" <astoicescu@xxxxxxxxxx>

Thanks for the explanation. 
Eventually the connection is up and running.
Adriana

-----Original Message-----
From: owner-ftpapi@xxxxxxxxxxxxx [mailto:owner-ftpapi@xxxxxxxxxxxxx] On
Behalf Of Scott Klement
Sent: Wednesday, January 04, 2006 2:41 PM
To: 'ftpapi@xxxxxxxxxxxxx'
Subject: RE: https with userid and password

Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>

> In your example below you do not encode the '?' start of parameter list. 
> Are you sure that '?' must not be encoded?

Depends on what you want the ? to mean.  The reason you sometimes encode a 
question mark is because it has a special meaning in a URL. It separates 
the program name from the parameters that are to be sent to that program.

If you don't want it to have that special meaning, then you need to encode 
it.

In my example, I had a parameter called "xml".  I wanted that parameter to 
be sent to the program in the URL.  The question mark therefore needed to 
have it's special meaning... the server needs to see that question mark 
and know that it's reached the end of the program name, and the start of 
the parameters.

If I encoded it, then the "xml=<whatever>" would look like it was part of 
the program name to the server.

On the other hand, the question marks in the <?xml version="1.0"?> tag are 
NOT intended to separate the program name from the parameters. If I don't 
encode those, they'll confuse the server.

Make sense?
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------

-------------------------------------------------------------------------------------
Email Confidentiality Notice and Disclaimer

This email message contains information which may be confidential and 
or legally privileged. Unless you are the intended recipient (or have 
been authorised to receive on behalf of the intended recipient), you 
may not use, copy or disclose to anyone the message or any information 
contained in the message or from any attachments that were sent with 
this email. If you have received this email message in error, please 
advise the sender by email, and delete the message.

All business and transactions of whatsoever nature be it as agent or 
as principal with any party whatsoever shall solely be conducted in 
accordance with our Standard Trading Conditions. These conditions have 
clauses that may limit our liability. A copy of our Standard Terms is 
available on request. When an air waybill or bill of lading or any 
other international consignment note is issued, the conditions that 
apply for such a document will be in addition to our Standard Trading 
Conditions, and for the relative air or sea or other mode of transport 
leg / movement only, they will be paramount.
-------------------------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------