cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

REST command on VOS ftp server

From: <jdl1291_at_njit.edu>
Date: Mon, 26 Jun 2006 20:59:32 -0400 (EDT)

Hi folks, I'm attempting to use libcurl in conjunction with curlftpfs on a
remote VOS ftp server. In a porting effort to support this server's output,
we've run into a problem with the REST command. With debugging output turned
on, here's a snip of the log:

> SIZE abbreviations
  < 213 4216
  * Instructs server to resume from offset 4096
> REST 4096
  < 502 REST command not implemented.
  * Couldn't use REST
     unique: 29, error: -5 (Input/output error), outsize: 16
  unique: 30, opcode: FLUSH (25), nodeid: 2, insize: 56
  FLUSH[134777104]
     unique: 30, error: 0 (Success), outsize: 16
  unique: 31, opcode: RELEASE (18), nodeid: 2, insize: 56
  RELEASE[134777104] flags: 0x8000
     unique: 31, error: 0 (Success), outsize: 16

So initially I thought the server didn't support this command. However, if I
manually log in via ftp, here's the output from similar commands:

  ftp> size abbreviations
  213 4216
  ftp> rest 4096
  restarting at 4096. execute get, put or append to initiate transfer

Any ideas why libcurl is getting a 502 and manually I'm not?
Received on 2006-06-27

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET