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
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT SUSE
ftp_geturl
ftp::geturl(n) ftp client ftp::geturl(n)
__________________________________________________________________________________________________________________________________________________
NAME
ftp::geturl - Uri handler for ftp urls
SYNOPSIS
package require Tcl 8.2
package require ftp::geturl ?0.2.1?
::ftp::geturl url
_________________________________________________________________
DESCRIPTION
This package provides a command which wraps around the client side of the ftp protocol provided by package ftp to allow the retrieval of
urls using the ftp schema.
API
::ftp::geturl url
This command can be used by the generic command ::uri::geturl (See package uri) to retrieve the contents of ftp urls. Internally it
uses the commands of the package ftp to fulfill the request.
The contents of a ftp url are defined as follows:
file The contents of the specified file itself.
directory
A listing of the contents of the directory in key value notation where the file name is the key and its attributes the asso-
ciated value.
link The attributes of the link, including the path it refers to.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category ftp of
the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
SEE ALSO
ftpd, mime, pop3, smtp
KEYWORDS
ftp, internet, net, rfc 959
ftp 0.2.1 ftp::geturl(n)