Hello,

I used the below script and I get a Network timeout

** Access Error: Network timeout.
** Where: write/binary file read/binary site/:file

REBOL [
    Title: "Download List of Files"
    File:  %ftpdown.r
    Date:  26-May-1999
    Purpose: {Download a list of binary files using FTP.}
]

site: ftp://Anonymous:[EMAIL PROTECTED]/updates/B50_b

files: [%76370stnd]
foreach file files [
    write/binary file read/binary site/:file
]


Thanks for the reply
Gobiraj



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 17, 2000 4:05 PM
To: [EMAIL PROTECTED]
Subject: [REBOL] Download a list of binary files using FTP Re:


Hi,

Try:

files: [%76370stnd %77427stnd]

maybe

files: ["76370stnd" "77427stnd"]

will also work.

Michal Kracik

[EMAIL PROTECTED] wrote:
>
> Hello,
>         I'm very new to REBOL.I'm trying to read a list of files from a
ftp
> site.
>         But I get the below error.Can anyone help me
> Regards
> Gobiraj
>
> REBOL [
>     Title: "Download List of Files"
>     File:  %ftpdown.r
>     Date:  26-May-1999
>     Purpose: {Download a list of binary files using FTP.}
> ]
>
> site: ftp://www.support.baan.com/updates/B50_b
>
> files: [76370stnd 77427stnd]
> foreach file files [
>     write/binary file read/binary site/:file
> ]
>
> The output is
>
> Script: "REBOL Extended Definitions" (3-Sep-1999/17:55:08)
> Script: "User Preferences" (10-Jan-2000/13:07:27-6:00)
> ** Syntax Error: Invalid integer -- 76370stnd.
> ** Where: (line 10) files: [76370stnd 77427stnd]
>
>   ------------------------------------------------------------------------
>                   Name: winmail.dat
>    winmail.dat    Type: application/ms-tnef
>               Encoding: base64

Reply via email to