Sponsored Content
Full Discussion: ftp problem
Top Forums Shell Programming and Scripting ftp problem Post 302366993 by TonyLawrence on Saturday 31st of October 2009 08:08:20 AM
Old 10-31-2009
Writing ftp scripts in Bash isn't fun. I strongly suggest that Perl and the Net::FTP module make this much, much easier. It's not hard - I have some examples at Perl Net::FTP
 

10 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

ftp problem

I use FTP in a shell script to transfer the files to a remote server. Sometimes the program hangs without returning any errors after the command ftp server_name How do you detect from within the shell that something is wrong? How do you trap the errors returned by ftp command? Any help... (3 Replies)
Discussion started by: marusia
3 Replies

2. UNIX for Dummies Questions & Answers

FTP problem. please help

can someone tell me how I can deal with a problem am having concerning users that are faliing to use one of the shells specified in the /etc/shells file. as a result, am told, these users are bound fail to connect via FTP. i know i goto check the /etc/shells file on the target host but what... (5 Replies)
Discussion started by: TRUEST
5 Replies

3. Shell Programming and Scripting

Ftp problem

hi i have written a shell to automate the ftp process for the particular file.iam getting errors when try to ftp it.And i am cant get why the lcd is not being taken properly as it is taking during runtime.can anyone give me a solution here its my code DATE=`date '+%d_%m_%Y'`... (1 Reply)
Discussion started by: cskumar
1 Replies

4. Solaris

FTP problem

Hi Guys, Got problem when I tried to get files from Solaris server to my PC. The connection transfer was using FTP and the connection was made from the solaris server to my PC. Here's what happened when the file transfer being made: # ftp 10.192.23.230 Connected to 10.192.23.230. 220... (9 Replies)
Discussion started by: raskita
9 Replies

5. HP-UX

FTP problem

We recently moved offices and checked our network ID. I have configured all the files that I am familiar with and am able to telnet and ping from my pc but I am unable to ftp. Any suggestions...Thanks (5 Replies)
Discussion started by: andrewd
5 Replies

6. Shell Programming and Scripting

problem with ftp:

i have got 2 servers in unix(IBM AIX 5.3) namely below. test1 production1 i m trying to do ftp from test1 to production1. ------------------------------------------------------------ below the script called naveed1.sh which lies in test1,also it have two files called ... (2 Replies)
Discussion started by: ali560045
2 Replies

7. Shell Programming and Scripting

problem in FTP

i m able to login to Unix box from window's cmd can anyone tell me how to run a script from window cmd using ftp ? the script is in unix box and i need to run from windows CMD using ftp (2 Replies)
Discussion started by: ali560045
2 Replies

8. Shell Programming and Scripting

FTP Problem

Hello experts, I've got the following script that is supposed to FTP a file to another box. #!/usr/bin/ksh while read line do HOST=`echo "$line" | cut -d" " -f1` USER=`echo "$line" | cut -d" " -f2` PASSWD=`echo "$line" | cut -d" " -f3` PATH=`echo "$line" | cut -d" " -f4` done <... (5 Replies)
Discussion started by: King Nothing
5 Replies

9. Red Hat

ftp problem?

Dear All I cannot ftp to my RedHat server from MS Windows machine ,but ping and telnet are ok. I checked as the following : #chkconfig tftp on #setup After enabling tftp service, still the ftp is not ok but ping & telnet are ok. Can you please help me? Thank you (8 Replies)
Discussion started by: hadimotamedi
8 Replies

10. Shell Programming and Scripting

Ftp problem

Hi, I have a problem when i want to get a filename from an ftp server when a space is before his name. example: "spacetestFile" The ftp server return an error "no asset or no permission" though the file exist ? Why it behave in this way ? (8 Replies)
Discussion started by: protocomm
8 Replies
Net::Trac::Connection(3pm)				User Contributed Perl Documentation				Net::Trac::Connection(3pm)

NAME
Net::Trac::Connection - Connection to a remote Trac server DESCRIPTION
This class represents a connection to a remote Trac instance. It is required by all other classes which need to talk to Trac. SYNOPSIS
use Net::Trac::Connection; my $trac = Net::Trac::Connection->new( url => 'http://trac.example.com', user => 'snoopy', password => 'doghouse' ); ACCESSORS
url The url of the Trac instance used by this connection. Read-only after initialization. user password ACCESSORS
/ MUTATORS logged_in [BOOLEAN] Gets/sets a boolean indicating whether or not the connection is logged in yet. mech [MECH] Gets/sets the Net::Trac::Mechanize (or subclassed) object for this connection to use. Unless you want to replace it with one of your own, the default will suffice. METHODS
new PARAMHASH Creates a new Net::Trac::Connection given a paramhash with values for the keys "url", "user", and "password". ensure_logged_in Ensures this connection is logged in. Returns true on success, and undef on failure. Sets the "logged_in" flag. PRIVATE METHODS
_fetch URL Fetches the provided relative URL from the Trac server. Returns undef on an error (after "warn"ing) and the content ("$self-"mech->content>) on success. _warn_on_error URL Checks the last request for an error condition and warns about them if found. Returns with a TRUE value if errors occurred and a FALSE value otherwise for nicer conditionals. _tsv_to_struct PARAMHASH Takes a paramhash of the keys "data" Given TSV data this method will return a reference to an array. LICENSE
Copyright 2008-2009 Best Practical Solutions. This package is licensed under the same terms as Perl 5.8.8. perl v5.12.3 2009-06-10 Net::Trac::Connection(3pm)
All times are GMT -4. The time now is 08:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy