11-15-2007
Thanks dude.
It worked for me. Actually i had tried in the tmp/ directory too.
But since tmp directory was full i was getting the error.
:
regards
Prakash
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi,
I have one file located in ftp.I want to place that file in different ftp location.
Up to now i am doing it manually using get command and copying that file in to my local system and then putting that file in different ftp using put command.
now i want to automate that using shell... (1 Reply)
Discussion started by: prasee
1 Replies
2. HP-UX
Hi gurus,
I have a problem with ftp access. The first 2 test e.g. Test A & Test B was successful with the file size 64kb (800++ numbers). The third test with file size 120kb was failed. The error is "Netout :Connection reset by peer". No password entered manually since the test run from the... (3 Replies)
Discussion started by: yeazas
3 Replies
3. Shell Programming and Scripting
Hi All,
I'm trying to get this to work but when I execute it I get the following error
./ftp_upload.sh: line 78: syntax error: unexpected end of file.
This was working before I expanded the script and had the here document part directly below within a function.
Can anyone spot what I've... (5 Replies)
Discussion started by: darrenm
5 Replies
4. UNIX for Dummies Questions & Answers
Hello,I am trying to put something on the ftp server using the put command. Whenever I try, I get this error:
ftp> put SIMS.war
local: SIMS.war remote: SIMS.war
200 PORT command successful
553 Can't open that file: Permission denied
I have set rwx for all on that file and I still am... (3 Replies)
Discussion started by: mojoman
3 Replies
5. UNIX for Dummies Questions & Answers
Im having a problem with my ftp CRON jobs. I have another related (but not the same question in shell scripting).
My FTP CRON jobs connect to a server and drop some files off, if for some reason it cannot connect to the server (timesout/password wrong etc) instead of stopping, it tries again... (3 Replies)
Discussion started by: mokachoka
3 Replies
6. Shell Programming and Scripting
Can i capture the status of put command after i ftp a file? (4 Replies)
Discussion started by: aixjadoo
4 Replies
7. Shell Programming and Scripting
Hi,
I have a script that transfers files from a Solaris server to target unix servers. The script uses Net::FTP->put to write the files, which can be any number of files, not always the same. This script works flawlessly to many servers.
For one particular instance of the script,... (3 Replies)
Discussion started by: csgonan
3 Replies
8. Red Hat
Hi all, im pretty new to unit/redhat 6.2
I am trying to load a script upon startup of my redhat 6.2
(instance in ec2 AWS if someone cares)
I want everytime when instance starts (after stop/reboot) a script i build to launch. when i run the script ./scriptname the script runs and everything is... (4 Replies)
Discussion started by: hookedatwalla
4 Replies
9. Shell Programming and Scripting
This is the command we use to transfer the file to destination we ran this command from batch job. first time it hangs. when we cancel and ran it again it works in 5 sec. anyone come out without solution..?
ftp -n destinationftp << CMDEND
user user/passwd
lcd ${root}path
cd path
put... (1 Reply)
Discussion started by: shenthil76
1 Replies
10. UNIX for Beginners Questions & Answers
How to see the status of all the ftp put & get files logs and curent ftp transfer status if any active ftp running in the background ? (2 Replies)
Discussion started by: i4ismail
2 Replies
LEARN ABOUT CENTOS
dh_movefiles
DH_MOVEFILES(1) Debhelper DH_MOVEFILES(1)
NAME
dh_movefiles - move files out of debian/tmp into subpackages
SYNOPSIS
dh_movefiles [debhelperoptions] [--sourcedir=dir] [-Xitem] [file...]
DESCRIPTION
dh_movefiles is a debhelper program that is responsible for moving files out of debian/tmp or some other directory and into other package
build directories. This may be useful if your package has a Makefile that installs everything into debian/tmp, and you need to break that
up into subpackages.
Note: dh_install is a much better program, and you are recommended to use it instead of dh_movefiles.
FILES
debian/package.files
Lists the files to be moved into a package, separated by whitespace. The filenames listed should be relative to debian/tmp/. You can
also list directory names, and the whole directory will be moved.
OPTIONS
--sourcedir=dir
Instead of moving files out of debian/tmp (the default), this option makes it move files out of some other directory. Since the entire
contents of the sourcedir is moved, specifying something like --sourcedir=/ is very unsafe, so to prevent mistakes, the sourcedir must
be a relative filename; it cannot begin with a `/'.
-Xitem, --exclude=item
Exclude files that contain item anywhere in their filename from being installed.
file ...
Lists files to move. The filenames listed should be relative to debian/tmp/. You can also list directory names, and the whole directory
will be moved. It is an error to list files here unless you use -p, -i, or -a to tell dh_movefiles which subpackage to put them in.
NOTES
Note that files are always moved out of debian/tmp by default (even if you have instructed debhelper to use a compatibility level higher
than one, which does not otherwise use debian/tmp for anything at all). The idea behind this is that the package that is being built can be
told to install into debian/tmp, and then files can be moved by dh_movefiles from that directory. Any files or directories that remain are
ignored, and get deleted by dh_clean later.
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
11.1.6ubuntu2 2018-05-10 DH_MOVEFILES(1)