Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Delete files from server after downloading using SFTP

by Anonymous Monk
on Jun 11, 2013 at 18:09 UTC ( #1038307=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    #  Delete a file on the server:
    ...
         }
    
        print "Files Deleted!" . "\n";
    
  2. or download this
    ...
      # For debugging purposes you can run ssh in verbose mode passing it 
    +the -v option:
    ...
      do_other_stuff(\@all_files);
    
    ...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1038307]
Approved by kcott
Front-paged by perlfan
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2015-07-07 06:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls