473,671 Members | 2,252 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Coldfusion Error: String index out of range

139 New Member
Hello,

I recently moved my scripts over to a server running Coldfusion MX instead of 5. Now the scripting I'm using to upload a file doesn't work. I've checked it and it all looks okay - any ideas why it isn't working?

The path quoted by the CF variable is an absolute one:

//marlin/assetinl/scripts/TaskBank/Docstore

Expand|Select|Wrap|Line Numbers
  1.  
  2. <cfoutput>
  3. <cffile action="upload" fileField="FileToUpload" destination="#getPath.UploadPath#" nameConflict="MakeUnique">
  4. </cfoutput>
  5.  
  6.  
Thanks
Neil
Mar 7 '12 #1
4 8328
acoder
16,027 Recognized Expert Moderator MVP
Do you have a physical location that this path corresponds to? This error seems to indicate a problem with the destination path.
Mar 26 '12 #2
ndeeley
139 New Member
Hi acoder,

I have the path, but its not drive letter specific, as everyone has the drive mapped to different letters. The full path is http://marlin/assetinl/scripts/TaskBank/DocStore

Would that still work, or would i have to map to a drive letter?

Thanks
Mar 28 '12 #3
acoder
16,027 Recognized Expert Moderator MVP
What about the drive letter on the server machine?
Mar 28 '12 #4
ndeeley
139 New Member
Thanks acoder - I missed looking at using the drive letter on the server: I muddled it with the drive it was mapped to on my machine. All fixed now.

Thanks for your persistance!
Mar 30 '12 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

5
16153
by: lawrence | last post by:
I've waited 6 weeks for an answer to my other question and still no luck, so let me rephrase the question. I know I can do this: <form method="post" action="$self"> <input type="text" name="filesToDelete"> <input type="text" name="filesToDelete"> <input type="text" name="filesToDelete"> </form>
0
1942
by: The Plankmeister | last post by:
Hi (again) I'm purposely generating an SQL error to test my aforementioned custom error handling function, but I encounter a strange problem. The error string generated by my forced error is: SQL error: Too few parameters. Expected 1., SQL state 07001 in SQLExecDirect Which is exactly what I expect. However, even if in my function I have no
1
1757
by: Elie B. | last post by:
Hi, I'm new to Python. I'm trying to embbed Python in my Windows application having some success with redirecting the stdin/out to my windows application using: In my C++ code I use PyRun_SimpleString to execute this code: import sys import mymodule class LOGwriter :
2
3447
by: Christian Hammers | last post by:
Hello How can I do the following command with PHP? $ snmpwalk -Ir -On myhost \ 'ASCEND-MIBINET-MIB::internetProfile-Active."cir-1-26"' ..1.3.6.1.4.1.529.23.1.1.1.2.8.99.105.114.45.49.45.50.54 = INTEGER: yes(2) snmpget() does not like the string index and give "Invalid object identifier", it seems that something like the "-Ir" flag is missing in PHP as other
16
3687
by: ES Kim | last post by:
"A Book on C" explains a technique to use an arbitrary array index range. int* p = malloc(sizeof(int) * 10) - 1; This way, the allocated array can be accessed with index range 1 ~ 10, not 0 ~ 9. You cannot use p, of course, and the memory should be released with free(p + 1). It worked with gcc and MSVC, but I'm not sure if it makes sense to take the address before the initial element of an array. Does anyone have any definite answer?
4
1866
by: ad | last post by:
When we user SqlDataReader, we can use integer or string as index. For example, if the query string is : Select Math, Nature, Social form Scores" and the myRD is the SqlDataReader, We can refer a field by myRD, or myRD But how can we get the string index for the integer index. For example, sting sPassSubjects
6
32055
by: nrperry | last post by:
Hello, I have a question about this error: Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -2 I am doing my java development in IBM Rationale eclipse. I am compiling and running everything just fine. When I try to run my application on a commandline I get this error. I don't know why this is happening since it is working perfectly in eclipse. I am running a .bat file and here is the...
1
2288
by: Bobby Edward | last post by:
This line of code... Using db As New dsUsersTableAdapters.useroptionsTableAdapter Produces this error: Out of range value adjusted for column 'EngrAlertForNewQuestions' at row 1 Any idea what this means?
1
6735
anfetienne
by: anfetienne | last post by:
i take information from a database and then have the collected values entered into a form with hidden fields. <input type="hidden" name="returnURL" id="returnURL" value="<?php print $returnURL;?>"/> <input type="hidden" name="tempID" id="tempID" value='<?php print $random_digit;?>'/> <input type="hidden" name="htmlcss" id="htmlcss" value='<?php print $htmlcss;?>'/> <input type="hidden" name="header" id="header"...
1
6370
by: Sven Willgren | last post by:
Hello All, While trying to open a form I get the following error: An error occurred creating the form. See Exception.InnerException for details. The error is: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Previously the form loaded flawlesly. I made several small changes to subs contained in the form, and after that the problem appeared. These changes included some changes...
0
8917
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8821
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8670
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7437
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5696
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4225
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4407
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2812
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1809
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.