> user has been bounced to a different machine (3 server hardware load
> balanced environment)

No that can't be it. The user will (well should) be on the same machine for
the full http request. I think that temporary network failures to your UNC
path is more likely.

Code something like this is figure it out.

<cfif DirectoryExists(uncpath)>
        <cffile action=upload ...
<cfelse>
        <cfmail

        Error the  uncpath #uncpath# is not reachable...
        </cfmail>

</

or use a cftry / cfcatch/

Also I wouldn't user a UNC like  \\unc\E$\whatever much better you create a
share uploads and then use it like \\unc\uploads

The temp file is always created in cffile action=upload, it is then moved to
your destination folder.

> CFMX has Win2K rights

not sure what you mean by that ? CFMX is running under a user account I
presume. That user has the permissions on the NAS..

WG

-----Original Message-----
From: Jeremy Bruck [mailto:[EMAIL PROTECTED]
Sent: 24 June 2003 17:49
To: CF-Talk
Subject: Uploading Files with CFFile


Everyone,

We are having some problems when users are uploading files.  We don't get
this error all the time, but about 4/5 times per day (out of 50ish
uploads/day).  The error from CFMX is "The directory either does not exist
or is not accessible by this tag".  We are using a UNC path over to a
different server:  \\216.xxx.xxx.xxx\E$\mfgq_live\uploads.

The only thing we can think of is CFMX seems to create a *.tmp file upon
upload. And after submission CFMX can't get back to the tmp file since the
user has been bounced to a different machine (3 server hardware load
balanced environment).  Here is an example of the temp file:  RFQ_FILE =
C:\CFusionMX\runtime\servers\default\SERVER-INF\temp\wwwroot-tmp\neotmp27206
.tmp

FYI, users are uploading files to a NAS -- CFMX has Win2K rights to the NAS
to get the files (JVM 1.4.102 on Apache 2.044).

Could CFMX throw errors bucuase of this?  Anyone have an idea how this works
in CFMX?

Thanks for the help!

Jeremy

--------------------
Jeremy Bruck,
VP of Technology
::MfgQuote
www.mfgquote.com
[EMAIL PROTECTED]


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to