ftp transfer

Post Reply
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

ftp transfer

Post by Richard Chidiak »

Hello

My application transmits on a daily basis a file to a server via ftp.

From time to time, when we check the file at the server end it is not sent completely but part of the file.

Is there a way to control the size of a received file (ftp) versus the transmitted one ?

Any help will be appreciated,

Thanks

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Richard,

Do you use Microsoft's wininet FWH based classes ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Post by Richard Chidiak »

Antonio

Yes i use wininet with fwh

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Post by Richard Chidiak »

Enrico

I do, it returns ok while the file is not fully transfered.

This is why i want to check the file size.

I guess i will user oftp:directory()

The second element of the array is the file size if i am not mistaking.

Will give it a try

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

If the APIs return .T. then the file must be fully transfered. The problem is elsewhere.

EMG
Post Reply