12-22-2011
Quote:
Originally Posted by
methyl
If this is a proper text file be sure to use "ascii" mode for the ftp (just issue the command "ascii" before the "put" command). This is because Microsoft text file format is different from unix text file format.
Interesting. Im pretty sure it doesn't need to be modifed(Im not sure). I didn't create the .xml on my machine. Its the same xml file thats currently in Unix but it was modified a little bit by support from MicroStrategy.
Quote:
We know nothing about the permissions of your account. If you are user "mstr" in group "staff" you can change your own files.
I have to apologize since im a moron with Unix. This is the directory that shows when I log in; spkupa401/usr/home/mstr) I then did a "who" command and the it shows "mstr" and "root". So I assume that I have to be "mstr"
spkupa401(/WebSphere) $who
root lft0 Jul 26 13:09
mstr pts/1 Dec 22 09:03 (qsd082265.vcdev.vc.net)
So if thats the case then yes I have full premissions for the WebSphere directory;
spkupa401(/) $ls -l
total 3488
drwxr-xr-x 11 mstr staff 4096 Oct 06 16:10 WebSphere
Quote:
The "ftp" process will prompt you if you are about to overwrite a file.
It is best practice to copy any file before changing that file. In this case renaming the target file before replacing that file would be prudent. Be sure to correct any permissions afterwards
Yes im glad you brought that this up. This is because also I actually don't want to keep the new file in there. Just a quick background the .xml file im moving in there is modified to allow a trace. The current .xml in there doesn't have the trace turned on. So I guess it would actually make more sense to just rename the Logging.xml file like you said in the directory
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i want to ftp a flat file from my local harddrive to the unix server box. Can anybody send me the command. Thanks (6 Replies)
Discussion started by: dummy_needhelp
6 Replies
2. Shell Programming and Scripting
Objective
*******
I was trying to develop a script that moves files from one folder to another in Windows drive from a Unix script. I got ftp account created for those windows folders.
I know that for moving a file from Unix server to Windows server we use scp command, but is there a command... (2 Replies)
Discussion started by: anilvaranasi_02
2 Replies
3. Shell Programming and Scripting
Hi all,
I have a query and need advise. is it possible to have a script which will monitor file/s on network shared drive (windows machine)? Is there a way i can monitor a file is available on shared drive and move it over to unix machine for further processing? Any guidance or advice much... (3 Replies)
Discussion started by: zulfikarmd
3 Replies
4. UNIX for Dummies Questions & Answers
I am getting the fallowing error when i am trying to execute the scp commomd in shell script
warning: You have no controlling tty. Cannot read confirmation.
warning: Authentication failed.
Disconnected; key exchange or algorithm negotiation failed (Key exchange failed.).
scp2: warning: ssh2... (1 Reply)
Discussion started by: manit
1 Replies
5. UNIX for Dummies Questions & Answers
I so desperately need a script to copy a windows csv file to my unix server and i know these should be at dummies but i have no bits. it is life & no job situation help please. thanks (1 Reply)
Discussion started by: zhegal
1 Replies
6. SCO
I have a server unix Sco 5.0 and copy some backup files to flopy drive using command "Tar", but i like copy this files to pen drive, is possible ? my know about Sco is less.
Tks (1 Reply)
Discussion started by: ger2112
1 Replies
7. Windows & DOS: Issues & Discussions
I'm looking to do pretty much what the title says.
I want a script that runs, it can run on Unix or Windows, doesn't matter, and searches a Samba shares for a .txt file.
If the file exists, the script will move (or possibly copy) the file from the Samba share into a directory on our Unix... (3 Replies)
Discussion started by: twcostello
3 Replies
8. Shell Programming and Scripting
Hi Guys,
I need to move myfile.csv file from unix path(\oracle_home) to window c:\ shared drive h:\.
Thanks in advance!
Regards,
Lakshman (1 Reply)
Discussion started by: lakshmanraok117
1 Replies
9. UNIX for Dummies Questions & Answers
Hi Guys,
Can any one help me on this.
I need help to move .csv/.xls file from unix path to windows shared drive or c:\ drive?
Regards,
LKR (1 Reply)
Discussion started by: lakshmanraok117
1 Replies
10. AIX
We have an IBM Power 710. It has a USB port on the front. I have done some searching and see that there is information out there on how to create a JFS2 file system on USB drives. A few have commented that they would not recommend it, if the server is important, may crash the server... Just... (0 Replies)
Discussion started by: mbenedi
0 Replies
LEARN ABOUT DEBIAN
stag-splitter
STAG-SPLITTER(1p) User Contributed Perl Documentation STAG-SPLITTER(1p)
NAME
stag-splitter - splits a stag file into multiple files
SYNOPSIS
stag-splitter -split person -name social_security_no file.xml
DESCRIPTION
Splits a file using a user specified parser (default xml) around a specified split node, naming each file according to the name argument
the files will be named anonymously, unless the '-name' switch is specified; this will use the value of the specified element as the
filename
eg; if we have
<top>
<a>
<b>foo</b>
<c>yah</c>
<d>
<e>xxx</e>
</d>
</a>
<a>
<b>bar</b>
<d>
<e>wibble</e>
</d>
</a>
</top>
if we run
stag-splitter -split a -name b
it will generate two files, "foo.xml" and "bar.xml"
input format can be 'xml', 'sxpr' or 'itext' - if this is left blank the format will be guessed from the file suffix
the output format defaults to the same as the input format, but another can be chosen.
files go in the current directory, but this can be overridden with the '-dir' switch
USAGE
stag-splitter [-split <ELEMENT-NAME>] [-name <ELEMENT-NAME>] [-dir <DIR>] [-format <INPUT-FORMAT>] [-outformat <OUTPUT-FORMAT>] <FILENAMES>
-p|parser FORMAT
FORMAT is one of xml, sxpr or itext, or the name of a perl module
xml assumed as default
-w|writer FORMAT
FORMAT is one of xml, sxpr or itext, or the name of a perl module
-split|s NODE
node to split on
-name|n NODE
field/element to use when naming files
will use surrogate IDs if this argument not specified
-dir|d DIR
write files to this directory
perl v5.10.0 2008-12-23 STAG-SPLITTER(1p)