Could I get the total size of the file? (General questions)
when I use the ftpdlx uploading a file , could I get the total file size in the ftpserver? not the size I have uploaded .
thanks
when I use the ftpdlx uploading a file , could I get the total file size in the ftpserver? not the size I have uploaded .
thanks
by woddrazen
, (6168 days ago) @ tim
Hi Tim,
If you want to retrieve size of file on remote server you can use wodFtpDLX GetSize Method.
Here is example how to use GetSize Method:
----------------------------------------------------
dlx1.GetSize /home/something/somefile.txt
----------------------------------------------------
You can then receive result in Attributes Event using Size variable. If you are using blocking mode you can receive it in ListItem Property.
More help for GetSize Method you can find here:
http://www.weonlydo.com/FtpDLX/Help/wodFtpDLXLib~wodFtpDLX~GetSize.html
Let us know how it goes.
Regards,
Drazen
by tim
, (6167 days ago) @ woddrazen
thanks for your reply Drazen.
but I am sorry , I means how can server know the file size the client upload to him (the file have not been complete transfered).
(I need get the total file size in server not in client[:smile:])
thanks a lot
regards
tim
by wodDamir
, (6167 days ago) @ tim
Tim,
Unfortunately, you can't. At least not until the file upload is done, since file size is not known to server before the actualy upload finishes.
You can only know how much bytes is uploaded so far (shown in Progress event).
Hope this helps.
Regards,
Damba
by tim
, (6167 days ago) @ wodDamir
OK , thanks Damba .
then I will let the client send another message to server .
I like your component very much .
regards
Tim
by wodDamir
, (6167 days ago) @ tim
Tim,
I'm glad that you like it.
If you run into any problems using it, let us know. We will try to assist in any possible way we can.
regards,
Damba

The people at WeOnlyDo are amazing! ... I always get a super fast response from customer service, and the products are great too. Thanks WeOnlyDo

We have recently completed a large 1200+ location project where reliable Telnet and SSH connectivity was required. wodSSH worked flawlessly and allowed our staff to complete our project ontime and within budget.

Thank you very much for the rapid responses. I was a little nervous about dealing with a company that is on a different continent from me. You have proven my concerns to be unfounded.

...wodFtpDlx was exactly what I needed, it worked, and it was priced right...

Your professionalism is reflected into your email, your product and your web site. I am confident that these will make the difference.

...with a minimum of effort as the DLL interface was written with such simplicity...

May I say how nice it is to work with components so complete and self-explanatory that using them in my application is as instinctive as though I wrote them myself?

Your professionalism is reflected into your email, your product and your web site. I am confident that these will make the difference.

Congratulations on an excellent product and first rate support!

Just thought you'd like to know that my gateway app with your SMTP Server component held the line against a DDOS attack today...

