Upload to UNIX Server Problem

Core FTP client questions and answers
Post Reply
k.young
Posts: 6
Joined: Tue May 17, 2005 5:52 pm

Upload to UNIX Server Problem

Post by k.young »

Hello,

I am using Core FTP LE (Latest) to upload text files to a UNIX server. The files have ^M (Carrige Returns) appended to each line. In the Advanced portion of the Site Manager, I have picked UNIX for the server type and experimented with several download choices (e.g. BINARY, ASCII, AUTO) without success. Am I missing something? (It SEEMS to me I used this product somewhile back and was able to get the files downloaded correctly.)

Thanks for any help you can give me!

Keith
jeffd
Posts: 113
Joined: Thu May 06, 2004 6:12 am

Post by jeffd »

It might be that the file type you are uploading isn't in the ascii extension list. Go to the global options / extensions / ascii extensions area and add it to the list (example: if the extension is .doc, add it to the list). The file should then transfer in ascii mode which will strip out the CR chars.

If you do click on the ascii mode button in the toolbar, it should work though. Send up your log or look for 'TYPE A' before the transfer of the file. If it's 'TYPE I' then it's wrong.
k.young
Posts: 6
Joined: Tue May 17, 2005 5:52 pm

Post by k.young »

Thanks for the response. I have tried clicking on the ASCII mode button at the top of the Core FTP LE window but the same thing happens. I am not sure about the log. I have looked at the log near the top of the window, but I do not see either I's nor A's.

The particular file that I am trying to upload happens to be a .cgi and following your 'path' I note that extension is already in the list.

Any other thoughts?

Thanks,

Keith
jeffd
Posts: 113
Joined: Thu May 06, 2004 6:12 am

Post by jeffd »

The only thing I can think of is that the server might not respond to the TYPE A (ascii mode) and may not be stripping the CR characters when a file is uploaded, so you'd have to save the file as a unix file before uploading it. I haven't seen this before but it's a guess without seeing the log.
k.young
Posts: 6
Joined: Tue May 17, 2005 5:52 pm

Post by k.young »

Thanks for the thoughts.

After reading the last posts, I thought of an additional puzzle piece that I forgot about that I should have mentioned before: we are using ssh/sftp (check box on the Site Manager window) for the transfers. Perhaps that is causing the problem?

Thanks again for your quick responses.

Keith
k.young
Posts: 6
Joined: Tue May 17, 2005 5:52 pm

Post by k.young »

Excellent! The transfers work fine now. Thanks for your assistance.

Keith
Post Reply