File size error using sftp

Andrew Erskine a.erskine@darasoft.com
Fri Dec 2 14:50:00 GMT 2011


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@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



More information about the Cygwin mailing list