[REBOL] [REBOL]HELP! FTP Access problems Re:

2000-01-31 Thread karin . verstockt

And here is a confirmation from Belgium: your code works fine. It must be
your network setup.

>> print read ftp://jazz.trumpet.com.au/
connecting to: jazz.trumpet.com.au
beta/ bin/ dostrump/ etc/ fanfare/ firesock/ ipv6/ irc/ lwp-vers/ mailre
ader/ priv/ private/ scripts/ slipper/ tcp-abi/ tmp/ winirc/ winsock/ wi
ntrump/
>>

Regards

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, January 31, 2000 8:53 PM
Subject: [REBOL] [REBOL]HELP! FTP Access problems


(snip)




[REBOL] [REBOL]HELP! FTP Access problems Re:

2000-01-31 Thread joel . neely

Hi, Tim...

[EMAIL PROTECTED] wrote:
> 
> Here's where I am at right now: I've gone from attempting
> to append to a text file in a site where I've got
> privileges to testing a site with anonymous access.
> code:
> 

I tried connecting to that site from a simple ftp client app.  I was
able to connect, but there were VERY long delays.  Incidentally, the
greeting from the ftp server said that

ftp.trumpet.com

was a server that would likely give better response for US users.

I then tried to hit the .au site via REBOL with no luck...

>> system/schemes/ftp/timeout: 120
== 120
>> read ftp://jazz.trumpet.com.au/
URL Parse: none none jazz.trumpet.com.au none none none
Net-log: ["Opening tcp for" FTP]
Net-log: [
none ["220" "230"]]
** User Error: Server error: tcp HTTP/1.0 408 Request Time-out.
** Where: read ftp://jazz.trumpet.com.au/
>>

Hope this helps!

-jn-



[REBOL] [REBOL]HELP! FTP Access problems Re:

2000-01-31 Thread mdb

Works for me too

>> read ftp://jazz.trumpet.com.au/
connecting to: jazz.trumpet.com.au
== [%beta/ %bin/ %dostrump/ %etc/ %fanfare/ %firesock/ %ipv6/ %irc/
%lwp-vers/ %mailreader/ %
priv/ %private/ %scripts/ %slipper/ %t...
>>






[REBOL] [REBOL]HELP! FTP Access problems

2000-01-31 Thread tjohnson

This is turning into a nightmare: I've banked on
rebol (and advertised it) as a medium for a project
for fire safety here in the State Of Alaska. I've
run into a dead-end, and despites some helpful
hints from the mailing list, I'm dead in the water.

Here's where I am at right now: I've gone from attempting
to append to a text file in a site where I've got 
privileges to testing a site with anonymous access.
code:

;;;
REBOL
[
  Title:  "Test FTP Access now"
  Date:   28-Jan-2000
  Author: "Tim Johnson"
  Email:  [EMAIL PROTECTED]
  File:   %Test.r
  Purpose:{To test FTP Access, for fire saftety site project}
]
site: ftp://jazz.trumpet.com.au/
print site
read site

rebol returns:
>> do %test.r
Script: "Test FTP Access now" (28-Jan-2000)
ftp://jazz.trumpet.com.au/
connecting to: jazz.trumpet.com.au
** User Error: Server error: tcp 500 Illegal PORT Command.
** Where: read site
>>
I'm just flabbergasted here. If one refers to users\NETFTP.HTML
and goes to the documentation: the following text is read
by me

Authentication 
Networking must be configured to connect to remote sites. If the remote
site accepts anonymous login and the FROM email address has been
configured, simply executing the expression 

read ftp://host.com/

;using:
dir-list: load site
;returns 
** User Error: Server error: tcp 500 Illegal PORT Command.
** Where: dir-list: load site
;;looking at the documentation again I see the following:
Reading, Traversing And Creating Directories 
Both read and load can be used to retrieve a directory listing: 

dir-list: load ftp://host.com/

;; yet in both cases I get error messages





[REBOL] [REBOL] HELP! FTP Access problems

2000-01-31 Thread tjohnson

I can't do an append to a text file on ftp site:
following the first line of asterisks is rebol
output. Following the second line is script.
In the rebol output I have inserted a comment
begining with NOTE:
*
>> do %test.r
Script: "Test FTP Access now" (28-Jan-2000)
ftp://usr:[EMAIL PROTECTED]/autoexec.bat
URL Parse: usr pass w3.interfacefire.com none none autoexec.bat
Net-log: ["Opening tcp for" FTP]
connecting to: w3.interfacefire.com
Net-log: [
none ["220" "230"]]
Net-log: "220-Serv-U FTP-Server v2.2  for WinSock ready..."
Net-log: "220 W3.Neptune.Com"
Net-log: [["USER" port/user] "331"]
Net-log: "331 User name OK, send password"
Net-log: [["PASS" port/pass] "230"]
Net-log: "230 User usr logged in";NOTE: my username is lower case, here
it 
;printed out as upper case
Net-log: [
"TYPE I" "200"]
Net-log: "200 TYPE set to IMAGE (binary)"
Net-log: [["PORT" port/locals/active-check] "200"]
Net-log: "200 PORT Command OK"
Net-log: [["CWD ~"] "250"]
Net-log: "250 Directory changed to /c:/netscape/suitespot"
Net-log: [["CWD" either empty? port/path ["./"] [join "./" port/path]] "250"]
Net-log: "250 Directory changed to /c:/netscape/suitespot"
Net-log: [[join "LIST " port/target] ["150" "125"]]
Net-log: "150 Opening data connection"
Net-log: [
none "226"]
** Access Error: Network timeout.
** Where: read site
*
REBOL
[
  Title:  "Test FTP Access now"
  Date:   28-Jan-2000
  Author: "Tim Johnson"
  Email:  [EMAIL PROTECTED]
  File:   %Test.r
  Purpose:{To test FTP Access}
]
site: ftp://tjohnson:[EMAIL PROTECTED]/autoexec.bat
print site
trace/net on
read site
*
At 12:34 PM 1/29/00 -0800, you wrote:
>Try doing a "trace/net on" and try it again. That will provide more useful 
>information. If you post it, look for and edit out your user and password 
>information. Hope this helps.
>
>  - jim
>
>At 11:19 AM 1/29/00 -0900, you wrote:
>>The following code:
>>;;==
>>site: ftp://usr:[EMAIL PROTECTED]/
>>read site
>>;;==
>>generates the folowing error message from Rebol:
>>** Access Error: Network timeout.
>>** Where: read site
>>Of course, in my code, I have my correct login
>>in place of "usr" and my correct password in place
>>of "pass".
>>
>>In fact, if I substitute an incorrect login or
>>password, I do get a response from Rebol to that
>>effect.
>>
>>;;=
>>Since this is a site that I routinely FTP to,
>>then I presume that I need to do something with
>>my Rebol network configuration, but I can't find
>>from the documentation where that information is.
>>
>>Can anyone help with this?
>>
>>Thanks
>>Tim
>
>
>