Archived Forum Post

Index of archived forum posts

Question:

451 Transfer aborted. Broken pipe

Nov 17 '16 at 05:34

i try to download a large file. Everytime when i try it i get this error "451 Transfer aborted. Broken pipe". It happens always after around an hour/1GB.

Dim WithEvents ftp As New Chilkat.Ftp2
....
'after Login and change directory
ftp.GetFile(remoteFilename, localFilename)
Here the Log:
220 ProFTPD 1.3.3g Server (NETGEAR ReadyNAS) 
AUTH TLS
234 AUTH TLS successful
PBSZ 0
200 PBSZ 0 successful
PROT P
200 Protection set to Private
USER jakob
331 Password required for jakob
PASS 
230 User jakob logged in
TYPE I
200 Type set to I
SYST
215 UNIX Type: L8
FEAT
211-Features:
 MDTM
 MFMT
 TVFS
 UTF8
 AUTH TLS
 MFF modify;UNIX.group;UNIX.mode;
 MLST modify;perm;size;type;unique;UNIX.group;UNIX.mode;UNIX.owner;
 LANG en-US*
 PBSZ
 PROT
 SITE MKDIR
 SITE RMDIR
 SITE UTIME
 SITE SYMLINK
 REST STREAM
 SIZE
211 End
OPTS UTF8 ON
200 UTF8 set to on
PBSZ 0
200 PBSZ 0 successful
PROT P
200 Protection set to Private
PORT 192,168,13,104,237,136
200 PORT command successful
MLSD
150 Opening ASCII mode data connection for MLSD

(DirListingCharset: utf-8) listing size = 344 modify=20161110020351;perm=flcdmpe;type=dir;unique=FD00U2228001;UNIX.group=65534;UNIX.mode=0777;UNIX.owner=65534; FSJakob modify=20090523024050;perm=fle;type=pdir;unique=900UB802;UNIX.group=65534;UNIX.mode=0755;UNIX.owner=65534; .. modify=20090523024050;perm=fle;type=cdir;unique=900UB802;UNIX.group=65534;UNIX.mode=0755;UNIX.owner=65534; . 226 Transfer complete CWD FSJakob 250 CWD command successful PBSZ 0 200 PBSZ 0 successful PROT P 200 Protection set to Private PORT 192,168,13,104,237,138 200 PORT command successful MLSD 150 Opening ASCII mode data connection for MLSD

