in reply to Re^3: FTPSSL Bad file number
in thread FTPSSL Bad file number
This from the prompt>>> PASV <<< 227 Entering Passive Mode (217,151,192,136,195,210) --- Host (217.151.192.136) Port (50130) >>> RETR -rwxr-xr-x 1 260 410 1571 Mar 5 08:32 + B0000198800028226.xml.enc <<< 553 Prohibited file name: -rwxr-xr-x 1 260 410 + 1571 Mar 5 08:32 B000 0198800028226.xml.enc >>> ABOR <<< 226 Since you see this ABOR must've succeeded >>> QUIT <<< 221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
And here are the lines in my script553 Prohibited file name: -rwxr-xr-x 1 260 410 +1571 Mar 5 08:32 B0000198800028226.xml.enc at /usr/local/bin/debitech line 156
151 # GET ALL FILES (*.enc) TO LOCAL DIRECTORY, DE +LETE THEM ON SERVER 152 foreach $file (@files) { 153 if ( !$error_flag && $file =~ m/\.enc$ +/ ) { 154 $report = $report . " Retriev +ing file $file\n"; 155 if ( !$debug ) { 156 $ftp->get($file) or $e +rror_flag = 1; 157 $ftp->quit() if $error +_flag; 158 $ftp->delete($file) or + $error_flag = 1; 159 $ftp->quit() if $error +_flag; 160 }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: FTPSSL Bad file number
by hippo (Archbishop) on Mar 05, 2015 at 09:33 UTC | |
by Bettan (Initiate) on Mar 05, 2015 at 10:21 UTC | |
|
Re^5: FTPSSL Bad file number
by afoken (Chancellor) on Mar 05, 2015 at 09:37 UTC |