Does Frontpage 2k do TXT and BIN Uploads ?

  • Thread starter Thread starter Orlando Gondar
  • Start date Start date
O

Orlando Gondar

Does Frontpage 2000 upload a CGI or Perl script in Text Format
or does it always use Binary format.

In another words, does it detect what format to use when sending
or uploading files to the Host ?

Thanks.

This host uses Frontpage Extensions but I dont know how
it handles files that MUST BE uploaded in txt format.
 
FP2000 and FP2002 upload perl scripts as binaries. If you are hosted on a
Windows server, this is *usually* not a problem, but will corrupt the files
if uploading to Unix.
On your local PC - and, if possible, host server - make the cgi-bin a
subweb, and never open it in FrontPage. Use an FTP client to move the
scripts, and apply permissions.
 
FP does upload some file types as text:
..txt
..htm(l)
..shtm(l)
..asp
..css
..js
..php*
..xml
..stm
..log
..inc
..java
..cfg
and several others.
However,
..pl
..pm
..cgi
are treated as binaries.
[Actually, .cgi files could be binary or text - only the author will know,
FTP clients and FP cannot tell the content from the file name or extension.]
 
Thanks Ron, good to know, since there is a FTP server too with Windows XP

I guess I could use both right ?

Use Frontpage with the main one and my FTP program with the FTP Server

Ronx said:
FP does upload some file types as text:
.txt
.htm(l)
.shtm(l)
.asp
.css
.js
.php*
.xml
.stm
.log
.inc
.java
.cfg
and several others.
However,
.pl
.pm
.cgi
are treated as binaries.
[Actually, .cgi files could be binary or text - only the author will know,
FTP clients and FP cannot tell the content from the file name or extension.]

--
Ron

Reply only to group - all emails will be deleted unread.


Orlando Gondar said:
Does Frontpage 2000 upload a CGI or Perl script in Text Format
or does it always use Binary format.

In another words, does it detect what format to use when sending
or uploading files to the Host ?

Thanks.

This host uses Frontpage Extensions but I dont know how
it handles files that MUST BE uploaded in txt format.
 
You could use the FTP server that is part of IIS.
However, personally, I would not bother.

When a file is uploaded as a binary no changes are made to that file as part
of the upload process.
When a file is uploaded as text (or ASCII), the line endings within the file
are changed to suit the destination Operating System.
[Note to experts: In the following I may have CR and LF mixed up - I am not
an expert...]
Moving text files from Windows to Unix, CRLF is changed to LF, the CRs being
discarded. If the file were uploaded as a binary, the CRs would be retained,
and the text file apparently corrupted since Unix programs do not expect a
CR in a text file.
Moving text files from Unix to Windows, LF is changed to CRLF. Again, if
the file is moved as a binary the CRs would not be inserted, and Windows
does expect to see CRs in a text file (Notepad will display a lone LF as a
square box, not as a line-ending character)
When moving Windows to Windows, CRLF is changed to CRLF - no changes.

HTH
--
Ron

Reply only to group - all emails will be deleted unread.


Orlando Gondar said:
Thanks Ron, good to know, since there is a FTP server too with Windows XP

I guess I could use both right ?

Use Frontpage with the main one and my FTP program with the FTP Server

Ronx said:
FP does upload some file types as text:
.txt
.htm(l)
.shtm(l)
.asp
.css
.js
.php*
.xml
.stm
.log
.inc
.java
.cfg
and several others.
However,
.pl
.pm
.cgi
are treated as binaries.
[Actually, .cgi files could be binary or text - only the author will know,
FTP clients and FP cannot tell the content from the file name or extension.]

--
Ron

Reply only to group - all emails will be deleted unread.


Orlando Gondar said:
Does Frontpage 2000 upload a CGI or Perl script in Text Format
or does it always use Binary format.

In another words, does it detect what format to use when sending
or uploading files to the Host ?

Thanks.

This host uses Frontpage Extensions but I dont know how
it handles files that MUST BE uploaded in txt format.
 
Well I was hoping I could test some perl code that I have here.

Ronx said:
You could use the FTP server that is part of IIS.
However, personally, I would not bother.

When a file is uploaded as a binary no changes are made to that file as part
of the upload process.
When a file is uploaded as text (or ASCII), the line endings within the file
are changed to suit the destination Operating System.
[Note to experts: In the following I may have CR and LF mixed up - I am not
an expert...]
Moving text files from Windows to Unix, CRLF is changed to LF, the CRs being
discarded. If the file were uploaded as a binary, the CRs would be retained,
and the text file apparently corrupted since Unix programs do not expect a
CR in a text file.
Moving text files from Unix to Windows, LF is changed to CRLF. Again, if
the file is moved as a binary the CRs would not be inserted, and Windows
does expect to see CRs in a text file (Notepad will display a lone LF as a
square box, not as a line-ending character)
When moving Windows to Windows, CRLF is changed to CRLF - no changes.

