Hi
I have a web application with a link on a Microsoft Word document.
On the Citrix server Microsoft Word is installed.
What I want to open a word file with the Microsoft Word on the Citrix Server because my Client don't have Microsoft Word on their computers.
How can I do that
Thanks
Phil
Hi
I have a program that use DatagramPacket. I receive message from the server and I want to interpretes the result in a byte array. But the problem is that the byte is signed.
ex : I have -61 in byteArray[16] but the true result is 195.
How can I convert signed byte to unsigned?
Thanks
Phil
I try to read a line in the file and zip the patern read. But, the first time nothing is read :
while read -- line
do
zip -r test.zip $1
done < /dfs/projects/pubachat/list.txt
How can I read the first lign before the do while?
Philippe
Hi
I use zip 2.1 (info-zip). I have a list file I want to zip (list.txt) :
/dfs/projects/pubachat/DDP/DEARJOHN/*.mwp
/dfs/projects/pubachat/DDP/MASTER/*.*
/dfs/projects/pubachat/lettre/*.*
/dfs/projects/pubachat/RFI/*.*
/dfs/projects/pubachat/supplier/*.lwp...
Thanks Salem,
I think I don't lose any logging information I want with
ftp -n <<EOF > log.txt 2>/dev/null.
Can you explain exactly what 2>/dev/null means?
Phil
Yes, the file get sent correctly. The complete code I use is :
1) ftp -n <<EOF > log.txt 2>&1
2) open ${ftpserver}
3) user ${ftpuser} ${ftppassword}
4) put ${filefrom} /dfs/projects/gdm/batch/test.txt
5) quit
6) EOF
The error is on line 4, when I hardcode the from file I don't have...
When I send file with ftp, on put command, I get this message : netout: write returned 0?.
The file looks like to be send.
Anybody knows what this message means and how eliminate it?
Thanks
Hi all,
I wrote a console application. I want to get the current date/time and write in a log file.
How can I get the current date/time ? What include I need?
Thanks,
Phil
Hi all,
I have a script contains this code :
ftp -n <<EOF
open ${serverName}
user ${userId} ${userPassword}
put file.txt /dfs/projects/gdm/batch/result.txt
quit
EOF
Is it possible to put errors in a log file (serverName or userId or password incorrect) ?
Thanks,
Phil
Hi,
I have a file named "property.txt" that contains only one string, ex : specv2002. What I want to do is read this string and set a shell variable with the string in a batch file.
Someone have an idea?
Thanks,
Phil
Hi vlad,
I try your code. When I start the script look like to want my password :
dcegdmd@sda2 ==> script.sh
Password: Name (serverName:dcegdmd):
I try to type my password and press enter and I have this message :
Login incorrect.
Login failed.
Please login with USER and PASS.
Please login...
Hi all,
I want to send with ftp in a unix batch file. I try some combinaison but look like impossible.
ftp serverName
username
password
put test test2
close
quit
Can you help me with this code?
Thanks,
Phil
Hi,
I have a script file that receive a parameters, the name of the file I want to create :
test.sh | date "+TEMPLATE_%Y%m%d"
In test.sh I want to create the file :
touch $1
But it not work.
Someone have idea?
Thanks
I want to add 2 fields of the same records. I have a table with the fields goals and assists. I want the total of points for each player.
Is it possible?
Thanks
Is it possible to remove an option in a select for both netscape and ie?
This code works whith ie but not with netscape :
my_listbox.options.remove(my_index)
Thanks
Phil
What i want to do is catch event onmouseout on a div. Works great with internet explorer, but not with netscape 4.7.
<DIV ID="el1" onmouseout="inviAll();">
ELEMENT1<br>
ELEMENT1<br>
ELEMENT1<br>
</DIV>
Someone know how i can do this?
Phil
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.