TazNormand
Member
- Joined
- Jul 6, 2005
- Messages
- 11
- Programming Experience
- 5-10
[RESOLVED]Urgent ! SOS ! How to remove CRLF in file
Hi
1st of all i'm french so excuse my bad english,
my problem is :
I have a mainframe (Bull Gcos7) which transfer to a W2K server an EBCDIC file with record separator (CR & LF),
I 've developped a tool that zip it and FTP it to another site
But the other site asks me to remove the CRLF codes in my file (original not zip)
My method was to open another file with streamwriter, and make replace of vbcrlf by "Nothing" ===> not working
Second method, same streamwriter but used Trim(vbcrlf) ==> not working too
So, how can i remove the [EDIT] CRLF code from my file before zipping it ????
Please help me it's very urgent.
Thanx
Hi
1st of all i'm french so excuse my bad english,
my problem is :
I have a mainframe (Bull Gcos7) which transfer to a W2K server an EBCDIC file with record separator (CR & LF),
I 've developped a tool that zip it and FTP it to another site
But the other site asks me to remove the CRLF codes in my file (original not zip)
My method was to open another file with streamwriter, and make replace of vbcrlf by "Nothing" ===> not working
Second method, same streamwriter but used Trim(vbcrlf) ==> not working too
So, how can i remove the [EDIT] CRLF code from my file before zipping it ????
Please help me it's very urgent.
Thanx
Last edited: