What if you map the drive to a drive letter.
Example:  H: = \\servername\filefolder\

then in CFCONTENT use:  H:\whatever_you_need


>>> [EMAIL PROTECTED] 03/26/03 08:18AM >>>
Hi Philip,

Thanks for your time.

But even the files uploaded hours ago still the same. It must be
something to do with the path to the server. I believe when talking
about the directory not on the same server, there is a difference
between pathes used in <CFFILE> and the <CFcontent> , though they point
to the same place. Just don't know what it is. I can use
"\\servername\uploadfold\" in <CFFILE> to upload files to another
server, but cannot use the same path to view it with <CFcontent>. Then
tried to use "http://....."; still not working.

Thanks again.

Sima



-----Original Message-----
From: Philip Arnold [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 25, 2003 5:43 PM
To: CF-Talk
Subject: RE: Problem with view uploaded files


> Thanks for the help, this is the error message I got:
>
> Error Message: No such file.<br>
>                               Error Detail: The file
> specified in CFContent does not exist:
>
http://172.16.1.151/activeFiles/1674_1562949_337_944811446_Built50.txt

> <p>The error occurred while processing an element
> with a general identifier of (CFCONTENT)
>
> Where the activeFiles is a virtul directory which points to
> the files stored on the forth server. The file was just
> uploaded to there.
>
> Now instead of give me blank window, it shows the standand
> download window ask me whethere to open or save the file. I
> choose to open , it shows the souce of my display page, not
> the page on that server, though using the correct file name.

What you've got to remember is that with NT, it doesn't write the file
immediately as soon as it's uploaded, the file system can take a
fraction of a second to finish writing it

If you're writing across a network, then it might take a fraction
longer

For a test, maybe use CF_WAIT to stall for while, say a second

Would that work?




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

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

Reply via email to