10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script
#!/bin/bash
HOST=ftp.example.com
USER=ftpuser
PASSWORD=P@ssw0rd
ftp -inv $HOST <<EOF
user $USER $PASSWORD
cd /path/to/file
mput *.html
bye
EOF
the script executes sucessfully I need to capture the FTP logs to a logfile
should contain
FTP Login successful
... (1 Reply)
Discussion started by: rajeshas83
1 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
We are using the following step to place a file in server using FTP
STEP_EXECUTE STEP090 /usr/pjc/bin/FTP -i
DATASET FTPIN $sic/ctl/ftpsic.ctl DISP=OLD,KEEP,KEEP
STEP_END
If we run this step we are getting the error.
ftp> open arg.mnd.appsc.com
Connected to arg.mnd.appsc.com.... (4 Replies)
Discussion started by: ajaykumarkona
4 Replies
3. Shell Programming and Scripting
Hi Guys,
I am trying to capture the FTP Logs in a log file.
I am using the below code.
ftp -d -n -v $Remote_Host << EOD > $Ftp_LOG;
Since iam running the script in debug mode, i am able to see that the ftp is done and the file has been transferred.
But the log file does not have... (7 Replies)
Discussion started by: mac4rfree
7 Replies
4. Solaris
Hi,
i got the following error when i tried to access the cygwin x server from a windows XP PC.
"xdmcp fatal error session failed session 23 failed for display"
Alternatively, when i tried to access the same Cygwin X Server from another windows XP PC which is on a different LAN... (3 Replies)
Discussion started by: HarishKumarM
3 Replies
5. UNIX for Dummies Questions & Answers
I've just installed vsftpd on Ubuntu 9.04 server.
I can access using my ftp client, however I cannot use mkdir either upload files.
I get the following errors: `Error -140: remote mkdir failed`
My configuration file has:
write_enable = YES
Is there some other parameter I should... (2 Replies)
Discussion started by: aneuryzma
2 Replies
6. Shell Programming and Scripting
I have automated ftp for different scripts. every script uses different login and passwords for different server. it reads the username and password from netrc.
there is 1 particular script that is failing. this script is failing in FTP step. i have checked the logs it says login failed. but... (5 Replies)
Discussion started by: dazdseg
5 Replies
7. Solaris
Hi guys, Can you please help me.
I have SUN V100 server running solaris 8.
I also have a Redhat Linux 6.2 machine and a windows XP machine on the network.
I'm trying to copy files from the Linux and XP machines to the V100 server.
When I try to ftp to the solaris machine, I'm challenged... (2 Replies)
Discussion started by: Stin
2 Replies
8. UNIX for Dummies Questions & Answers
I am trying to do the FTP using .netrc.In my .netrc file in $HOME dir i am placing the machine ip,user name and pwd.Then i am creating dynamically a file which contains the ftp commands.
My script is like below:
__________________________________
export REMOTE_DIR= <some path>
export... (4 Replies)
Discussion started by: dr46014
4 Replies
9. AIX
Hi,
I have created the below ftp script to put files over to our capacity server, the check at the end works if ftp fails to run however if the script cannot login or the transfer itself failed there is no warnings.
Does anyone know the syntax to trap the erorr codes or to put a check within... (3 Replies)
Discussion started by: chlawren
3 Replies
10. Shell Programming and Scripting
Hi all,
I am a beginner to unix and ftp too.So i request your valuable comments.
Requirement:
I want to put a specific file into a server(linux) and under a particular directory path in that server as /caps/details/data/
Problem :
I login to that server through the command `ftp... (1 Reply)
Discussion started by: DILEEP410
1 Replies