Re: How to use REST FTP command

From: Date: Tue, 25 Sep 2001 20:42:45 +0000
Subject: Re: How to use REST FTP command
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-9523@lists.php.net to get a copy of this message
> We are using the built-in ftp functions on W2K with PHP 4.0.6. Works fine. > Is that what you require? These ftp functions work OK (ftp_put = STOR, ftp_get = RETR), but I need REST. It is good for resume, but I need it to index mp3 files on ftp server. If the mp3 file has 4128B, I know that last 128B is TAG (ID3v1). So I send a REST command (REST 4000) and I get last 128B of the file - Title, Artist, Album... I dont need download gigabytes of data but I only need a few bytes... I can use sockets, but ftp uses 2 connections - for commands and for data and it's a little complicated... Tomas Vasek

« previous php.windows (#9523) next »