I need to copy around 30 directories (each directory include one or more text file(s)) from NT server to Unix server at one go. For doing this what are the privillages i should have in both NT and Unix server.
Please let me know which command i can use in shell prompt.
TIA. (4 Replies)
Hi Unix Gurus,
Been trying to find a thread on this matter but somehow it's not related.
I'm trying to ftp a few directories from Unix to the Wintel server but somehow its not working at all :(
i've tried to use mput but mput is only working for files but not directory.
any suggestion... (1 Reply)
Hey guys,
I'm new to the programming world in general, and I only write in applescript so far. I am trying to find a shell script that will return a list of all the sub directories (or folders) within a directory on my ftp server. The server needs a username and password. I would assume the... (4 Replies)
find -type d -name "TC_*" | sort
That's what I have so far... it finds the appropriate directories and then sorts them. But, when it comes to nested subdirectories, it only sorts relative to the first subdirectory. I want it to sort based on the directory at the end of the path. Does anyone know... (3 Replies)
Hi All,
I'm a newbie in Perl.. is it possible to sort the file in ascending order while you are in the SFTP then get the file in the top then process.. and son on and so on..
ex.
Server 1
file2
file1
file3
I'm here in Server 2. what i'm going to do is sort the file in Server 1 then get... (8 Replies)
It is for HP-Unix B.11.31.
Requirement:
1. List the directories, which directories name has given particular string.
Example: Directories with name "Build"
2. On the output of 1. list the directories by creation date as sort order.
I tried with; find . -type d -name "Build*"
... (3 Replies)
Hello All,
I am trying to connect to ftp server and get the files. Also i need to rename the file in other ftp dir.
rename method is not allowing me to rename the file in other dir. When i tried copy command by using net::FTP:FILE then perl says it is not installed.
Can some body help me to... (2 Replies)
We have RHEL 5.8 in our environment, I had a query whether we can implement an FTP server using vsftpd package and Linux configurations like setsebool without using any external FTP clients like FileZilla etc. I am very confused on this. The FTP functionalities that should be present are download &... (3 Replies)
Hello,
I'm trying to find top 5(highest) directories by size. I did something like du -sh * > $file
Where I can get all the size with respect to directories, but I need only top 5 directory from the file. How can I sort by size in the file and print top 5 sizes with the directory name???
... (3 Replies)
Hi,
I have a problem . I have few directories like inpTDT_1, inpTDT_2, inpTDT_3 and so on inside HOME directory . In one of my perl script (which is in my HOME), the above directories like inpTDT_1, inpTDT_2, inpTDT_3 are sorting out in an order So I wanted to sort all the inpTDT_1, inpTDT_2,... (1 Reply)
Discussion started by: venkatesh
1 Replies
LEARN ABOUT OSX
mount_ftp
MOUNT_FTP(8) BSD System Manager's Manual MOUNT_FTP(8)NAME
mount_ftp -- mount a FTP filesystem
SYNOPSIS
mount_ftp [-i] [-o options] ftp://host[:port][/path] node
DESCRIPTION
The mount_ftp command mounts a FTP-enabled server directory at ftp://host[:port][/path] at the mount point indicated by node.
If the -i option is not used, all the required information to establish a login to the remote server must be available in the ftp URL,
including username & password if needed.
The user ID for all files and folders is set to the user's real user ID. The group ID for all files and directories is set to unknown, and
the permissions default to read and execute for user, group and other.
The options are:
-i Interactive mode, you are prompted for the username and password if you did not supply one in the url.
-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. The rdonly option will be set even if it was not specified because mount_ftp does not
allow files to be opened with write access on servers.
ftp://host[:port][/path]
The FTP-enabled server directory to mount as a volume. If port is not specified, then port 21 is used. If path is not specified, then
the path "/" is used.
node Path to mount point.
EXAMPLES
The following example illustrates how to mount the FTP-enabled server directory ftp.apple.com/ at the mount point /Volumes/mntpnt/
mount_ftp ftp://ftp.apple.com/ /Volumes/mntpnt/
SEE ALSO mount(2), unmount(2), mount(8)HISTORY
The mount_ftp command first appeared Mac OS X Version 10.2.
RETURN VALUES
0 mount_ftp successfully mounted the server directory.
[ENOENT] The server directory could not be mounted by mount_ftp because the node path is invalid.
[ENODEV] The server directory could not be mounted by mount_ftp because it is not FTP-enabled or because it does not exist, or
because node does not have proper access.
[ECANCELED] The server directory could not be mounted by mount_ftp because the user did not provide proper authentication credentials.
BUGS
mount_ftp only supports mounting read-only.
Mac OS X June 6, 2003 Mac OS X