04-28-2017
Perhaps the ftp Server doesn't like ascii connections and your Server A defaults to a 'binary' connection at startup.
On both of your ftp clients, after ftp login, enter the 'binary' command and see what it allows you to do. Then enter the 'ascii' command and see what happens when you try to do things. In that way, compare your two ftp client configurations.
Perhaps ask your ftp server admins whether the use of ascii connection is permitted.
This User Gave Thanks to hicksd8 For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have written a script to ftp a file from Unix to an NT machine to authenticate ftp login I have added the information into the .netrc file when logged in using ftp the commands are not executed. Does anybody know how to make the command execute once username and password have been provided using... (2 Replies)
Discussion started by: hesmas
2 Replies
2. Shell Programming and Scripting
In my shell script I am doing FTP along with other process. But all the statements after the "quit" command in FTP are not getting executed.
Example:
echo "This is a shell script to FTP a file"
#ftp -inv <server name> <<eol>> <logfilename>
#user <userid> <password>
#put <filename>
#quit... (2 Replies)
Discussion started by: dharmesht
2 Replies
3. UNIX for Advanced & Expert Users
Hi ,
I am trying to ftp a file once using ascii mode and once binary mode
The ftp prompt shows different bytes transferred for each of them but at the destination server,each one of these files gets created with the same byte size and are identical.Can anyone shed any light on this
... (1 Reply)
Discussion started by: smehra
1 Replies
4. UNIX for Advanced & Expert Users
This is my worst nightmare in recent years!!!
I spent two days writing a proposal due tomorrow, ftp'ed the Word doc to a Unix machine in ASCII mode (i forgot to turn BIN on). Then I was trying to help a colleague download it and I accidently download the ASCII file back to the same dir on my... (1 Reply)
Discussion started by: venkir
1 Replies
5. Shell Programming and Scripting
I have created get_list.bat file containing following line:
dir /B /O-d >file_list.txt
I am executing ftp command from Unix box and transferring get_list.bat file to windows server.
In my next ftp command I am trying to execute this test.bat file by entering this line:
get_list
or by... (9 Replies)
Discussion started by: alx
9 Replies
6. Shell Programming and Scripting
Hello,
How to i determine via ftp commandline if files on ftp server is ascii or binary files. Like every other comon windows ftp program does it automatically.
regards
Thomas (5 Replies)
Discussion started by: congo
5 Replies
7. Shell Programming and Scripting
Dears,
i want to execute unix commands through FTP session those commands like grep XXXXX file name > new file
tar new file
..... etc
Please let me know how to so
thank you (3 Replies)
Discussion started by: faiz
3 Replies
8. UNIX for Dummies Questions & Answers
Hi,
While editing a small text file with cat command i pressed ctrl-d to send eof, instead of coming out of cat command it echoed ^D to the screen. Same thing is happening to ctrl-c. After googling i found this is because of trap.
The problem is i m stuck in editing mode and cannot get the... (3 Replies)
Discussion started by: TITANIUM
3 Replies
9. Shell Programming and Scripting
I have one file .dat file on windows server containg the following text
"Bürki"
Now When I am using FTP (get) command from UNIX server the text is appering is as "Bürki"
I want to preserve the text in the file on UNIX server as it is in source file.
Could you please suggest some... (2 Replies)
Discussion started by: Bhushan D
2 Replies
10. Shell Programming and Scripting
$BIN/sql.py "select * from reporting.V_AMSNB_OPT_PB_LOAD" | sed -n "2,$ p" | sed "s/ /,/g" > $DATADIR/OPT_PB_LOAD_AMSNB.csv
if
The processes that get created from the above code gets stuck...as in the processes get created but then never completes. (or at least we assume it never completes... (1 Reply)
Discussion started by: mimiyj
1 Replies