Quantcast
Channel: unable to extract file which is uploaded to FTP server - Unix & Linux Stack Exchange
Browsing index pages (3 articles)
↧

unable to extract file which is uploaded to FTP server

Source System:CentOS 7bash shellzipDestination System: FTP serverCentOS 6.4bash shellunzipI wrote a script to archive file and send it to FTP server using shell script#!/bin/bash# Declare no. of...

View Article


Answer by Dark Matter for unable to extract file which is uploaded to FTP server

Likely you already have error messages you're just not seeing when you run that script.Capture all output to a log by executing it withscript.sh > log.txt 2>&1The last part redirects stderr...

View Article


Answer by Thomas Dickey for unable to extract file which is uploaded to FTP...

Your script should set binary (after the quote commands). Otherwise, it will use text-mode for this script.If it were interactive, the ftp client which I just tested will assume binary mode. But not...

View Article
Browsing index pages (3 articles)


Latest Images