12-14-2012
Are you running the perl script manually when you do a manual test?
It looks like the perl script is trying to use PASV mode for example. You did not in your example
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
folks;
when i manually run this script below, it works fine, but when i run it using a scheduler like "autosys" it doesn't work & i get this error:
ftp: connect: A remote host refused an attempted connect operation
The script:
ftp -n XXX.XXX.XXX.XXX <<- eof
User Pswd
cd xxx/xxxx/xxx... (0 Replies)
Discussion started by: moe2266
0 Replies
2. Shell Programming and Scripting
I have tried to ftp from unix to local window machine. I have taken this piece of code from forum and tried ...
#!/bin/ksh
#Usage example: ftpscript sanjit.txt C:/citi/readme.txt
localFile=$1
remoteFile=$2
ftplog=loglog.log
echo "$(date "+%H:%M:%S") - Attempt to FTP $1 to $2" > $ftplog
#... (1 Reply)
Discussion started by: u263066
1 Replies
3. Shell Programming and Scripting
I was changing a bit of the existing script and didnt comment the ftp part in it.
So, the ftp step executed, but there was no input file.
I got the message like this
netout: write returned 0?
250 Transfer completed successfully.
What does this mean?. Has the ftp replaced the existing... (1 Reply)
Discussion started by: dnat
1 Replies
4. IP Networking
Hello all,
FTP times out when I transfer large files. Small files get transffered fine.
small files
--------
-bash-3.1$ ftp -i cldevoradb01
Connected to cldevoradb01.enterprisenet.org.
220 (vsFTPd 2.0.5)
530 Please login with USER and PASS.
530 Please login with USER and PASS.... (4 Replies)
Discussion started by: luft
4 Replies
5. Shell Programming and Scripting
Hi again,
I'm using the following shell script via cron to upload the daily log files from my shell to the web server so we can view them online. But somehow logs get corrupted and i don't know what's issue. I would really appreciate for your help please.
Shell Script: ftp.sh
#!/bin/sh... (3 Replies)
Discussion started by: user`
3 Replies
6. Red Hat
Hi,
I have installed RHEL 5 on Vmware. I have configured a simple FTP. I am able to transfer and receive files from the vmware-RHEL to my desktop on which vmware is installed and vice-versa. But when i try from other machine in the network it fails. (2 Replies)
Discussion started by: chetansingh23
2 Replies
7. Red Hat
Hi everybody,
I would like to findout a directory or a file which is located at ftp server by connecting with ftp <ip> by using any other linux utility. I tried with find and locate commands in this manner but didnt work. Please help me.
Regards,
Mastan (1 Reply)
Discussion started by: mastansaheb
1 Replies
8. IP Networking
HI Guys,
Issue::
While doing bye command on ftp, it just hings as below untill you try Ctrl+C
891 bytes received in 0.0017 seconds (526.16 Kbytes/s)
ftp> bye
221-You have transferred 0 bytes in 0 files.
I too have tried with other commands like, close, disconnect etc but no luck.
... (1 Reply)
Discussion started by: Atp3530
1 Replies
9. Shell Programming and Scripting
I have logged into ftp and unable to enter into the below directory.
can anyone help me out to enter into the below directory.
ftp> dir
200 Command PORT okay.
150 File status okay; about to open data connection.
drwx------ 0 0 Dec 15 06:39 BANK ISI-Bas
ftp> cd BANK... (5 Replies)
Discussion started by: ramkumar15
5 Replies
10. Shell Programming and Scripting
In the automated process. due to space in between banking and critical, the below command is not working in the automated process. Can anyone help it out. If I am putting cd banking critical-Bas" and file get ftp'ed. but not through the below line
ftp -m "ftp.com" -d "banking critical-Bas" (4 Replies)
Discussion started by: ramkumar15
4 Replies
LEARN ABOUT MOJAVE
mount_ftp
MOUNT_FTP(8) BSD System Manager's Manual MOUNT_FTP(8)
NAME
mount_ftp -- mount a FTP filesystem
SYNOPSIS
mount_ftp [-i] [-o options] ftp://host[:port][/path] node
DESCRIPTION
The mount_ftp command mounts a FTP-enabled server directory at ftp://host[:port][/path] at the mount point indicated by node.
If the -i option is not used, all the required information to establish a login to the remote server must be available in the ftp URL,
including username & password if needed.
The user ID for all files and folders is set to the user's real user ID. The group ID for all files and directories is set to unknown, and
the permissions default to read and execute for user, group and other.
The options are:
-i Interactive mode, you are prompted for the username and password if you did not supply one in the url.
-o Options passed to mount(2) are specified with the -o option followed by a comma separated string of options. See the mount(8) man
page for possible options and their meanings. The rdonly option will be set even if it was not specified because mount_ftp does not
allow files to be opened with write access on servers.
ftp://host[:port][/path]
The FTP-enabled server directory to mount as a volume. If port is not specified, then port 21 is used. If path is not specified, then
the path "/" is used.
node Path to mount point.
EXAMPLES
The following example illustrates how to mount the FTP-enabled server directory ftp.apple.com/ at the mount point /Volumes/mntpnt/
mount_ftp ftp://ftp.apple.com/ /Volumes/mntpnt/
SEE ALSO
mount(2), unmount(2), mount(8)
HISTORY
The mount_ftp command first appeared Mac OS X Version 10.2.
RETURN VALUES
0 mount_ftp successfully mounted the server directory.
[ENOENT] The server directory could not be mounted by mount_ftp because the node path is invalid.
[ENODEV] The server directory could not be mounted by mount_ftp because it is not FTP-enabled or because it does not exist, or
because node does not have proper access.
[ECANCELED] The server directory could not be mounted by mount_ftp because the user did not provide proper authentication credentials.
BUGS
mount_ftp only supports mounting read-only.
Mac OS X June 6, 2003 Mac OS X