|
-
Nov 8th, 1999, 02:29 AM
#1
Thread Starter
New Member
I'm using the Internet Transfer control to FTP text files from a NT box to a UNIX box. The files transfer fine, however the carriage return at the end of each line is replaced with a ^M character when viewing the files in UNIX. Is there a way to set set the FTP mode so this character doesn't appear?
-
Nov 8th, 1999, 05:10 AM
#2
Hyperactive Member
Are you using the ASCII (Type A) mode?
------------------
Tom Young, 14 Year Old
[email protected]
ICQ: 15743470
AIM: TomY10
PERL, JavaScript and VB Programmer
-
Nov 8th, 1999, 05:46 AM
#3
Thread Starter
New Member
I believe so. However, I don't know how to change to Binary mode. Sending a text string of "binary" with the Execute method doesn't seem to work.
-
Nov 8th, 1999, 06:14 AM
#4
Hyperactive Member
I know what you are talking about (I have UNIX, and it probably says 'Didn't strip carriage returns after network transfer?') anyway, this only happens to me when I transfer trough a shared drive, not FTP, so I'm sorry I can't help you any further.
-
Nov 8th, 1999, 06:24 AM
#5
Member
example to download file.exe from ftp.cdrom.com:
Code:
Dim B() As Byte 'To store file into
Inet.Protocol = icFTP
B() = Inet.OpenURL("ftp://ftp.cdrom.com/file.exe", 1)
Open "C:\file.exe" For Binary As #1
Put #1, , B()
Close
Inet.Cancal 'To Close Any Connections
Hope this helps!
------------------
(¯`·.¸¸.·´¯`·->ShadowCrawler<-·´¯`·.¸¸.·´¯)
Teenage Programmer
Visual Basic, HTML, C++, JavaScript
http://welcome.to/X12Tech
Email: [email protected]
ICQ#: 9872708
-
Nov 8th, 1999, 05:15 PM
#6
He used binary transfer, the ITC(Internet Transfer Control) cant handle ASCII transfer
<A HREF="http://support.microsoft.com/support/kb/articles/Q233/0/37.ASP" TARGET=_blank>Q233037 - INFO: Limitations of Internet Transfer Control
</A>
------------------
Vincent van den Braken
EMail: [email protected]
ICQ: 15440110
Homepage: http://www.azzmodan.demon.nl
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|