![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| shell script for delete old files | krishnarao | Shell Programming and Scripting | 4 | 01-13-2009 04:33 AM |
| shell script to delete directories... | Stephan | Shell Programming and Scripting | 8 | 05-18-2008 11:00 AM |
| shell script to delete directories... | Stephan | Shell Programming and Scripting | 5 | 05-16-2008 08:11 AM |
| Shell Script --- Delete ORA error from data file | sk005 | UNIX for Dummies Questions & Answers | 1 | 09-25-2007 05:26 PM |
| how to delete empty files in a shell script | rpnuge | UNIX for Advanced & Expert Users | 1 | 07-11-2002 04:56 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Need some help here.
We FTP out files to another server hourly. But before we can FTP to the other server. That server should send our server a "confirmation file" to tell us that they're ready to receive data. If they don't send the confirmation file, the files on our server should just stay until the next confirmation file. After sending the files to the other server, our script is supposed to delete the "confirmation file". A script (with .scr filename) runs a shell script (with .sh filename). The shell script is the one which is supposed to delete the "confirmation file" after FTPing the files to the other server. Our problem right now is that the file that's supposed to be FTPed to the server is successfully FTPed BUT the "confirmation file" does not get deleted in the directory. Any ideas on why a file does not get deleted by a shell script? |
|
|||||
|
Quote:
I am not sure, how you can set the delete permissions (via command line) for a user. I use Cerberus FTP Server, and since it has an UI, I can set the required permissions for different user. Vino |
|
|||||
|
Once you are inside an ftp session, issue help
That will show you the commands that you can give at the ftp prompt. Again, if you are inside an ftp session, then you could try this to remove a local file Code:
ftp> !rm sample.txt Vino Last edited by vino; 07-11-2005 at 07:19 AM.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|