02-12-2009
Quote:
Originally Posted by
supercops
I can not ftp the file still from my desktop to a remote server by ftp .
I am getting the following error .
ftp> put archive.zip
archive.zip: No such file or directory
ftp>
Please advice
Make sure you're in a LOCAL directory where 'archive/zip' resides
OR
provide an absolute (or relative) path to archive.zip on your LOCAL machine (if you're not in the same local directory).
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I would like to know if there is a way to get the date and timestamp of the file that is being FTP from the remote server using shell script. Currently the get command from FTP will have current date and timestamp. Tried the earlier suggestion 'HardFeed' but still getting the current date and time... (12 Replies)
Discussion started by: gthokala
12 Replies
2. Shell Programming and Scripting
Dear all,
I am trying to push a data file to a remote Server. I am taking date variable from the database.
The file I want to push looks like this in /tmp
hostname.export.beforedate.dmp.gz
for reading the date from the database i have a file get_date.sql which contains
select... (2 Replies)
Discussion started by: shivaraj
2 Replies
3. Shell Programming and Scripting
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)
Discussion started by: berlin_germany
2 Replies
4. Shell Programming and Scripting
Hi All,
I want to rename set of files in the remote server which iam unable to do . i can rename only one file
at a time . for example
ftp $REMOTESERVER
{
rename $NAME1 $NAME2
} is working
whereas
ftp $REMOTESERVER
{
rename $NAME1*.dat $NAME2*.data
} is not working ...... (4 Replies)
Discussion started by: dineshr85
4 Replies
5. UNIX for Dummies Questions & Answers
I am trying to setup an FTP server in a Fedora Core 3 machine through the command line interface and not KDE.
I think I am successful in getting the ftp service running, as when I do an ftp 127.0.0.1, I am able to log in using any one the user accounts I have created on this machine and browse... (8 Replies)
Discussion started by: cooljumbo2k8
8 Replies
6. Shell Programming and Scripting
Hello,
I used the search engine but could not find the solution I am looking for. Probably its simple but I do not know the solution.
My requirement is I ftp files every day in the morning from the remote server to the local machine. Now if the files are not there at the time I schedule the ftp... (2 Replies)
Discussion started by: kiran_418
2 Replies
7. Shell Programming and Scripting
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.
... (5 Replies)
Discussion started by: arunkumarmc
5 Replies
8. Shell Programming and Scripting
How to FTP the latest file, based on date, from a remote server through a shell script?
I have four files to be FTP'ed from remote server.
They are of the following format.
build1_runtime_mmddyyyy.txt
build2_runtime_mmddyyyy.txt
build3_runtime_mmddyyyy.txt
buifile_count_mmddyyyy.txt
... (9 Replies)
Discussion started by: imran_affu
9 Replies
9. Shell Programming and Scripting
hi,
Im using the following code for FTP
#!/usr/bin/ksh
ftp -v -n "10.29.45.11" << cmd
user "mahesva" "mahesva123"
get rtl.tar
quit
cmd
Below is the log when i run the above code
**********************************
Connected to 10.29.45.11.
220 (vsFTPd 2.0.1)
530 Please login with USER... (20 Replies)
Discussion started by: dll_fpga
20 Replies
10. Shell Programming and Scripting
Hi,
I'm fairly new to Linux and need help with a script to ftp a .csv file to a remote server. I can ftp the .csv file manually from my server to the remote server in the "/" location.
When I execute the script I receive the following message Could not create file.
Here's what I have for... (5 Replies)
Discussion started by: Computergal2104
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)