| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=0.5 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:46:07 +0000 |
| Subject: | File size error using sftp |
| Message-ID: | <9E9DD545D034B84B935BB50A739B078B05516E8D15@sha-exch12.shared.ifeltd.com> |
| 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 pB2EkeHf002334 |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |