Binary-Text with the MsInet Control

I have a problem with the MSINET FTP Control, with Unix and NT, the files always transfer like binary and i want to transfer like ascii.
How can do it?


      Thanks in Advanced
a930077Asked:
Who is Participating?
 
mcriderConnect With a Mentor Commented:
Unfortunately, the INET control does not allow you to set the ASCII/Binary type of a transfer.

See the following microsoft KB Article:
PRB: ITC Cannot Perform ASCII-type FTP Transfer
http://support.microsoft.com/support/kb/articles/Q188/9/56.ASP?LNG=ENG&SA=MSDN&FR=0 
 


Cheers!®©
0
 
caraf_gCommented:
You could do an FTP transfer via a batch file?

Just write a .bat file that runs your

FTP -N Blah....
User ....
..... <password here

Do your file transfer

quit

then execute it synchronously.
0
 
caraf_gCommented:
PS - for synchronous shelling check out the SyncShell or FSyncShell (VB6 - VB5) functions that you can find in the Setup1.vbp program that you can find in the wizards directory of your VB installation.
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
mcriderCommented:
By the way, I had nothing to do with writing the INET control... Please don't shoot the messenger...


Cheers!®©


0
 
caraf_gCommented:
mcrider - don't forget I provided an alternative solution that does not depend on the use of the INET control.

<aim....> ;-)
0
 
a930077Author Commented:
Thanks, We will use the API.
0
 
caraf_gCommented:
<...fire> Sorry to see this, mcrider, how did I just know that was going to happen... some people don't seem to get the message :-(
0
 
mcriderCommented:
a930077,

Thanks for the points! Glad I could help!


caraf_g,

<As bullet wizzes past my head> I guess the point was that I was showing that you can't use the INET control this way and that microsoft has documented that fact and given an example using APIs...



Cheers!®©
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.