problem in transferring files to Unix box[Resolved]

When i transfer a .txt file to a unix box using the

microsoft internet transfer control , i am getting "CONTROL + M " on

each line .

This means that the transfer was not proper .

This is my code .

Code:

Dim b()AsString

Dim strURLAsString

Inet1.URL ="ftp://ip address"

Inet1.Protocol = icFTP

Inet1.AccessType = icDefault

Inet1.UserName ="root"

Inet1.Password ="Compaq"

Inet1.RemotePort = 21

Inet1.RequestTimeout = 100

Inet1.Execute ,"PUT C:\hosts.txt /in/tmp/hosts"

Is there anyway to transfer the file in binary ?

sars

[865 byte] By [sars] at [2007-12-24]
# 1
got the solution ...

i was using vbcrlf for carriage return ..

unix doesnt support that ..it supports vbLf ....

so i changed it and it worked...

the file was transferred properly

sars

sars at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic General...