Sponsored Content
Special Forums Windows & DOS: Issues & Discussions Error opening script file - location error Post 302394223 by starcraftbud on Wednesday 10th of February 2010 08:53:51 PM
Old 02-10-2010
Hello again. Thank you very much for the responses. I will try to answer your questions to the best of my ability. I am in a location where I cannot access the files, but I should be able to answer by memory.

Eagle - I will double check the that the .bat file calls the .txt file from the right location, but I doubt this is the issue because I was meticulous in creating the files. And yes, I believe the .bat file and the .txt file which get created are located in the same directory. They are both stored in the same folder.

Corona - The path does have a space in it. How would I get ftp to consider the entire path? As I mentioned in my first post, the error appears to be at the space. Perhaps restating it will help. The files are saved in a location: U:shared/common/FA - Files

The error says it cannot run the script from the location. In the ftp it shows only: U:shared/common/FA.

It is missing the last "- Files". Without changing the folder name, how can I correct this?

Methyl - I did not reveal enough information to make the .bat file's complete intent. This .bat file is based on a larger VBA project in a different application. The batch file is intended to create a temporary file which pulls data from an excel spreadsheet (the data changes). The spreadsheet is set up in such a way that it contains all the remaining proper syntax required to transfer all the files I need. Once the spreadsheet's data has been pasted into the temporary .txt file, the .txt file is complete will all the data I need. At this point, the .bat file is supposed to "run" this .txt file in ftp.

In my first post, I mentioned the .txt file is created exactly how I need it. I can manually type out the .txt file in ftp and it works as it is supposed to. The issue I have is why the .bat file cannot run the .txt file through ftp in the location it currently is. I know very little about Unix and ftp so it does not surprise me that the syntax or logic is bad, but for my purposes, I think the functionality is very nearly complete.

The network name of the server is: U:shared/common/FA - Files
Everything including the excel sheet, .bat file, and .txt file which gets created are all located in the folder called "FA - Files". I am not 100% sure of the format. I know the excel file is a special format. I "borrowed" it from other processes which use ftp. Source file, destination file, and ftp username and passwords are all in the excel file - which correctly go into the .txt file.

Thanks again guys. I'm hoping these details can help clear things up. I think the space in the path name is my issue. Changing this will not be easy unfortunately.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

error while opening files in a directory

I tried opening the files in a directory and print thier names. But it was thowing the error "unable to open directorty at t5.pl line 2." Can u plz correct this error in below mentioned code. #!/data/scoredev/perl opendir(HOMEDIR,"c:\vin") || die("unable to open directorty");... (3 Replies)
Discussion started by: vinay123
3 Replies

2. Programming

Error found while opening any pdf file from IE 6

Hello All, My application is followed J2ee architecture. It contains Java and jsp codes. This application generates some reports in pdf format. I am using Weblogic 10.3 and jdk 6. While I want to open the pdf in IE 6 with service pack 2 , the pdf not showing properly. It comes in byte code.... (3 Replies)
Discussion started by: priyankak
3 Replies

3. Windows & DOS: Issues & Discussions

error opening website

hi I have unusual problem you might say. I can't open microsoft.com , I've checked file hosts located somewhere in windows/system32/drivers .. and its not blocked from there, what else could cause this problem, I need to download microsoft visual studio and I can't cause I can't open the website,... (1 Reply)
Discussion started by: c0mrade
1 Replies

4. Programming

Error in opening a file C++

Hi, I have written a function which will open the file with the input name provided.Input name is in string format so while opening I am converting it using c_str().detail code below Plz let me know what is the wrong in code. 1 #include<iostream> 2 #include<fstream> 3 ... (4 Replies)
Discussion started by: forstudy3
4 Replies

5. Solaris

Very Importan - Vim Settings - Error while opening a File using vim

I downloaded vim.7.2 and compiled the vim source . Added the vim binary path to PATH (Because iam not the root of the box) when i load the file using vim it throws me an error Error detected while processing /home2/e3003091/.vimrc: line 2: E185: Cannot find color scheme darkblue line... (0 Replies)
Discussion started by: girija
0 Replies

