Get Filesize

Is there a way for the fso object, or any other method, to dynamically get the file-size as it's being built by another process? currently I am using FSO to retrieve the file size, however, it either comes back with 0 if the other process that's building the file hasn't started up yet, or it waits for the other process to finish, and then brings back the file size. I am looking to get the file size at different time intervals, as the file is being built.

View Replies


ADVERTISEMENT

Filesize Syntax

Does anyone know the syntax for returning the filesize of a file which is about to be uploaded via ASP simple upload?I've read that there is a property which returns the value BUT http://www.asphelp.com/ seems to be being sold off.To my knowlegde thats where everything useful about it was on the net.The only example I seem to be able to find now is the very first example which simply states how to upload a file with nothing special happening.

I've been dabbling with random idea's in the hope I'd get lucky but so far the closest I've got is by doing:

fSize = upl.filesize("pathOfFile/fileName.ext")

That doesn't return any value BUT it doesn't return an error either.so I think I'm close, just need a missing element?

View Replies View Related

Filesize Limitations

Just migrating some code from CDONTS to CDO and noticed some behaviour I want to verify.
When using cdoSendUsingPickup the outgoing email spools to the local filesystem first before being routed out. When using cdoSendUsingPort it goes directly to the remote email server and seems to bypass the virtual SMTP server running on the local machine (which can be stopped). This is all fine.

I noticed that sending emails that exceed the maximum filesize limitation set in the SMTP server properties pages only seems to trigger an error when using port, not pickup. Is this expected?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved