FTP - remote access


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers FTP - remote access
# 1  
Old 01-18-2006
FTP - remote access

Hi All,

I want to ftp a file from Windows 2000 to Unix. The file is present in a remote server which has been mapped to one of my drives. I am not able to connect to that directory.

I am getting an error saying
?Invalid command
550 //hbxs02/shared No such file or directory.

The directory "//hbxs02/shared" is on a remote windows 2000 server.
I can ftp the file manually but I can do it using a shell script.

The code which I have used is as follows:

rm ftp_log
FTP_SERVER=xy112z
FTP_USERID=yellow
FTP_PASSWD=orange
REMOTE_DIR="//hbxs02/shared"
export REMOTE_DIR
LOGFILE_TMP=/export/home/Scripts/ftp_log
LOG_MSG="Starting the ftp process"
echo $LOG_MSG > $LOGFILE_TMP
/usr/bin/ftp -i -v -n ${FTP_SERVER} <<EOT >> ${LOGFILE_TMP}
user ${FTP_USERID} ${FTP_PASSWD}
pwd > $LOGFILE_TMP
#lcd "${REMOTE_DIR}" > $LOGFILE_TMP
cd $REMOTE_DIR > $LOGFILE_TMP
bye
EOT

Please help in figuring the exact problem. I tried searching the forum but couldn't get any help.

Thanks
Shash
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

Remote Access vs Local Access

Dear Friends, This is not a problem , it's a course work (UNIX scenario).... As part of it I am searching Remote Attacks and find points as 1. Exploiting a listening service 2. Routing through Unix system that is providing security between 2 or more networks 3. User initiated Remote execution... (1 Reply)
Discussion started by: anespa
1 Replies

2. UNIX for Dummies Questions & Answers

Remote FTP Backup -Tar archive+ encrypt+ split to a remote ftp

I have a huge directoy(200+ gb) for backup. I want upload the tar file(split files) simultaneous to a remote ftp. (pipeline, stdout, stdin etc.) I don't want write a data to local hdd. I have a ssd hdd. thanks. this code doesn't work.( yes i know the problem is split command!) tar cvzf -... (8 Replies)
Discussion started by: tara123
8 Replies

3. AIX

ftp access without shell access

Hi all, I'm using AIX v 5.3 I want to create system users to access through ftp or sftp and restrict those users into specific directory and don't traverse the whole file system just to be restricted within a directory and don't get shell access . i don't want to use any other third party... (7 Replies)
Discussion started by: h@foorsa.biz
7 Replies

4. Solaris

Remote Access to Application

Hi All, I have an application which I wanted to install on one solaris server instead of installing it on 6 solaris servers and then users should be able to access this application via one of those 6 servers. I think NFS is one of the option. Is there any other way we can invoke this application... (6 Replies)
Discussion started by: sam101
6 Replies

5. Red Hat

remote kde access

Hi, How can i get the kde desktop/console screen on a on PC. Do we have a kde is client or so ? I have exceed installed on my windows pc but i do not know how to get the same screen as the console of the server. Thanks in advance ! ---------- Post updated at 05:21 PM ---------- Previous... (2 Replies)
Discussion started by: uxadmin007
2 Replies

6. UNIX for Dummies Questions & Answers

Remote Access to FTP server not working

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

7. Solaris

How do I disable Remote Access ?

During the Solaris 10 installation, I answered "Yes" at the "Activate Remote Access" screen - or something like that. I know this is a security issue and I want it disabled now. How can I disable remote access ? Thanks. (4 Replies)
Discussion started by: chinezu'
4 Replies

8. Shell Programming and Scripting

remote server access

hi everybody, im kinda a new to scripting.... i have attached an image in this post... my goal is to extract data from the remote servers (server1,2,3 as in figure) to the server residing locally.... the criterias are: * I should not pass the password across the remote servers. *... (1 Reply)
Discussion started by: mercuryshipzz
1 Replies

9. Solaris

Remote Access

Hi We access all our SPARC/x86 servers (Solaris 8,9 & 10) using ssh. I am looking for a open source tool that allows me to get the GUI on to my laptop. I tried with x-org and some other applications like Hummingbird. Encountered problems with license issues and CPU compatability of my laptop. ... (2 Replies)
Discussion started by: chrs0302
2 Replies

10. UNIX for Dummies Questions & Answers

Need help to access/mount so to access folder/files on a Remote System using Linux OS

Hi I need to access files from a specific folder of a Linux system from an another Linux System Remotely. I know how to, Export a folder on One SCO System & can access the same by using Import via., NFS in the Sco Unix SVR4 System using the scoadmin utility. Also, I know to use mount -t ... (2 Replies)
Discussion started by: S.Vishwanath
2 Replies
Login or Register to Ask a Question
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)