FTP problems with several clients

  • Thread starter Thread starter Stuart Rogers
  • Start date Start date
S

Stuart Rogers

I am trying to setup a website on a server and used ws_ftp to upload my cgi
scripts. I used ascii mode to do the xfer but the scripts wont run. On
investigation I find that they still have the CR/LF (ie are in DOS mode). I
have tried cuteFTP and AbsoluteFTP clients as well as the W2K FTP command
line but I always end up with the same file on the unix machine in DOS
mode.

Has anyone any ideas why? I am running W2K with SP4, I also have tried
disabling my firewall to no effect.

Stuart
 
I am trying to setup a website on a server and used ws_ftp to upload my cgi
scripts. I used ascii mode to do the xfer but the scripts wont run. On
investigation I find that they still have the CR/LF (ie are in DOS mode). I
have tried cuteFTP and AbsoluteFTP clients as well as the W2K FTP command
line but I always end up with the same file on the unix machine in DOS
mode.

Has anyone any ideas why? I am running W2K with SP4, I also have tried
disabling my firewall to no effect.

Stuart

Set your text editor options to use UNIX style line endings.
 
Stuart Rogers said:
I am trying to setup a website on a server and used ws_ftp to upload my cgi
scripts. I used ascii mode to do the xfer but the scripts wont run. On
investigation I find that they still have the CR/LF (ie are in DOS mode). I
have tried cuteFTP and AbsoluteFTP clients as well as the W2K FTP command
line but I always end up with the same file on the unix machine in DOS
mode.

Can you run an FTP client on the UNIX box and pull the files over?
Do you still have the problem?

Are your cgi scripts in straight ASCII or Unicode?

You might try the Unix stream editor SED to translate outside of
FTP. This can be done on either the UNIX side or with a ported
version


sed 's/.$//' # assumes that all lines end with CR/LF
 
I am trying to setup a website on a server and used ws_ftp to upload
my cgi scripts. I used ascii mode to do the xfer but the scripts wont
run. On investigation I find that they still have the CR/LF (ie are in
DOS mode). I have tried cuteFTP and AbsoluteFTP clients as well as the
W2K FTP command line but I always end up with the same file on the
unix machine in DOS mode.

Has anyone any ideas why? I am running W2K with SP4, I also have tried
disabling my firewall to no effect.

Stuart

Well I have sorted my problem. The server had 'No ASCII Downloads' set
on!!!! No wonder I could not xfer ascii files. Anyway since I only have FTP
access I've had their webmaster fix it!

Stuart
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

FTP hangs 3
ftp and ASCII versus Binary mode 2
FTP on W2K setup problems 2
VPN and FTP stability 4
Batch FTP 4
ftp problem 4
Setting up FTP with Frontpage 2003 2
Integrating IIS and FTP using CSharp - help 2

Back
Top