HTH
--
Ron

Reply only to group - all emails will be deleted unread.


Orlando Gondar said:
Thanks Ron, good to know, since there is a FTP server too with Windows XP

I guess I could use both right ?

Use Frontpage with the main one and my FTP program with the FTP Server

Ronx said:
FP does upload some file types as text:
.txt
.htm(l)
.shtm(l)
.asp
.css
.js
.php*
.xml
.stm
.log
.inc
.java
.cfg
and several others.
However,
.pl
.pm
.cgi
are treated as binaries.
[Actually, .cgi files could be binary or text - only the author will know,
FTP clients and FP cannot tell the content from the file name or extension.]

--
Ron

Reply only to group - all emails will be deleted unread.


Does Frontpage 2000 upload a CGI or Perl script in Text Format
or does it always use Binary format.

In another words, does it detect what format to use when sending
or uploading files to the Host ?

Thanks.

This host uses Frontpage Extensions but I dont know how
it handles files that MUST BE uploaded in txt format.
 
Perl, and Perl scripts, will run perfectly well on a windows server - there
is no need to use FTP to move text files, with any extension, from a Windows
location to another Windows location.
I test my Perl scripts on Windows XP Pro, and on Windows 2003 server. I
simply publish everything, including Perl scripts, to both these servers
with FrontPage. The problems with publishing Perl Scripts arise when you
bring Unix into the equation - then you _must_ use FTP.

--
Ron

Reply only to group - all emails will be deleted unread.


Orlando Gondar said:
Well I was hoping I could test some perl code that I have here.

Ronx said:
You could use the FTP server that is part of IIS.
However, personally, I would not bother.

When a file is uploaded as a binary no changes are made to that file as part
of the upload process.
When a file is uploaded as text (or ASCII), the line endings within the file
are changed to suit the destination Operating System.
[Note to experts: In the following I may have CR and LF mixed up - I am not
an expert...]
Moving text files from Windows to Unix, CRLF is changed to LF, the CRs being
discarded. If the file were uploaded as a binary, the CRs would be retained,
and the text file apparently corrupted since Unix programs do not expect a
CR in a text file.
Moving text files from Unix to Windows, LF is changed to CRLF. Again, if
the file is moved as a binary the CRs would not be inserted, and Windows
does expect to see CRs in a text file (Notepad will display a lone LF as a
square box, not as a line-ending character)
When moving Windows to Windows, CRLF is changed to CRLF - no changes.

HTH
--
Ron

Reply only to group - all emails will be deleted unread.


Orlando Gondar said:
Thanks Ron, good to know, since there is a FTP server too with Windows XP

I guess I could use both right ?

Use Frontpage with the main one and my FTP program with the FTP Server

FP does upload some file types as text:
.txt
.htm(l)
.shtm(l)
.asp
.css
.js
.php*
.xml
.stm
.log
.inc
.java
.cfg
and several others.
However,
.pl
.pm
.cgi
are treated as binaries.
[Actually, .cgi files could be binary or text - only the author will know,
FTP clients and FP cannot tell the content from the file name or
extension.]

--
Ron

Reply only to group - all emails will be deleted unread.


Does Frontpage 2000 upload a CGI or Perl script in Text Format
or does it always use Binary format.

In another words, does it detect what format to use when sending
or uploading files to the Host ?

Thanks.

This host uses Frontpage Extensions but I dont know how
it handles files that MUST BE uploaded in txt format.
 
Great Ron !

Ron on another user's group I put a question, but I got a very stupid answer
from someone
If I put a question I expect people to help me and not come up with
differents things
At least that what I will do, you make check my post at :
news://msnews.microsoft.com/microsoft.public.frontpage.extensions.windowsnt

There look for my question about IIS SMTP Configuration.

Any ideas ?

( Thanks Again )


Ronx said:
Perl, and Perl scripts, will run perfectly well on a windows server - there
is no need to use FTP to move text files, with any extension, from a Windows
location to another Windows location.
I test my Perl scripts on Windows XP Pro, and on Windows 2003 server. I
simply publish everything, including Perl scripts, to both these servers
with FrontPage. The problems with publishing Perl Scripts arise when you
bring Unix into the equation - then you _must_ use FTP.

--
Ron

Reply only to group - all emails will be deleted unread.


Orlando Gondar said:
Well I was hoping I could test some perl code that I have here.

