Sponsored Content
Top Forums Shell Programming and Scripting why the mv is not working in an FTP Post 302337502 by clx on Friday 24th of July 2009 09:28:06 AM
Old 07-24-2009
Quote:
FTP does not support full pathnames in target filenames.

I did not get it.

Code:
rename /my/path1/myfile1 /my/path2/file1

should work. (full path name in target filename)
 

10 More Discussions You Might Find Interesting

1. Cybersecurity

FTP is not working.

Hi, I'm getting the following error while trying to use the ftp command. ---------------- 331 Password required for prodofsa. Password: 230 User prodofsa logged in. ftp> ftp> ftp> ftp> ls 200 PORT command successful. 425 Can't build data connection: Connection timed out. ftp>... (10 Replies)
Discussion started by: ronald_brayan
10 Replies

2. AIX

FTP is not working

Upto last month my script was working fine, Now I am getting following error, any one help me? Tcl_Init failed: Can't find a usable init.tcl in the following directories: /usr/local/lib/tcl8.0 ./lib/tcl8.0 ./tcl8.0/library ./library This probably means that Tcl wasn't installed... (0 Replies)
Discussion started by: redlotus72
0 Replies

3. Web Development

is wget working in ftp ?

I get ftp> wget ?Invalid command. ftp> 0 * * * * wget -O - -q -t 1 http://www.example.com/cron.php ?Invalid command. thanks (6 Replies)
Discussion started by: aneuryzma
6 Replies

4. UNIX for Dummies Questions & Answers

FTP not working, need some help

I am trying to set up an account for a user on our network to ftp into and access his folder for his web site. I have been tossed into the previous web hosting server without really knowing much about how it has or is set up, but I've been following most of the tutorials I have seen around the... (0 Replies)
Discussion started by: nlraley
0 Replies

5. Linux

FTP not working under Linux but working under any other OS ??? Very strange

Dear all, I am totally despaired and puzzled. Using Filezilla under Windows under the same network as our Linux servers is working. Using FTP command-line client under any of our Linux debian servers is not working ! I tried with different FTP servers -> same problem ! All commands are... (12 Replies)
Discussion started by: magix_ch
12 Replies

6. Solaris

All i/o (ftp) not working on this SunOS 5.10

Hi everyone: I have been trying to simply FTP a file over to this SunOS 5.10 (which is same as Solaris 10 now) and nothing works! I can only Telnet to this via SSH (with my own account/uid), and I can also send simple mail out with mailx, that's all!!! I cannot FTP to it (I think FTP... (7 Replies)
Discussion started by: steve701
7 Replies

7. Shell Programming and Scripting

Script not working after FTP

Hi Gurus, I prepared a script to process some files and then ftp the output file to mainframe directory. Here is the code snippet for the same. # Perform FTP echo "put $TGT_DR/$K.$F.$I.$K1.$RUN_TYPE '$K.$F.$I.$K1.$RUN_TYPE'" >> $LogFile ftp -i -n <<EOF >> $LogFile open... (2 Replies)
Discussion started by: svajhala
2 Replies

8. Solaris

FTP not working Solaris 10

Hi All, I have a problem with FTP service on Solaris 10. Whenever I try to FTP to one machine locally (ftp localhost) or from other machine I don't get any response, I see the ftp service on the machine is online and listening to port 21 but ftp is not responding. Also it seems i can't... (16 Replies)
Discussion started by: belal84
16 Replies

9. Solaris

Why is sftp working but ftp not

I am not very familiar with the use of FTP, and trying to run it I found out that standard "ftp" is not working" but "sftp" is. If sftp is allowed will that block ftp ? and if so where is this set ? I thought there is no relationship, is that right ? If so look here: inetadm | grep ftp enabled... (11 Replies)
Discussion started by: manni2
11 Replies

10. Red Hat

Working with FTP

Hi all, i am using fedora 11,and want to make my system as ftp server. I have installed vsftp package and vsftpd daemon is also running. Can i access my files from outer world i.e. internet using ftp? How can i do that? i started vsftpd daemon and tried to access server from other system like... (2 Replies)
Discussion started by: yashwantkumar
2 Replies
GIT-SH-SETUP(1) 						    Git Manual							   GIT-SH-SETUP(1)

NAME
git-sh-setup - Common git shell script setup code SYNOPSIS
. "$(git --exec-path)/git-sh-setup" DESCRIPTION
This is not a command the end user would want to run. Ever. This documentation is meant for people who are studying the Porcelain-ish scripts and/or are writing new ones. The git sh-setup scriptlet is designed to be sourced (using .) by other shell scripts to set up some variables pointing at the normal git directories and a few helper shell functions. Before sourcing it, your script should set up a few variables; USAGE (and LONG_USAGE, if any) is used to define message given by usage() shell function. SUBDIRECTORY_OK can be set if the script can run from a subdirectory of the working tree (some commands do not). The scriptlet sets GIT_DIR and GIT_OBJECT_DIRECTORY shell variables, but does not export them to the environment. FUNCTIONS
die exit after emitting the supplied error message to the standard error stream. usage die with the usage message. set_reflog_action set the message that will be recorded to describe the end-user action in the reflog, when the script updates a ref. git_editor runs an editor of user's choice (GIT_EDITOR, core.editor, VISUAL or EDITOR) on a given file, but error out if no editor is specified and the terminal is dumb. is_bare_repository outputs true or false to the standard output stream to indicate if the repository is a bare repository (i.e. without an associated working tree). cd_to_toplevel runs chdir to the toplevel of the working tree. require_work_tree checks if the repository is a bare repository, and dies if so. Used by scripts that require working tree (e.g. checkout). get_author_ident_from_commit outputs code for use with eval to set the GIT_AUTHOR_NAME, GIT_AUTHOR_EMAIL and GIT_AUTHOR_DATE variables for a given commit. AUTHOR
Written by Linus Torvalds <torvalds@osdl.org[1]> DOCUMENTATION
Documentation by Junio C Hamano and the git-list <git@vger.kernel.org[2]>. GIT
Part of the git(1) suite NOTES
1. torvalds@osdl.org mailto:torvalds@osdl.org 2. git@vger.kernel.org mailto:git@vger.kernel.org Git 1.7.1 07/05/2010 GIT-SH-SETUP(1)
All times are GMT -4. The time now is 01:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy