FTP problem (Jan Schenkel)
brendan at poolcreative.com
Thu Sep 26 06:11:01 EDT 2002
Hi Jan (and Dave!)
Thanks for both of your responses. These helped slightly, but now I get an empty (ie 0 byte) file on my server, rather than a string inside the file. I'm not sure at all what is causing this! Surelt "binefile:/" is enough to denote all of the file's content?
> Message: 11
> Date: Tue, 24 Sep 2002 05:46:12 -0700 (PDT)
> From: Jan Schenkel <janschenkel at yahoo.com>
> Subject: Re: FTP problem
> To: use-revolution at lists.runrev.com
> Reply-To: use-revolution at lists.runrev.com
> Hi Brendan,
> I don't think I'm the only one experiencing a deja-vu.
> Dave Cragg already answered your question. Look at
> this entry in the use-revolution mailing list archive:
> It boils down to putting ("binfile:"&it) between
> parentheses in the one-but-last line, and removing the
> two "url" keywords from the last line.
> Best regards,
> Jan Schenkel.
> "As we grow older, we grow both wiser and more foolish
> at the same time." (De Rochefoucald)
> --- Brendan Bonsack <brendan at poolcreative.com> wrote:
> > Hi List,
> > I'm wondering if anyone can help me with this
> > problem...
> > I have the following script that attempts to send a
> > jpeg via ftp to a
> > server.
> > on mouseUp
> > global tUrl
> > put
> > into
> > tUrl
> > answer file with filter "JPEGs,*.jpg"
> > put URL "binfile:/"&it into tUploadData
> > liburlftpupload url tUploadData,url tURL,"seeit"
> > end mouseUp
> > The same file works okay using other FTP apps, but
> > with Revolution, the
> > file arrives at its destination, but is not a valid
> > Jpeg and when opened
> > in a text editor, simply displays the local path as
> > a string. Can anyone
> > see what is going wrong. I have tried various
> > approaches but cannot get
> > it to FTP binary data it seems.
> > Cheers
> > Brendan
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!
More information about the Use-livecode