6. Solaris

Error opening PAM libraries : solaris 10 on vmware workstation

Hi Admins, I am facing an issue with Solaris 10 sitting on vmware workstation... When I start it, it gives me an error : "Error opening PAM libraries, contact system administrator" Also I can reach it via putty, but none of the id/passwd working. I did revert pam.conf. But still no... (2 Replies)
Discussion started by: snchaudhari2
2 Replies

7. AIX

Error opening device: /dev/fscsi0

Hello, One one of my AIX boxes I'm having the following errror: fcstat fcs0: Port Speed (supported): 4 GBIT Error opening device: /dev/fscsi0 errno: 0000003d Has anyone encountered similar errors? Thank you! (1 Reply)
Discussion started by: aixn00b
1 Replies

8. Solaris

Library error while opening firefox

I have Solaris-10 zone, where I can open firefox in GUI via MobaXterm with root user, but when I try to open it with non root user, it fails with below error $ which firefox /usr/bin/firefox $ firefox ld.so.1: firefox-bin: fatal: relocation error: file... (6 Replies)
Discussion started by: solaris_1977
6 Replies

9. AIX

Opening a file in vi editor is giving out of memory error

Below is the error: Out of memory saving lines for undo - try using ed : Please help me how do I open this file. Best regards, Vishal (5 Replies)
Discussion started by: Vishal_dba
5 Replies

10. UNIX for Advanced & Expert Users

LibGL error when opening GUI version of MATLAB

Hi all, Today, I have a question regarding a libGL error. Currently, I access linux server by using the terminal application in MAC. However, when I try to use GUI version of MATLAB, I have faced an error message as shown below. libGL error: No matching fbConfigs or visuals found libGL... (1 Reply)
Discussion started by: syg3434
1 Replies
CURLOPT_WILDCARDMATCH(3)				     curl_easy_setopt options					  CURLOPT_WILDCARDMATCH(3)

NAME
CURLOPT_WILDCARDMATCH - enable directory wildcard transfers SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_WILDCARDMATCH, long onoff); DESCRIPTION
Set onoff to 1 if you want to transfer multiple files according to a file name pattern. The pattern can be specified as part of the CUR- LOPT_URL(3) option, using an fnmatch-like pattern (Shell Pattern Matching) in the last part of URL (file name). By default, libcurl uses its internal wildcard matching implementation. You can provide your own matching function by the CUR- LOPT_FNMATCH_FUNCTION(3) option. A brief introduction of its syntax follows: * - ASTERISK ftp://example.com/some/path/*.txt (for all txt's from the root directory) ? - QUESTION MARK Question mark matches any (exactly one) character. ftp://example.com/some/path/photo?.jpeg [ - BRACKET EXPRESSION The left bracket opens a bracket expression. The question mark and asterisk have no special meaning in a bracket expression. Each bracket expression ends by the right bracket and matches exactly one character. Some examples follow: [a-zA-Z0-9] or [f-gF-G] - character interval [abc] - character enumeration [^abc] or [!abc] - negation [[:name:]] class expression. Supported classes are alnum,lower, space, alpha, digit, print, upper, blank, graph, xdigit. [][-!^] - special case - matches only '-', ']', '[', '!' or '^'. These characters have no special purpose. [[]\] - escape syntax. Matches '[', ']' or ''. Using the rules above, a file name pattern can be constructed: ftp://example.com/some/path/[a-z[:upper:]\].jpeg PROTOCOLS
This feature is only supported for FTP download. EXAMPLE
See https://curl.haxx.se/libcurl/c/ftp-wildcard.html AVAILABILITY
Added in 7.21.0 RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. SEE ALSO
CURLOPT_FNMATCH_FUNCTION(3), CURLOPT_URL(3), libcurl 7.54.0 February 03, 2016 CURLOPT_WILDCARDMATCH(3)
All times are GMT -4. The time now is 06:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy