delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/12/02/09:50:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
From: Andrew Erskine <a DOT erskine AT darasoft DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Fri, 2 Dec 2011 14:50:15 +0000
Subject: File size error using sftp
Message-ID: <9E9DD545D034B84B935BB50A739B078B0551EFA997@sha-exch12.shared.ifeltd.com>
References: <9E9DD545D034B84B935BB50A739B078B05516E8D15 AT sha-exch12 DOT shared DOT ifeltd DOT com>
In-Reply-To: <9E9DD545D034B84B935BB50A739B078B05516E8D15@sha-exch12.shared.ifeltd.com>
x-cr-hashedpuzzle: Auvo BGNy BMIM BRVp CRRL DDpM DvxS Dz3q EZZX FPDY GMZI HBLh HMHC HyHw H4Gl IBOZ;1;YwB5AGcAdwBpAG4AQABjAHkAZwB3AGkAbgAuAGMAbwBtAA==;Sosha1_v1;7;{EA81691E-559E-404B-B477-77860ED6358A};YQAuAGUAcgBzAGsAaQBuAGUAQABkAGEAcgBhAHMAbwBmAHQALgBjAG8AbQA=;Fri, 02 Dec 2011 14:50:16 GMT;RgBpAGwAZQAgAHMAaQB6AGUAIABlAHIAcgBvAHIAIAB1AHMAaQBuAGcAIABzAGYAdABwAA==
x-cr-puzzleid: {EA81691E-559E-404B-B477-77860ED6358A}
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id pB2Eoddw002526

Im using an enterprise tool to sftp files from a remote server but it is failing with the error ..

Thursday, December 01, 2011 11:01:40 Error nhiRpImport Pgm nhiRpImport: File size error for file 'D:/ehealth/modules/remotePoller/importData/poll/2e2ehpr01/config/rpCfg.3952.1322675313.dci' check data connection to remote site and ftp server configuration.
Thursday, December 01, 2011 11:01:40 Error nhiRpImport Pgm nhiRpImport: File transfer from host '2e2ehpr01' failed files: '' check data connection to remote site.

If i try and grab the file manually it works fine .. any ideas or thoughts on a method to troubleshoot ?

C:\Users\ehealth>
C:\Users\ehealth>sftp ehealth AT 2e2ehpr01
Connected to 2e2ehpr01.
cygwin warning:
  MS-DOS style path detected: D:\nutcroot\usr\lib\terminfo
  Preferred POSIX equivalent is: /cygdrive/d/nutcroot/usr/lib/terminfo
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
No entry for terminal type "nutc";
using dumb terminal settings.
No entry for terminal type "nutc";
using dumb terminal settings.
sftp> lcd
You must specify a path after a lcd command.
sftp> pwd
Remote working directory: /cygdrive/d/ehealth
sftp> cd modules/remotepoller/spool
sftp> pwd
Remote working directory: /cygdrive/d/ehealth/modules/remotepoller/spool
sftp>
sftp> get rpCfg.3952.1322675313.dci
Fetching /cygdrive/d/ehealth/modules/remotepoller/spool/rpCfg.3952.1322675313.dci to rpCfg.3952.1322675313.dci
/cygdrive/d/ehealth/modules/remotepoller/spoo 100%   16KB  15.8KB/s   00:01
sftp>
sftp> bye


thanks.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019