![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Script required to get a required info from file. Pls. help me. | ntgobinath | Shell Programming and Scripting | 2 | 05-31-2008 05:34 AM |
| Help required on awk | meetavin | Shell Programming and Scripting | 3 | 04-18-2008 06:47 AM |
| SSL help required | binums | HP-UX | 0 | 05-03-2006 11:03 PM |
| Help required on DBX | Sumanth | SUN Solaris | 1 | 07-29-2004 06:54 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
FTP help required
Hi All,
I have to FTP files to the remote system,but before putting the file into the destination directory of remote i need to check about the space availability. If the space available is greater than 90% then only i need to put the file. Do we have any ftp command or option which check the space and the ftp or pls suggest if any other way is there. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Before doing the FTP in your script, you have to TELNET/SSH/REXEC there and run "df -k remote-directory" and examine the 4th column of the output (which is "percentage used") and then do the FTP, if the condition is met.
|
|||
| Google The UNIX and Linux Forums |