Link to home
Start Free TrialLog in
Avatar of a930077
a930077

asked on

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
Avatar of caraf_g
caraf_g

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.
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.
ASKER CERTIFIED SOLUTION
Avatar of mcrider
mcrider

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
By the way, I had nothing to do with writing the INET control... Please don't shoot the messenger...


Cheers!®©


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

<aim....> ;-)
Avatar of a930077

ASKER

Thanks, We will use the API.
<...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 :-(
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!®©