What kind of ftp server are you connecting to? A put *SHOULD* be all that is needed.
Is this a mainfraime?
you may need to $ftp->quot( "COMMAND HERE" ) to tell the
ftp server to go into overwrite mode (or what ever it is called)
you may be able to find this out by manually connecting via...
I'd also recomend not slurping the directory handle if it has a ton of files.
On a side note I also recomend placing your file handles in a local() statement to keep them unique...
local( *EM_DH, *FH, $/ );
# get list of messages from $Backup_Path directory
opendir(EM_DH, $Backup_Path) or die...
Here is a more readable version which uses hashes. This will make any code which works with particular columns of the data more readable:
#columns we are processing
my @ticColTotNames = qw( Start Open Closed End Total Changes Telco Power Server App);
my @ticColNames = ( qw( Tier Sev Type )...
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.