We are facing this problem in live environment. We send some set of files at the End of Business day. Clients have chosen FTP mode for this.
Of around 50 files we send, for two files we are getting below error in our log files.
Write: [file_name]
Read: [200 PORT command successful.]
Read: [150 Opening ASCII mode data connection for file_name.]
Timed out polling FTP process for read
Read: [226 Transfer complete.] Error: [8268863] Failed
Error: Could not receive FTP prompt
Does anyone have any idea on this idea. Appreciate your response.
One more thing is when we try resending the files they are being sent successfully. Looks like one time error but occuring daily.
Every implmentation of ftp has some special function that depends on the remote host.
Connect to the customer host and try the ftp command for site help:
to see all of the site specific commands --
there may be some command to alter the timeout, it is sometimes called IDLE. If you see one then --
on the remote host to give you examples of how to use the command.
ftpd -t sets the default timeout on the remote host, ftpd -T set the max timeout that you as a user can request.
If you ftp to a HPUX box
sets the timeout to 60 minutes, for example. This will only work if the admin on the other side allows it with a big enough -T option when firing up ftpd. In other words, you may need to talk to the guys at the customer sites to set things up there, too.
user1@:/$
-ksh: line 3: write to 1 failed
user11@:/$
-ksh: line 3: write to 1 failed
user1@:/$
-ksh: line 3: write to 1 failed
user1@:/$
-ksh: line 3: write to 1 failed
user1@:/$
-ksh: line 3: write to 1 failed But theres plenty of space :-
user1@:/$ df -kh
Filesystem ... (9 Replies)
how to Change the % prompt to - prompt in unix
:wall:
---------- Post updated at 07:40 AM ---------- Previous update was at 07:38 AM ----------
How To display the last modification time of any file in unix
---------- Post updated at 07:40 AM ---------- Previous update was at 07:40 AM... (2 Replies)
Hi All,
Please hav a look at the below peice of script and let me know if there are any syntax errors.
i found that the below peice of Script is causing issue. when i use SFTP its working fine, but there is a demand to use FTP only. please find below code and explain if anything is wrong... (1 Reply)
I am writing a scritp in which first step is to get some files from a server.
I am using mget to do that.
here is my FTP code ...
HOST="XXX.XXX.com"
28 ftp -inv $HOST <<END &> $FTP_LOG
29 quote USER $USER
30 quote PASS $PASWD
31 cd log
32 prompt off
33 binary
34 mget... (0 Replies)
Hi All,
FTP ports opens with the given user name and password and allows to download file through COMMAND PROMPT. Code as below:
H:\>ftp ftpxxxxx
Connected to entvc2ft07-pub.xxxxx.com.
220 Microsoft FTP Service
User (entvc2ft07-pub.xxxxx.com:(none)): userxxxxx
331 User name okay, need... (1 Reply)
Hello,
I am connectin to a remote server using:
ftp -n -i <server>
user <username> <password>
lcd ~/YAFFA
after i execute lcd command ther is a prompt:
"Local directory now /home/YAFFA"
How can is make it disappear?
:confused:
Please use and tags when posting code, data... (2 Replies)
Hi All,
I have a problem when uploading txt file from windows to Unix server.
I got 533 I/O error. I am using .bat file and it works for other batches but with this particular batch it doesn't work.
thanks guys for helping in advance. (2 Replies)
Hi,
I am using Red Hat Enterprise Linux ES release 4 (Nahant Update 5). Here I have created one user with /sbin/nologin shll such that login is not possible only ftp is possible. But I want to do another thing that the user can not roam around after ftp.
I had tried one way.
in... (4 Replies)
Hi,
I have a solaris system with only ftp access.Need to get the list of files page wise display..
Also would like to redirect output of "ls" command to a text file in same directory.
Can anyone suggest me the sollution for this?
Rakesh (2 Replies)