Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F28475
Fetch a remote URL content in TCL
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
dereckson
Apr 1 2016, 18:55
2016-04-01 18:55:23 (UTC+0)
Size
175 B
Referenced Files
None
Subscribers
None
Fetch a remote URL content in TCL
View Options
package require http
#Reads specified URL and returns content
proc geturltext {url} {
set fd [http::geturl $url]
set text [http::data $fd]
http::cleanup $fd
return text
}
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25739
Default Alt Text
Fetch a remote URL content in TCL (175 B)
Attached To
Mode
P183 Fetch a remote URL content in TCL
Attached
Detach File
Event Timeline
Log In to Comment