Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
GAE - CFFILE, CFDIRECTORY
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Baz  
View profile  
 More options Jun 24, 7:40 am
From: Baz <thinkl...@gmail.com>
Date: Wed, 24 Jun 2009 04:40:45 -0700
Local: Wed, Jun 24 2009 7:40 am
Subject: GAE - CFFILE, CFDIRECTORY

I am playing around with the latest GAE code drop, trying to test out the
new cffile/cfdirectory functionality, and I can't seem to figure what
attribute combinations to use. For example I tried the following, with
varying error messages:

<cffile action="upload" filefield="form.myfile"

Similarly for cfdirectory.

I know it is not complete so I understand if these aren't working yet. What
is working? Should I even be testing at this stage? Vince, do you have a
dummy cfm page that you use to run a bunch of tests like uploading a file
then reading it and the directory, if so can you post it?

Cheers,
Baz


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vince Bonfanti  
View profile  
 More options Jun 24, 8:01 am
From: Vince Bonfanti <vbonfa...@gmail.com>
Date: Wed, 24 Jun 2009 08:01:51 -0400
Local: Wed, Jun 24 2009 8:01 am
Subject: Re: [OpenBD] GAE - CFFILE, CFDIRECTORY

Use full absolute paths. Either of these will return the absolute path to
the current directory:

<cfset currentDir = getDirectoryFromPath( getCurrentTemplatePath() )>

<cfset currentDir = expandPath( "./" )>
Vince


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Baz  
View profile  
 More options Jun 24, 8:35 am
From: Baz <thinkl...@gmail.com>
Date: Wed, 24 Jun 2009 05:35:42 -0700
Local: Wed, Jun 24 2009 8:35 am
Subject: Re: [OpenBD] Re: GAE - CFFILE, CFDIRECTORY

Very nice! Uploading a file, reading the file and listing a directory all
work.

Baz


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google