- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FTP problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2003 11:53 PM
08-26-2003 11:53 PM
FTP problem
I have successfuly write script file which runs by cron to transfer files through VPN. But, the other end always says that there are some files not been transfered. Could you please help me in this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2003 12:24 AM
08-27-2003 12:24 AM
Re: FTP problem
Could you send us your script and the error message?
Thanks,
Simone
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2003 12:35 AM
08-27-2003 12:35 AM
Re: FTP problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2003 12:41 AM
08-27-2003 12:41 AM
Re: FTP problem
1) Are you sure the VPN is up at the time of transfer. These connections can be configured with time restristions.
2) If the files exceed 2 GB, you need to insure that the target filesystem accepts largefiles. In HP-UX 11.00 that requires mount instructions in /etc/fstab and the filesystem is created newfs -F vxfs -o largefiles or fsadm is used to convert the filesystem.
As always, a copy of the script and error code would make this much easier to work on.
SEP
wish I could sleep.
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2003 12:48 AM
08-27-2003 12:48 AM
Re: FTP problem
cd /appl/TAUT
ls CD* > files.txt
while read LINE
do
sleep 35
ftp -n hostname << EOF
user name password
type ascii
prompt
hash
put $LINE
bye
EOF
mv $LINE /home/net/backup_out
done < files.txt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2003 06:58 AM
08-27-2003 06:58 AM
Re: FTP problem
Just a hint, u can also make the folowwing script :
ftp -n hostname <
cd /appl/TAUT
type ascii
prompt
hash
mput CD*
bye
EOF
BTW, perhaps your problem is the space between
<< EOF. Ift should be concatenated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2003 07:33 AM
08-27-2003 07:33 AM
Re: FTP problem
Invoke it like this:
ftpput.pl file1 file2 file2
It will then send the files indicated. You should modify the script to suit your needs (e.g. specify a host and directory) but this should get you started. It understands .netrc conventions so that passwords do not have to be embedded.