Search Results

Search: Posts Made By: Riverstone
1,067
Posted By hicksd8
Check your application documentation to see where...
Check your application documentation to see where it expects to find Java.

Many Java applications expect Java to be located in a specific directory, for example '/usr/java', '/usr/bin/java', or...
3,546
Posted By hicksd8
Yes, but if you search the web for "ftp passive"...
Yes, but if you search the web for "ftp passive" mode you will see that, typically, another port is opened when passive is requested. It's often in the range 50000-51000 so network teams open that...
3,546
Posted By rbatte1
I would tentatively suggest that this could be a...
I would tentatively suggest that this could be a firewall problem. With a plain FTP (or what you have here) you might be trying to use what is called an Active connection, so there is a controlling...
3,546
Posted By hicksd8
This is how this would usually be configured. ...
This is how this would usually be configured.

The script would address the target host by name, e.g. jupiter

When ftp is called in a script:

ftp jupiter the host name is looked up in...
3,546
Posted By hicksd8
What OS's are the client and server? Has the...
What OS's are the client and server?

Has the network topology changed at all concurrent with the change of ip address?

I would be thinking that somewhere on the route the required payload is...
12,273
Posted By Scrutinizer
You could correct the variable, by using it like...
You could correct the variable, by using it like this:
${var##* }
But that will only work if the files on the ftp server never contain spaces..
Correctly parsing ls -l output can sometimes be...
12,273
Posted By Scrutinizer
What I meant was you could pass: ...
What I meant was you could pass:
${available_file_variable##* }
instead of
${available_file_variable}
What I was trying to say is that this should work, if the file name does not contain spaces....
12,273
Posted By vbe
Well all you need once you got your ls -l output...
Well all you need once you got your ls -l output is a pipe with awk to get the 9th field: e.g. with ls -l ->
ls -l|awk '{print $9}'
12,273
Posted By Scrutinizer
That will sometimes work with the right locale...
That will sometimes work with the right locale and if a time six months ago results in the same number of fields and if filenames do not contain spaces.
Otherwise it may fail.

It will also...
5,606
Posted By RudiC
What if you add the -mtime test to the first...
What if you add the -mtime test to the first command?
5,606
Posted By rbatte1
If you are getting the list of files you want...
If you are getting the list of files you want with one of the above, what would you prefer to happen next?

The second find command is selecting file in the current directory and below that are...
2,660
Posted By vbe
From the lttle we see: echo "Please wait...
From the lttle we see:

echo "Please wait while the installation tool is starting up..." # This is displayed
if [ "${JAVA_HOME}" = "" ]; then
echo "ERROR:...
1,318
Posted By RudiC
How about this very simple approach for exactly...
How about this very simple approach for exactly the problem you posted:
awk '
NR == 1 {match ($0, HD1)
P1 = RSTART
L1 = RLENGTH
match...
Showing results 1 to 13 of 13

 
All times are GMT -4. The time now is 02:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy