You need to do url-encoding via hexidecimal escaping.

The space character in particular becomes %20.

Googling for URL Encoding turns up many helpful examples
such as this one:

http://www.blooberry.com/indexdot/html/topics/urlencoding.htm

-Galt

Ar 3/16/2010 1:26 PM, scríobh Jennifer Jackson:
> Hello Milan,
>
> Have you tried quoting? This would all need to be escaped, but it would
> allow spaces to be included in the variable.
>
> If you try this and if you still have problems, you can send the string
> to us for comment. Send to me directly and I can keep it restricted to
> just 1-2 developers and not post to genome mailing list. You could
> always change after we help, too.
>
> Please give this a try and let us know how it goes,
> Jennifer
>
> ---------------------------------
> Jennifer Jackson
> UCSC Genome Informatics Group
> http://genome.ucsc.edu/
>
> On 3/16/10 12:17 PM, Radovich, Milan wrote:
>> Dear UCSC,
>>     Im in the process of trying to visualize BAM files from NGS. The problem 
>> I have is that our University FTP requires a username and passphrase for 
>> access. Ive tried putting my username and passphrase in to the URL for the 
>> "custom track" but because our university requires our passphrase to be at 
>> least 4 words along, thus introducing "spaces", the genome browser doesn't 
>> seem to like that. Do you possibly have any suggestions?
>>
>> Thanks,
>> Milan
>>
>> Milan Radovich
>> Ph.D Graduate Student
>> Dept. of Medical&   Molecular Genetics
>> Dept. of Medicine, Div. of Hematology/Oncology
>> Indiana University School of Medicine
>> Lab: 317-274-4646
>>
>> _______________________________________________
>> Genome maillist  -  [email protected]
>> https://lists.soe.ucsc.edu/mailman/listinfo/genome
> _______________________________________________
> Genome maillist  -  [email protected]
> https://lists.soe.ucsc.edu/mailman/listinfo/genome

_______________________________________________
Genome maillist  -  [email protected]
https://lists.soe.ucsc.edu/mailman/listinfo/genome

Reply via email to