Sponsored Content
Top Forums Shell Programming and Scripting moves files remotely using ftp Post 302409515 by HemaV on Thursday 1st of April 2010 10:56:11 AM
Old 04-01-2010
Hi,
through dir i got the list of filenames in the specified directory. But now how to use rename command to move 1000 files from one directory to other directory using remote server?

Thank you,
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script that moves itself

Hello all, I'm new here, so if this is in the wrong place please feel free to move it. :) As a challenge to myself, I've decided I want to make a "alive" script. Well not really, but almost. I want to make a script that will rove around my hard drive in the background (actually "moving"... (2 Replies)
Discussion started by: chmod
2 Replies

2. Filesystems, Disks and Memory

Not able to FTP the files to a FTP server

Hi , We are facing a weird problem in our project. we need to send some xml & audio files to a remote FTP server from a Linux box, we are doing this in Perl script using Net::FTP->. Issue here is.. when FTPed the files using Perl scripts, only empty files ( 0 byte) are getting created on the... (2 Replies)
Discussion started by: kishorepotta
2 Replies

3. Shell Programming and Scripting

moves checkout files to local system

I am using my script which generally checkout the repository.Is there any coomand which can help me to checkout the repository not on that svn server while it moves it to your local system at the desired location. (0 Replies)
Discussion started by: rohit22hamirpur
0 Replies

4. Shell Programming and Scripting

sftp script - problem removing files remotely

Hello all, After searching through the similar topics and not finding a working solution, I decided to join and post my question (and maybe kill time and help other users). Essentially I am trying to get a file from the sftp and then delete it after the file is pulled. all the sftp commands... (3 Replies)
Discussion started by: MarcMaiden
3 Replies

5. Shell Programming and Scripting

How to wite shell script to moves files?

Greetings to all, i am new to shell scripting. i need to wite a script that moves files after renaming them to .txt . The exact scenario is this. i have a directory /stsarie/btms/v5.0/report/wps where files will be imported from Host system periodically. Along with a file say named... (2 Replies)
Discussion started by: latrom77
2 Replies

6. UNIX for Dummies Questions & Answers

Remotely Diff Two files

Daily Stupid Question: How can I remotely look at the difference from a file from my localhost and a remote machine? So: diff local-file remote-file-on-some-other-ip (2 Replies)
Discussion started by: metallica1973
2 Replies

7. UNIX for Beginners Questions & Answers

How to see the status of all the ftp put & get files logs and curent ftp transfer status ?

How to see the status of all the ftp put & get files logs and curent ftp transfer status if any active ftp running in the background ? (2 Replies)
Discussion started by: i4ismail
2 Replies
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
All times are GMT -4. The time now is 08:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy