Re: cffile misbehaving?

2008-03-03 Thread Les Schmidt
Claude/James - thanks for your posts... the explanations are much appreciated. I also received a great reference to william seiters blog post on cffile: http://wsoncf.blogspot.com/2008/02/knowledgebase-file-uploading.html case closed...on to other challenges

Re: cffile misbehaving?

2008-03-02 Thread Claude Schneegans
they both have the file name and no directory information can be found. I'm surprised there even exists a cffile.clientDirectory variable, since this information is never provided by any browser. If it was it would constitute a serious breach in security. --

cffile misbehaving?

2008-03-02 Thread Les Schmidt
Anyone encounter this? Use cffile to upload a file to a server. Then dump #cffile#. attributes listed include cffile.clientFile and cffile.clientDirectory. When I run this (on three different systems), clientFile eq clientDirectory...they both have the file name and no directory information

Re: cffile misbehaving?

2008-03-02 Thread Les Schmidt
Well I would agree with you except that the information is only available after the server has uploaded the file. Hence it seems that it would have had to know where to get the file from (i.e. the client's directory and file path). Furthermore, the good folks on the ColdFusion team seem to

Re: cffile misbehaving?

2008-03-02 Thread Claude Schneegans
Hence it seems that it would have had to know where to get the file from (i.e. the client's directory and file path). The server does not get the file, the client sends the file, therefore the server does not need to know the directory name. The server gets the file name, but this is just

Re: cffile misbehaving?

2008-03-02 Thread James Holmes
Exactly - it depends on what the client is willing to send. In IE7 my test code gives me the full client path where it belongs in the CFFILE struct (including my username, since I uploaded from the My Documents folder in my account). Firefox displays the behaviour the OP described (no client