[REBOL] Re: Writing to file on server
From: cybarite:sympatico:ca at: 23-Jul-2001 5:34
At 12:08 AM 7/23/01 -0700
>Hi,
>
>using the Rebodex code from the demo as an example.
>Currently, it writes to the local machine.
>
>How can I modify it such that it will write to the
>server?
You can use FTP write in the format:
write ftp://user-id:[password--site]/directory/file.r
updated-data-file.r
You can prompt for the user-id and password combination on your user
interface with the requester
credentials: request-pass
When this is completed credentials: [logon-id password]
that you can provide to the write statement above.
There is a sample of request-pass on the cybarite REBSITE under
View Usage / Requesters / Get A Logon ID and Password
Graham Chiu has updated the calendar program to do this on his REBSITE
Compkaroi
although he does not use request-pass to collect the credentials. He
prompts for them
under his code control.
There is also a Rebodex version on the Compkaroi site that is noted as
broken under View 1.1