Strange FTP problem
[1/1] from: maillist::peter::home::se at: 10-May-2005 23:07
Hello!
I have encounterer a problem which I don't know how to solve.
I have a script that will download a file using FTP.
First I apply a fix recommended on the list a long time ago,
which I don't know if it is still needed. The URL to this fix
is: http://www.codeconscious.com/rebsite/rebol-library/patch-ftp-226-handling.r
Then I do (where index-file is defined as ftp://username:[password--hostname]):
system/schemes/ftp/passive: true
indata: read/lines index-file
system/schemes/ftp/passive: false
The first time I run the script everything seems to work, but
if I try running the script again I encounter the following
error message:
** User Error: Server error: FTP none
** Near: indata: read/lines index-file
>> print system/version
2.5.6.4.2
Running on a Debian/Linux system.
Any suggestions on what might be wrong?
Best regards,
Peter Carlsson