[REBOL] Re: Uploading to ftp
From: compkarori:g:mail at: 2-Jun-2009 18:53
Did you try
write/binary join site %myfile.exe read/binary %myfile.exe
??
On Tue, Jun 2, 2009 at 6:48 PM, Henrik Mikael Kristensen
<henrikmk-gmail.com> wrote:
> Somehow, some posts are base64 encoded. This is the decoded original post:
>
> Hi, I'm trying to upload a file to a ftp site but it gives an error as below
>
>>> write/binary site %myfile.exe
> ** User Error: Cannot open a dir port in direct mode
>
>>> site
> ftp://myuser:mypass-mysite/1/2/3/
>
> 1, 2, 3 are directories under mysite.
> I can get directory list with
>>> print read site
>
> And, can create directories using "make-dir site %test/"
> Or can read files from there. But write gives that error.
> I tried both system/schemes/ftp/passive: true and false.
> Any idea?
>
> --
> Regards,
> Henrik Mikael Kristensen
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
--
Graham Chiu
http://www.synapsedirect.com
Synapse - the use from anywhere EMR.