10-09-2008
Using FTP to check whether file is completely FTP...
Hi,
We have some clients who will place huge files in to one of the remote server.
And the shell script written in our local server to retrieve client files (using FTP) placed on one of the remote server of ours by clients.
My question Is there any FTP command/script to check from my local shell program whether client succesfully ftp/scp file completely before retrieving the file from remote server?
currently it is Local server retrieving the files when it is been FTP ing to remote server....
I greatly appreciate the help....
Thanks
Last edited by nmsrao; 10-09-2008 at 01:09 PM..
Reason: changing the title
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a perl script that ftp's to an NT server, checks if the file is growing, gets the file, does some more size checking after the get on the unix box. My question, is there a good way to check if the file exists on the NT when I know the exact file to check for? I thought about doing an "ls... (2 Replies)
Discussion started by: methos
2 Replies
2. Shell Programming and Scripting
how could i check that the ftp oof any file is successfully done.
thanks in advance. (1 Reply)
Discussion started by: rinku
1 Replies
3. Shell Programming and Scripting
Hi all,
i have written a code to ftp a file from one server to other.The ftp is happeneing successfully,but i am not able to capture the return code,to check if ftp has failed.
plz help me to find out the return code....this is urgent
below is the code i have written... (3 Replies)
Discussion started by: anju
3 Replies
4. Shell Programming and Scripting
I want to trasfer file from
1. Unix server A to server B
2. Unix server A to windows directory
Is there a way to check the size before and after FTP.
I want to check the size of the file in server A before FTP and in server B after FTP in case 1
In case 2 I want to check the size of... (1 Reply)
Discussion started by: i.scientist
1 Replies
5. Shell Programming and Scripting
Hi there,
I want to write a linux shellscript that checks a specific folder on a specific FTP-server whether there are new files or not. If there are new files I want to download them to a local directory (to gain access for an local application to these files). The problem is that the files I... (3 Replies)
Discussion started by: monstrous
3 Replies
6. Shell Programming and Scripting
Hi
I use a shell script to transfer files from UNIX to Windows 2000 server before the FTP i need to check whether any files with the same name exists. If the files are already present it need not be FTPed else the file should be FTPed.
Kindly help me. (2 Replies)
Discussion started by: Codesearcher
2 Replies
7. Shell Programming and Scripting
:mad: Hi All,
I have written a script, which will get the file from other server through FTP.
It is working fine, but i want to add a code which should first check, if the file is available in the source system and then do FTP, once successfully completed, it should delete the file.
Is... (4 Replies)
Discussion started by: Amit.Sagpariya
4 Replies
8. UNIX for Advanced & Expert Users
Advance Thanks.
(1) I would like to know any unix/Linux command to check EOF char in a file.
(2) Or Any way I can check a file has been reached completely at machine B from machine A. Note that machine A ftp/scp the file to machine B at unknown time. (5 Replies)
Discussion started by: alexalex1
5 Replies
9. Shell Programming and Scripting
hello
i need check if file_name exist on remote FTP or not
the FTP is anonymous and doesnt require username/pass (3 Replies)
Discussion started by: mogabr
3 Replies
10. Shell Programming and Scripting
Hi Experts,
I am beginner to shell scripting, I have a archive script which will connect to the FTP server and archive the files from FTP source location to FTP archive location.
Now the problem here is, the script working for few files and not working for few.I am facing the below error... (1 Reply)
Discussion started by: spidy
1 Replies
LEARN ABOUT DEBIAN
bt-obex
bt-obex(1) bluez-tools bt-obex(1)
NAME
bt-obex - a bluetooth OBEX client/server
SYNOPSIS
bt-obex [OPTION...]
Help Options:
-h, --help
Application Options:
-a, --adapter=<name|mac>
-s, --server [<path>]
-p, --opp <name|mac> <file>
-f, --ftp=<name|mac>
DESCRIPTION
This utility implemented support of Object Push Profile (OPP) and File Transfer Profile (FTP). You can send and receive files to/from
remote device using this tool.
OPTIONS
-h, --help
Show help
-a, --adapter <name|mac>
Specify adapter to use by his Name or MAC address
(if this option does not defined - default adapter used)
-s, --server [<path>]
Register agent at OBEX server and set incoming/root directory to
`path` or current folder will be used; Agent is used to
accept/reject incoming bluetooth object push requests
-p, --opp <name|mac> <file>
Send local file to the specified remote device using object push
profile
-f, --ftp <name|mac>
Start FTP session with remote device; If session opened
successfuly, FTP shell will be opened
FTP commands:
help Show help message
exit Close FTP session
cd <folder> Change the current folder of the remote device
mkdir <folder> Create a new folder in the remote device
ls List folder contents
get <src> <dst> Copy the src file (from remote device) to the dst file (on local filesystem)
put <src> <dst> Copy the src file (from local filesystem) to the dst file (on remote device)
cp <src> <dst> Copy a file within the remote device from src file to dst file
mv <src> <dst> Move a file within the remote device from src file to dst file
rm <target> Deletes the specified file/folder
AUTHOR
Alexander Orlenko <zxteam@gmail.com>.
SEE ALSO
bt-adapter(1) bt-agent(1) bt-audio(1) bt-device(1) bt-input(1) bt-monitor(1) bt-network(1) bt-serial(1)
2010-08-16 bt-obex(1)