opensubscriber
   Find in this group all groups
 
Unknown more information…

h : help-smalltalk@gnu.org 15 June 2012 • 4:49PM -0400

[Help-smalltalk] Error while opening URL via FileStream
by Stefan Krecher

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi,
i'm getting the following error when i try to read from an URL.
Same result under Windows/ Ubuntu/ Android - what am i doing wrong?
regards,
Stefan

st> PackageLoader fileInPackage: 'NetClients'
PackageLoader
st> (FileStream open: 'http://www.gnu.org/' mode: FileStream read) contents
Object: File error: Permission denied
SystemExceptions.FileError(Exception)>>signal (ExcHandling.st:254)
SystemExceptions.FileError class(Exception class)>>signal: (ExcHandling.st:161)
File class>>checkError: (File.st:83)
File class>>checkError (File.st:74)
File>>remove (File.st:526)
NetClients.WebEntity>>stream (/URIResolver.st:1342)
NetClients.URIResolver class>>openStreamOn:ifFail: (/URIResolver.st:75)
FileStream class(FileDescriptor class)>>open:mode:ifFail: (FileDescr.st:133)
FileStream class(FileDescriptor class)>>open:mode: (FileDescr.st:111)
UndefinedObject>>executeStatements (a String:1)
nil
st>

_______________________________________________
help-smalltalk mailing list
help-smalltalk@gnu....
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.