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
, (5935 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
, (5935 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
, (5935 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
, (5934 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
, (5934 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

...with the SFTP interface you produced, everything was so simple to understand, we were able to start coding almost immediately!

I can only hope I will have the pleasure to work with other products by "We Only Do" in the future.

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

Your customer service was excellent, and I will look at your products in the future for precisely that reason.

You have been great as far as offering support is concerned and has been extremely responsive to both support requests and suggestions for product enhancements.

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.

It was no small factor, however, that your support in getting me up and running made me buy from you.

You did a great job on wodSSH and wodSSHServer! I got a lot for very little money. Thanks!

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.

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.

