preserving the timestamp of a file when copied from remote server to local server using ftp
Hi,
I need to copy few files from remote server to local server.
I write a shell script to connect to the remote server using ftp and go to that path. Now i need to copy those files in the remote directory to my local server with the timestamp of all those files shouldnt be changed.
when i run this, all the files are copied to the local server but the timestamp shows the time, when these files were copied. But i need these files with the timestamp same as in the remote server.
Hi,
I am facing a weired problem in my FTP script. I want to transfer multiple files from remote server to local server everyday, using mget * in my script. I also, want to send an email for successful or failed FTP. My script works for file transfer, but it don't send any mail. There is... (2 Replies)
Hi,
The Setup is like this. I'm connecting to Unix machine from my local machine. After connecting to Unix M/c, i need to connect FTP server. Am successful in connecting to FTP server, but am not able to download the file from the ftp server to my local machine. I have different user id's and... (1 Reply)
Hi,
Im creating a script that is supposed to run commands on remote server using sftp.
My script is as below:
#!/bin/ksh
sftp remote_server
mypassword
cd /u08/mydir/allfiles
mget *
..
But this is what I got when I runned the script:
Connecting to remote server...... (3 Replies)
Hi
How to copy a file from remote server and preserve timestamp. Please not, i have to pass username and password to connect to the remote server in the shell script.
Can this be achieved with simple ftp ? are there any options in ftp ?
Thanks (4 Replies)
There is a process which copy files form unix a to unix b
I would like to check whether all files copied from a to b or not ,and list which are the missing files.
Is there a command to check like that (3 Replies)
hi,
can anyone tell me how can i store the names of a file that are in remote server to a file and then get the file that contains the name in local server?
there is a remote server where 5 files are present , say
a.txt
b.txt
c.txt
d.txt
e.txt
i want to write a script in my local... (4 Replies)
Hi,
I am trying to automate the process of fetching files from remote server to local server through sftp. I have the username and password for the remote solaris server. But I need to give password manually everytime i run the script.
Can anyone help me in automating the script such that it... (3 Replies)
Hi guys,
So i am in server1 and i have to login to server 2, 3,4 and run some script there(logging script) and output its result. What i am doing is running the script in server2 and outputting it to a file in server 2 and then Scp'ing the file to server1. Similarly i am doing this for other... (5 Replies)
Discussion started by: srkmish
5 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)