Ronx said:
You could use the FTP server that is part of IIS.
However, personally, I would not bother.

When a file is uploaded as a binary no changes are made to that file
as
part
of the upload process.
When a file is uploaded as text (or ASCII), the line endings within
the
file
are changed to suit the destination Operating System.
[Note to experts: In the following I may have CR and LF mixed up - I
am
not
an expert...]
Moving text files from Windows to Unix, CRLF is changed to LF, the CRs being
discarded. If the file were uploaded as a binary, the CRs would be retained,
and the text file apparently corrupted since Unix programs do not
expect
as
a
square box, not as a line-ending character)
When moving Windows to Windows, CRLF is changed to CRLF - no changes.

HTH
--
Ron

Reply only to group - all emails will be deleted unread.


Thanks Ron, good to know, since there is a FTP server too with
Windows
XP
I guess I could use both right ?

Use Frontpage with the main one and my FTP program with the FTP Server

FP does upload some file types as text:
.txt
.htm(l)
.shtm(l)
.asp
.css
.js
.php*
.xml
.stm
.log
.inc
.java
.cfg
and several others.
However,
.pl
.pm
.cgi
are treated as binaries.
[Actually, .cgi files could be binary or text - only the author will
know,
FTP clients and FP cannot tell the content from the file name or
extension.]

--
Ron

Reply only to group - all emails will be deleted unread.


Does Frontpage 2000 upload a CGI or Perl script in Text Format
or does it always use Binary format.

In another words, does it detect what format to use when sending
or uploading files to the Host ?

Thanks.

This host uses Frontpage Extensions but I dont know how
it handles files that MUST BE uploaded in txt format.
 
The answer given was not stupid.

See my response in that newsgroup
--
Ron

Reply only to group - all emails will be deleted unread.


Orlando Gondar said:
Great Ron !

Ron on another user's group I put a question, but I got a very stupid answer
from someone
If I put a question I expect people to help me and not come up with
differents things
At least that what I will do, you make check my post at :
news://msnews.microsoft.com/microsoft.public.frontpage.extensions.windowsnt

There look for my question about IIS SMTP Configuration.

Any ideas ?

( Thanks Again )


Ronx said:
Perl, and Perl scripts, will run perfectly well on a windows server - there
is no need to use FTP to move text files, with any extension, from a Windows
location to another Windows location.
I test my Perl scripts on Windows XP Pro, and on Windows 2003 server. I
simply publish everything, including Perl scripts, to both these servers
with FrontPage. The problems with publishing Perl Scripts arise when you
bring Unix into the equation - then you _must_ use FTP.

--
Ron

Reply only to group - all emails will be deleted unread.


Orlando Gondar said:
Well I was hoping I could test some perl code that I have here.

You could use the FTP server that is part of IIS.
However, personally, I would not bother.

When a file is uploaded as a binary no changes are made to that file as
part
of the upload process.
When a file is uploaded as text (or ASCII), the line endings within the
file
are changed to suit the destination Operating System.
[Note to experts: In the following I may have CR and LF mixed up -
I
am
not
an expert...]
Moving text files from Windows to Unix, CRLF is changed to LF, the CRs
being
discarded. If the file were uploaded as a binary, the CRs would be
retained,
and the text file apparently corrupted since Unix programs do not
expect
a
CR in a text file.
Moving text files from Unix to Windows, LF is changed to CRLF.
Again,
if
the file is moved as a binary the CRs would not be inserted, and Windows
does expect to see CRs in a text file (Notepad will display a lone
LF
as
a
square box, not as a line-ending character)
When moving Windows to Windows, CRLF is changed to CRLF - no changes.

HTH
--
Ron

Reply only to group - all emails will be deleted unread.


Thanks Ron, good to know, since there is a FTP server too with Windows
XP

I guess I could use both right ?

Use Frontpage with the main one and my FTP program with the FTP Server

FP does upload some file types as text:
.txt
.htm(l)
.shtm(l)
.asp
.css
.js
.php*
.xml
.stm
.log
.inc
.java
.cfg
and several others.
However,
.pl
.pm
.cgi
are treated as binaries.
[Actually, .cgi files could be binary or text - only the author will
know,
FTP clients and FP cannot tell the content from the file name or
extension.]

--
Ron

Reply only to group - all emails will be deleted unread.


Does Frontpage 2000 upload a CGI or Perl script in Text Format
or does it always use Binary format.

In another words, does it detect what format to use when sending
or uploading files to the Host ?

Thanks.

This host uses Frontpage Extensions but I dont know how
it handles files that MUST BE uploaded in txt format.
 
Back
Top