Post by David Drake on Jan 3, 2020 13:59:58 GMT -5
Is this even possible? I am attempting to use the httpget$ command to retrieve an FTP file, like so:
It crashes. Here is the error report:
Error log timestamp Friday 01/03/20 12:56:52 PM
Runtime error: The parameter is incorrect. ( OS error 16r57 )
Error(Exception)>>defaultAction
Error(Exception)>>activateHandler: <anUndefinedObject>
Error(Exception)>>handle
Error(Exception)>>signal
Error class(Exception class)>>signal: <'The parameter is inc...'>
BasicProgram(Object)>>error: <'The parameter is inc...'>
BasicProgram>>terminateRun: <anError>
[] in BasicProgram>>errorHandlerBlock
ExceptionHandler>>evaluateResponseBlock: <aBlockClosure> for: <anError>
[] in ExceptionHandler>>handle:
ProtectedFrameMarker(BlockClosure)>>setUnwind: <aBlockClosure>
BlockClosure>>invisibleEnsure: <aBlockClosure>
ExceptionHandler>>handle: <anError>
ExceptionHandler>>findHandler: <anError>
Error(Exception)>>activateHandler: <anExceptionHandler>
Error(Exception)>>handle
Error(Exception)>>signal
Error class(Exception class)>>signal: <'The parameter is inc...'>
OperatingSystemInformation(Object)>>osError: <87>
OperatingSystemInformation(Object)>>osError
OperatingSystemInformation>>getErrorMessage: <317>
OperatingSystemInformation(Object)>>osErrorMessage: <317>
OperatingSystemInformation(Object)>>osError: <317>
OperatingSystemInformation(Object)>>osError
OperatingSystemInformation>>getErrorMessage: <12003>
Object class(Object)>>osErrorMessage: <12003>
[] in BasicHttpget class>>using:program:
BasicVariableAssigner>>value
[] in BasicProgram>>begin
ExceptionHandler>>evaluateProtectedBlock: <aBlockClosure>
[] in ExceptionHandler>>activateDuring:
weather$ = httpget$("ftp://tgftp.nws.noaa.gov/data/observations/metar/decoded/KBHM.TXT")
It crashes. Here is the error report:
Error log timestamp Friday 01/03/20 12:56:52 PM
Runtime error: The parameter is incorrect. ( OS error 16r57 )
Error(Exception)>>defaultAction
Error(Exception)>>activateHandler: <anUndefinedObject>
Error(Exception)>>handle
Error(Exception)>>signal
Error class(Exception class)>>signal: <'The parameter is inc...'>
BasicProgram(Object)>>error: <'The parameter is inc...'>
BasicProgram>>terminateRun: <anError>
[] in BasicProgram>>errorHandlerBlock
ExceptionHandler>>evaluateResponseBlock: <aBlockClosure> for: <anError>
[] in ExceptionHandler>>handle:
ProtectedFrameMarker(BlockClosure)>>setUnwind: <aBlockClosure>
BlockClosure>>invisibleEnsure: <aBlockClosure>
ExceptionHandler>>handle: <anError>
ExceptionHandler>>findHandler: <anError>
Error(Exception)>>activateHandler: <anExceptionHandler>
Error(Exception)>>handle
Error(Exception)>>signal
Error class(Exception class)>>signal: <'The parameter is inc...'>
OperatingSystemInformation(Object)>>osError: <87>
OperatingSystemInformation(Object)>>osError
OperatingSystemInformation>>getErrorMessage: <317>
OperatingSystemInformation(Object)>>osErrorMessage: <317>
OperatingSystemInformation(Object)>>osError: <317>
OperatingSystemInformation(Object)>>osError
OperatingSystemInformation>>getErrorMessage: <12003>
Object class(Object)>>osErrorMessage: <12003>
[] in BasicHttpget class>>using:program:
BasicVariableAssigner>>value
[] in BasicProgram>>begin
ExceptionHandler>>evaluateProtectedBlock: <aBlockClosure>
[] in ExceptionHandler>>activateDuring: