Discussion Locked

ftp

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Is there anyway to have ftp default to binary transfer without actually typing the binary command after logging in?

We are using a program which automatically pulls files by using ftp, but ftp defaults to ascii transfer then corrupts the file with escape codes. Any ideas?

8 replies

by superkknd

you should consider to set your ftp software to use as binary transfer setting as new default setting.

by tbragsda

Are you using the DOS based FTP in from MS? Are you passing a script to it? Why not just add the command?

Somthing like;
ftp 10.1.1.1 -s:FTPScript.txt

Script.txt contains.

binary
cd somedir
put somefile
bye

by netpilot1

I thank everyone for their comments and help. I should have made it more clear that the ftp transfer is taking place within an application, therefore script modification or using another application is not possible.

I was hoping to find some wayto modify the type of transfer on the server where the files exist, but it seems there is none. It looks like it's just a weakness of the app. Thanks again all.

This discussion is closed to new replies.