cURL / Mailing Lists / curl-users / Single Mail

curl-users

Uploaded unaligned file size error

From: <Dan.Palasek_at_VerizonWireless.com>
Date: Tue, 13 Jul 2004 15:00:50 -0700

When I searched for others encountering this same issue, the reason always
seemed to be related to large file support. In my case I am using Curl to
FTP upload a 8.8Mb file and consistently get the unaligned file error at
about 85% of the file transferred. The transfer time is roughly 5 minutes.
Any ideas? I am using the package install rel. 7.10.3 on Solaris 2.8 sending
a file through FTP via a Proxy :
curl -v -p -x $proxy:$pport -u $user:$pass -T $file
ftp://$server/$path/$file

Let me know what you think if I should be investigating a proxy issue,
remote server issue, network issue, etc.

Using the same command, the file will occasionally transfer successfully, so
the problem seems intermittent.

* About to connect() to {proxy}
* Connected to {proxy}
* Establish HTTP proxy tunnel to {server}
* Proxy replied to CONNECT request
> USER {user}
> PASS {pass}
* We have successfully logged in
> PWD
* Entry path is '/'
> CWD prod
> EPSV
> PASV
* About to connect() to {proxy}
* Connecting to {proxy}
* Establish HTTP proxy tunnel to {server}
* Proxy replied to CONNECT request
* Connected the data stream with PASV!
> TYPE I
> STOR {file}
  % Total % Received % Xferd Average Speed Time
Curr.
                                 Dload Upload Total Current Left
Speed

  0 8611k 0 0 0 77216 0 19136 0:07:40 0:00:04 0:07:36
19136
  1 8611k 0 0 1 144k 0 33406 0:04:23 0:00:04 0:04:19
180k
  3 8611k 0 0 3 274k 0 51698 0:02:50 0:00:05 0:02:45
141k
  5 8611k 0 0 5 466k 0 73842 0:01:59 0:00:06 0:01:52
160k
  7 8611k 0 0 7 658k 0 89787 0:01:38 0:00:07 0:01:30
167k
  9 8611k 0 0 9 850k 0 99k 0:01:26 0:00:08 0:01:18
170k
 12 8611k 0 0 12 1042k 0 108k 0:01:19 0:00:09 0:01:09
172k
 14 8611k 0 0 14 1234k 0 115k 0:01:14 0:00:10 0:01:03
184k
 16 8611k 0 0 16 1426k 0 122k 0:01:10 0:00:11 0:00:58
183k
 18 8611k 0 0 18 1618k 0 127k 0:01:07 0:00:12 0:00:54
184k
 20 8611k 0 0 20 1742k 0 129k 0:01:06 0:00:13 0:00:52
184k
 22 8611k 0 0 22 1934k 0 133k 0:01:04 0:00:14 0:00:49
185k
 24 8611k 0 0 24 2126k 0 136k 0:01:03 0:00:15 0:00:47
178k
 26 8611k 0 0 26 2318k 0 138k 0:01:01 0:00:16 0:00:45
178k
 29 8611k 0 0 29 2510k 0 141k 0:01:00 0:00:17 0:00:43
178k
 31 8611k 0 0 31 2702k 0 144k 0:00:59 0:00:18 0:00:40
180k
 32 8611k 0 0 32 2832k 0 145k 0:00:59 0:00:19 0:00:39
181k
 35 8611k 0 0 35 3024k 0 147k 0:00:58 0:00:20 0:00:37
183k
 37 8611k 0 0 37 3216k 0 149k 0:00:57 0:00:21 0:00:36
184k
 39 8611k 0 0 39 3408k 0 150k 0:00:57 0:00:22 0:00:34
184k
 41 8611k 0 0 41 3600k 0 152k 0:00:56 0:00:23 0:00:32
184k
 44 8611k 0 0 44 3792k 0 153k 0:00:56 0:00:24 0:00:31
182k
 46 8611k 0 0 46 3984k 0 154k 0:00:55 0:00:25 0:00:29
184k
 47 8611k 0 0 47 4114k 0 155k 0:00:55 0:00:26 0:00:28
184k
 50 8611k 0 0 50 4306k 0 156k 0:00:54 0:00:27 0:00:27
183k
 52 8611k 0 0 52 4498k 0 157k 0:00:54 0:00:28!
   0:00:2
6 180k
 53 8611k 0 0 53 4622k 0 156k 0:00:54 0:00:29 0:00:25
171k
 55 8611k 0 0 55 4814k 0 157k 0:00:54 0:00:30 0:00:24
169k
 58 8611k 0 0 58 5006k 0 157k 0:00:54 0:00:31 0:00:22
168k
 60 8611k 0 0 60 5198k 0 158k 0:00:54 0:00:32 0:00:21
170k
 62 8611k 0 0 62 5390k 0 159k 0:00:54 0:00:33 0:00:20
170k
 64 8611k 0 0 64 5520k 0 159k 0:00:53 0:00:34 0:00:19
179k
 66 8611k 0 0 66 5712k 0 160k 0:00:53 0:00:35 0:00:18
180k
 68 8611k 0 0 68 5904k 0 160k 0:00:53 0:00:36 0:00:16
180k
 70 8611k 0 0 70 6096k 0 161k 0:00:53 0:00:37 0:00:15
178k
 72 8611k 0 0 72 6226k 0 161k 0:00:53 0:00:38 0:00:14
180k
 74 8611k 0 0 74 6418k 0 161k 0:00:53 0:00:39 0:00:13
174k
 76 8611k 0 0 76 6603k 0 161k 0:00:53 0:00:40 0:00:12
170k
 78 8611k 0 0 78 6736k 0 161k 0:00:53 0:00:41 0:00:11
169k
 80 8611k 0 0 80 6928k 0 162k 0:00:53 0:00:42 0:00:10
169k
 82 8611k 0 0 82 7070k 0 162k 0:00:53 0:00:43 0:00:09
166k* Uploaded unaligned file size (7313104 out of 8818677 bytes)

 82 8611k 0 0 82 7141k 0 161k 0:00:53 0:00:44 0:00:09
156k
* Connection #0 left intact
curl: (55) Uploaded unaligned file size (7313104 out of 8818677 bytes)
* Closing connection #0

Thank you

____________________
Dan Palasek
Received on 2004-07-14