Hi all
I am using this FTP Script
and the error I am getting is: ---------- Post updated at 08:11 AM ---------- Previous update was at 04:40 AM ----------
Any idea why this is?
Last edited by methyl; 08-30-2012 at 06:13 PM..
Reason: More code tags. Minor grammar corrections for readability
I don't know, but what I do know is that to script any kind of auto-login of ftp seems to be a nightmare in any language. Try searching this forum for stuff like "ftp login", etc, or Google it.
Many people have tried to include a prompting for userid/password in their scripts or providing these as environment variables, and cannot make it work (apart from using ftp's in-built method of .netrc). It just appears to be a damned difficult thing.
The purpose of my post was purely to suggest that this error has less to do with your Perl scripting, and more to do with the ftp command itself.
@parthmittal2007 and further to earlier posters.
You have the ftp -n [parameter. This tells ftp that you are using a .netrc file and not logging in from the command line. See man ftp.
Have you tried this ftp manually without the complication of Perl? What is the full dialogue from such a manual session (not just the edited highlights)? This might give us a clue about the remote computer and whether it is actually a ftp server.
The last time I saw that bind error there was a duplicate IP address on the network. If there are Virtual Machines involved in this, please make it clear.
If you can, please post the Operating System and version of BOTH computers concerned. Your lack of basic information in new threads is pathetic after this number of posts.
One tip with ftp scripts is to test your local configuration first by connecting to localhost.
Last edited by methyl; 08-30-2012 at 06:15 PM..
Reason: correct some of my grammar and spelling
Hello All,
I am trying to connect to ftp server and get the files. Also i need to rename the file in other ftp dir.
rename method is not allowing me to rename the file in other dir. When i tried copy command by using net::FTP:FILE then perl says it is not installed.
Can some body help me to... (2 Replies)
Hai
I have made a directory compression using TAR command.
the size of the file is 1247388160bytes.
when i ftp this file to another server it is throwing error like
200 PORT command successful.
150 Opening ASCII mode data connection for old_versions.tar.gz.
netout: Broken... (7 Replies)
i need to ftp a file from windows to a unix machine by executing a sript(perl/shell/php) from that unix machine.i can also use HTML and javascript to build forms. (3 Replies)
We are transferring file from mainframes to unix, & in FTP process itself we would like to set access rights for
unix machine.
Has anyone used chmod command in association with site command in ftp? How it should be used?
Thanks in advance. (1 Reply)
Hello,
A couple of times per week, i receive emails notifications when files are available for processing.
Currently i read these eamails with a java program and store the attachement on my C: drive and would now like to generate a PC script to send this file name up to UNIX-Solaris and... (3 Replies)
Hi,
My local server is :/usr/abcd/
Remote server is :/Usr/host/test/
I want to send files from local unix directory(All files starting with O_999) to
remote host unix directory.
Can any body give me the Unix Shell script to do this.
One more doubt: Shall we need to change the file... (1 Reply)
Dear all
We are currently working on to install some ERP system in wjhich we
need to FTP from unix to windows 2000 machine
We run ./lodrun to get files from d/xxxxx/xxxx directory but the ftpoutput.log file shows following error
FTP: xxxxxxxxx system cannot find the path specified... (1 Reply)
First off I did try google for help on this topic, didn't really find anything.
When I try to ftp from my SCO Unix box (SCO_SV servername 3.2 5.0.5 i386) to a proFTPD server within my company I get this error
Connected to 10.?.?.?.
220 ProFTPD Server ftp.hostname.com
Name (10.?.?.?:root):... (1 Reply)
we have two alpha stations which are connected on two sides on the same wan (64k leased line), here is one problem described as follow.
when i do a ftp to copy a file form one to another, an error mesg shown and the file lenth is 0 at last.
diamond> ftp 192.168.50.1
Connected to... (1 Reply)