Yes! Just tried.
Thanks for giving me the idea about kicking the slashes from file name.
________________________________
From: [email protected] <[email protected]> on behalf of 
Tamás Gulácsi <[email protected]>
Sent: Sunday, October 21, 2018 12:12:13 AM
To: golang-nuts
Subject: Re: [go-nuts] Escape slashes from file path

strings.Replace(fn, "/", "-", -1) ?

You can use other transcodings (quopri, base64) but those needs decoding, too.

--
You received this message because you are subscribed to a topic in the Google 
Groups "golang-nuts" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/golang-nuts/OYUc8qkAogM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
[email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to