Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: Retrieving a binary file
Alexandre Archambault

From: Montréal, QC Canada
Posts: 49
Member Since: 02/27/01
posted April 29, 2002 5:28 PM

This was working fine and now it isn't.

I am retrieving a binary (zip file) from a FTP site.
What I am receiving is a file containing text instead of binairy data.
This was working fine up until recently, I have upgraded to VB6 SP5 from SP4 and upgraded our DART componants recently and running on Windows 2000 SP2

I have also tried retrieving the zip file in ftpZip and still getting string content instead of binary.
If I use a FTP program (like WS_FTP) I have no problem getting the binary file in binary mode

As anyone had this problem before?

Thanks
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted April 30, 2002 8:47 AM


Hi,
No. If you examine the Trace, do you see the command "TYPE I" being sent?
Do you see the problem if you use the ListView sample to get the file, selecting binary for transfer type?
Thanks,
ken

K M Drake
Dart Tech Support
Alexandre Archambault

From: Montréal, QC Canada
Posts: 49
Member Since: 02/27/01
posted April 30, 2002 11:53 AM


 My problem as been fixed, what I was doing is receiving the binary data in a variant and then writing it to a file using the ADO.stream in binary mode, this was working before and isn't anymore so what I am doing is writing directly to a file by passing a filename as one of the parameters to the .retrieve command.

 But now I have another problem see other message thanks

 Thanks
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX