usef wrote:
Hi,
Is there any way to get the size of a file without downloading it?
I want to write a program using LWP to download a file only
if it is bigger
than 3K but smaller than 500K.
So I need to know the file size in the first place.
You issue a HEAD request to the server and look
Hi,
FTP or HTTP?
HTTP, but I want to know the method for FTP as well.
Thanks -u
PS.
Sorry Rus for multiple copy *smacks forehead*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
usef wrote:
Hi,
FTP or HTTP?
HTTP, but I want to know the method for FTP as well. Thanks -u
I think that will work for FTP as well. Give it a try.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On Wed, 10 Dec 2003, usef wrote:
Hi,
Is there any way to get the size of a file without downloading it?
I want to write a program using LWP to download a file only if it is bigger
than 3K but smaller than 500K.
So I need to know the file size in the first place.
Hi,
FTP or HTTP?
Rgds
Rus
Hello,
usef [EMAIL PROTECTED] asked:
Is there any way to get the size of a file without downloading it?
I want to write a program using LWP to download a file only
if it is bigger than 3K but smaller than 500K.
So I need to know the file size in the first place.
Try making a HEAD request -
Is there any way to get the size of a file without downloading it?
I want to write a program using LWP to download a file only
if it is bigger than 3K but smaller than 500K.
So I need to know the file size in the first place.
Try making a HEAD request - that should return
file size and last
On Wed, 2003-12-10 at 09:42, Bob Showalter wrote:
usef wrote:
Hi,
FTP or HTTP?
HTTP, but I want to know the method for FTP as well. Thanks -u
I think that will work for FTP as well. Give it a try.
If I type ls when I FTP into somewhere I get a listing of files and
size. I
Dan Anderson [EMAIL PROTECTED] wrote:
On Wed, 2003-12-10 at 09:42, Bob Showalter wrote:
usef wrote:
Hi,
FTP or HTTP?
HTTP, but I want to know the method for FTP as well. Thanks -u
I think that will work for FTP as well. Give it a try.
If I type ls when I FTP into