(DirListingCharset: utf-8) listing size = 6486 modify=20161103020530;perm=adfrw;size=1258648590;type=file;unique=FD00U2228020;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s14_v1.tib modify=20161019094104;perm=adfrw;size=2147483136;type=file;unique=FD00U222800D;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_full_b1_s1_v12.tib modify=20161029010533;perm=adfrw;size=743776136;type=file;unique=FD00U222801B;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s10_v1.tib modify=20161022010633;perm=adfrw;size=819399900;type=file;unique=FD00U2228012;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s3_v2.tib modify=20161106020638;perm=adfrw;size=2147483136;type=file;unique=FD00U2228023;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s17_v1.tib modify=20161102020458;perm=adfrw;size=839954001;type=file;unique=FD00U222801F;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s13_v1.tib modify=20161101020459;perm=adfrw;size=755064209;type=file;unique=FD00U222801E;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s12_v1.tib modify=20161027010506;perm=adfrw;size=978394889;type=file;unique=FD00U2228018;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s8_v1.tib modify=20090523024050;perm=fle;type=pdir;unique=900UB802;UNIX.group=65534;UNIX.mode=0755;UNIX.owner=65534; .. modify=20161031020631;perm=adfrw;size=391476803;type=file;unique=FD00U222801D;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s11_v2.tib modify=20161028010605;perm=adfrw;size=387198775;type=file;unique=FD00U222801A;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s9_v2.tib modify=20161025010532;perm=adfrw;size=2147483136;type=file;unique=FD00U2228015;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s6_v1.tib modify=20161019094326;perm=adfrw;size=605162353;type=file;unique=FD00U222800F;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_full_b1_s1_v14.tib modify=20161106020649;perm=adfrw;size=126151086;type=file;unique=FD00U2228024;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s17_v2.tib modify=20161019092813;perm=adfrw;size=2147483136;type=file;unique=FD00U2228006;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_full_b1_s1_v5.tib modify=20161019093724;perm=adfrw;size=2147483136;type=file;unique=FD00U222800B;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_full_b1_s1_v10.tib modify=20161019093005;perm=adfrw;size=2147483136;type=file;unique=FD00U2228007;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_full_b1_s1_v6.tib modify=20161108020513;perm=adfrw;size=817878733;type=file;unique=FD00U2228026;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s19_v1.tib modify=20161028010541;perm=adfrw;size=2147483136;type=file;unique=FD00U2228019;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s9_v1.tib modify=20161105020512;perm=adfrw;size=735499243;type=file;unique=FD00U2228022;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s16_v1.tib modify=20161019092624;perm=adfrw;size=2147483136;type=file;unique=FD00U2228005;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_full_b1_s1_v4.tib modify=20161104020459;perm=adfrw;size=1187929164;type=file;unique=FD00U2228021;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s15_v1.tib modify=20161026010501;perm=adfrw;size=1020384484;type=file;unique=FD00U2228017;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s7_v1.tib modify=20161025010629;perm=adfrw;size=894376503;type=file;unique=FD00U2228016;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s6_v2.tib modify=20161024010436;perm=adfrw;size=890387237;type=file;unique=FD00U2228014;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s5_v1.tib modify=20161020010509;perm=adfrw;size=963701747;type=file;unique=FD00U2228010;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s2_v1.tib modify=20161019092040;perm=adfrw;size=2147483136;type=file;unique=FD00U2228002;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_full_b1_s1_v1.tib modify=20161019092432;perm=adfrw;size=2147483136;type=file;unique=FD00U2228004;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_full_b1_s1_v3.tib modify=20161019093344;perm=adfrw;size=2147483136;type=file;unique=FD00U2228009;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_full_b1_s1_v8.tib modify=20161019093155;perm=adfrw;size=2147483136;type=file;unique=FD00U2228008;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_full_b1_s1_v7.tib modify=20161019093534;perm=adfrw;size=2147483136;type=file;unique=FD00U222800A;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_full_b1_s1_v9.tib modify=20161107020518;perm=adfrw;size=771266169;type=file;unique=FD00U2228025;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s18_v1.tib modify=20161110020609;perm=adfrw;size=1016251969;type=file;unique=FD00U2228028;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s21_v1.tib modify=20161019094254;perm=adfrw;size=2147483136;type=file;unique=FD00U222800E;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_full_b1_s1_v13.tib modify=20161023010447;perm=adfrw;size=879269754;type=file;unique=FD00U2228013;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s4_v1.tib modify=20161019092239;perm=adfrw;size=2147483136;type=file;unique=FD00U2228003;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_full_b1_s1_v2.tib modify=20161022010544;perm=adfrw;size=2147483136;type=file;unique=FD00U2228011;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s3_v1.tib modify=20161019093912;perm=adfrw;size=2147483136;type=file;unique=FD00U222800C;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_full_b1_s1_v11.tib modify=20161109020601;perm=adfrw;size=1234171991;type=file;unique=FD00U2228027;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s20_v1.tib modify=20161110020351;perm=flcdmpe;type=cdir;unique=FD00U2228001;UNIX.group=65534;UNIX.mode=0777;UNIX.owner=65534; . modify=20161031020606;perm=adfrw;size=2147483136;type=file;unique=FD00U222801C;UNIX.group=100;UNIX.mode=0666;UNIX.owner=1006; Jakob-PC_Backup_inc_b1_s11_v1.tib 226 Transfer complete PBSZ 0 200 PBSZ 0 successful PROT P 200 Protection set to Private PORT 192,168,13,104,237,140 200 PORT command successful RETR Jakob-PC_Backup_full_b1_s1_v12.tib 150 Opening BINARY mode data connection for Jakob-PC_Backup_full_b1_s1_v12.tib (2147483136 bytes) 451 Transfer aborted. Broken pipe


Answer

Thanks. It's important to know what version of Chilkat you're using, which is why posting the contents of the LastErrorText is important -- and posting the entire contents of the LastErrorText is important to see the version of Chilkat and other context such as operating system and programming language..

If using an old version of Chilkat, test with the latest version...


Answer

LastErrorText:

ChilkatLog:
  PutFile:
    DllDate: Oct 27 2016
    ChilkatVersion: 9.5.0.63
    UnlockPrefix: Anything for 30-day trial
    Architecture: Little Endian; 64-bit
    Language: .NET 4.6 / x64
    VerboseLogging: 0
    RemoteFilename: Jakob-PC_Backup_inc_b1_s14_v1.tib
    LocalFilename: H:TempcoFtpSyncJakob-PC_Backup_inc_b1_s14_v1.tib
    ProgressMonitoring:
      enabled: yes
      heartbeatMs: 0
      sendBufferSize: 65536
    --ProgressMonitoring
    IdleTimeoutMs: 60000
    ReceiveTimeoutMs: 60000
    ConnectTimeoutSeconds: 30
    uploadFromLocalFile:
      localFileSize: 1082310656
      uploadFromDataSource:
        initialGreeting: 220 ProFTPD 1.3.3g Server (NETGEAR ReadyNAS)
        restartNext: 0
        modeZ: 0
        binaryMode: 1
        setupDataConnection:
          Not connected.
        --setupDataConnection
        Failed to setup data connection for upload.
        readRepliesAfterFailedDataConn:
          readCommandResponse:
            Not connected.
          --readCommandResponse
        --readRepliesAfterFailedDataConn
      --uploadFromDataSource
      Failed.
    --uploadFromLocalFile
    TotalTime: Elapsed time: 0 millisec
    Failed.
  --PutFile
--ChilkatLog


Answer

When it abort i restart it with 
RestartNext = True
Then in the ftp.OnPercentDone event i always get immediately 100 percent. How can i fix this?