06-22-2017
Hi rbatte1
I think the issue I have is different from what you have addressed here.
I am absolutely not concerned about how the clients in Site B access my files from Site A. They are already doing so and they will continue to do so. So there is not changed on their end.
My primary question is
Which of these two options is a faster way for me to transfer files from my Application server which is creating the files to remote Site A in the same datacenter.
Option (1) FTP files from my application server (using scp/rcp/rsync/lftp) to a remote FTPS server in site A which has a storage volume XXX mounted locally on the FTPS server at mount point /a/b/c
Option (2) Mount the FTPS storage volume XXX onto local mount point /x/y/z of my local Application server as well as mount the same storage volume XXX onto local mount point /a/b/c of the remote FTPS server and then Application server just copies the files it generates (cp) to Unix directory /x/y/z and so files are automatically available on remote FTPS server in directory /a/b/c
thanks
10 More Discussions You Might Find Interesting
1. 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
2. HP-UX
want to remove the thread
thanks (2 Replies)
Discussion started by: indira
2 Replies
3. Shell Programming and Scripting
want to remove this thread.
thanks (2 Replies)
Discussion started by: indira
2 Replies
4. UNIX for Dummies Questions & Answers
Good evening
I need your help pease
I know there are 2 commands(diff, or cp) to compare files in a directory. but the question arises:
1. can i compare zip files or ive got to unzip them?
2. how can i compare 2 files from a local to a remote server? (is there any special commad or ive got... (4 Replies)
Discussion started by: alexcol
4 Replies
5. UNIX for Dummies Questions & Answers
Hi experts,
I 'm newbie to unix world, now I have task to copy the latest files from remote server to my local. I believe this must be very common request in this community. I want you do it one more time for me please.
My requirement is something like this:
I receive files in the below... (3 Replies)
Discussion started by: parpaa
3 Replies
6. Solaris
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)
Discussion started by: ssk250
3 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I am new to SHell scripting, can someone please help me with the below requirement.
1) LFTP a file to a remote server which supports FTPS. My current enviroment is Sun Solaris 5.10
2) I need to incorporate this in a shell which is currently sending files to a server that accepts... (1 Reply)
Discussion started by: subbu
1 Replies
8. Shell Programming and Scripting
Hi All
I need to transfer a file from a UNIX server to a windows server.
I saw that it is possible to do this using scp command by looking at the forum listed below:
... (2 Replies)
Discussion started by: vx04
2 Replies
9. Shell Programming and Scripting
Hi Guyz ,,
I'm an ERP functional guy , I really need to automate a script which required a shell script but have a little knowledge in shell scripting.
I need my generated files to be zipped first in one directory lets say (xyz) and then it needs to transfer another ftp server in... (3 Replies)
Discussion started by: Shogundion
3 Replies
10. Shell Programming and Scripting
Hi Team,
I am currently working on an integration project where in we have planned to receive files from an external source onto our system via FTPS(SSL). I am new to this part and would like to know the points for consideration and the points to learn to get this done. The files we receive from... (1 Reply)
Discussion started by: Rads
1 Replies
LEARN ABOUT OSX
mount_afp
MOUNT_AFP(8) BSD System Manager's Manual MOUNT_AFP(8)
NAME
mount_afp -- mount an afp (AppleShare) filesystem
SYNOPSIS
mount_afp [-i] [-s] [-k] [-o options] afp_url node
DESCRIPTION
The mount_afp command mounts the AFP volume denoted by the afp_url afp://[user[;AUTH=uamname][:password]@]host[:port]/volumename at the mount
point indicated by node.
This command is normally executed by mount(8) when the -t afp option is used. If the -i option is not used, all the required information to
establish a login to the remote server must be available in the afp URL, including username & password if needed.
The arguments and options are:
-i Interactive mode, you are prompted for the password if you did not supply one in the url.
-s Soft mount (default). Network errors, e.g. timeouts, will be retried for a much shorter amount of time. If the network errors per-
sist, then the mount will be force unmounted.
-k Hard mount. Network errors, e.g. timeouts, will be retried for an extended amount of time. If the network errors persist, then the
mount will be force unmounted.
-o Options passed to mount(2) are specified with the -o option followed by a comma separated string of options. See the mount(8) man
page for possible options and their meanings. Additional options supported by the AFP Client are as follows:
nobrowse
Indicate to the Carbon subsystem that this volume is not to be displayed to the user.
automounted
Set flags on the mountpoint to indicate that the volume has been mounted by the automounter.
afp_url
There are two forms of afp URL, one for TCP/IP and one for AppleTalk:
afp://[user[;AUTH=uamname][:password]@]host[:port]/volume
afp:/at/[user[;AUTH=uamname][:password]@]servername[:zonename]/volume
Denotes the afp server and sharepoint to mount. It may also contain the username & password required to log into the server. uamname
is the protocol name of the authentication method. If port is not specified, then port 548 is used.
node Path to mount point, which must be a directory that the user has write permissions for.
EXAMPLES
The following example illustrates how to mount the afp volume server.company.com/volumename/ at the mount point /Volumes/mntpnt:
mkdir /Volumes/mntpnt
mount_afp afp://username:userpass@server.company.com/volumename/ /Volumes/mntpnt
This example shows the proper url to use to mount the volume guestVolume from the afp server myserver as guest (if no uam and no username,
then use guest uam):
mkdir /Volumes/guest
mount_afp "afp://myserver/guestVolume" /Volumes/guest
This example shows the proper url to use to mount the volume myVolume from the afp server myserver using Kerberos authentication:
mkdir /Volumes/myVolume
mount_afp "afp://;AUTH=Client%20Krb%20v2@myserver/myVolume" /Volumes/myVolume
SEE ALSO
mount(2), unmount(2), mount(8)
HISTORY
The mount_afp command first appeared Mac OS X version 10.0. Kerberos authentication was added in Mac OS X version 10.2
RETURN VALUES
0 mount_afp successfully mounted the volume directory.
[ENODEV (19)] The server volume could not be mounted by mount_afp because the server was not found or because the sharepoint does not
exist, or because node does not have proper access.
[EACCES (13)] The volume could not be mounted by mount_afp because the user did not provide proper authentication credentials.
[ENOTDIR (20)] The volume could not be mounted by mount_afp because the mountpoint was not a directory.
Mac OS X May 8, 2002 Mac OS X