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
, (6031 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
, (6030 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
, (6030 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
, (6030 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
, (6030 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 WOD's excellent support I was able to bypass Winsock and focus on the task at hand...

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

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

Congratulations on an excellent product and first rate support!

...not only that you provide these components at very reasonable cost, your responsiveness to emailed technical questions is simply outstanding...

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

Thank you so much for your hard work and commitment in producing well thought-out solutions. WeOnlyDo is very committed to customer satisfaction!

Thanks! We love your software and your great support!

I've heard that you are amazing with your replies coming back so quickly - and now I've seen the speed in which you reply first hand.

Thank you so much for your hard work and commitment in producing well thought-out solutions. WeOnlyDo is very committed to customer satisfaction!

