The script won't run under the ftp process so that resolves that right there.
Are you using ssh to log in to the Unix box? If so, you could do something like this:
Alternately, if ssh isn't available for some reason, on the Unix box, have the user set up a cron entry (I don't know if it's Linux or not):
testscript would consist of just:
That way it runs every minute and only runs the main script when files appear in the dump directory. The script1 script should clean up the dump directory so the testscript only runs when you copy files over.
Hi,
I have been using ftp to transfer files back and forth between windows and unix machines. But everytime i started the ftp session from the windows machine.
I have a question why I am not able to connect to the same windows machine from the same unix machine.
How do I do this?
... (11 Replies)
Hi all,
How to FTP an excel format file located in windows to unix using shell script.Any particular commands we have to use?
Thanks& Regards,
rrs (4 Replies)
Hi,
I know that there should be a FTP server in Windows or a FTP listener daemon running in windows. Iam a beginner. May I know, what setup need to be done on Windows/unix end so that, a file can be transferred using sftp/scp from unix to windows.
Thanks in Advance. (2 Replies)
How to do ftp from unix to windows
i have some files in a dir in unix box and i want to put those files in windows through FTP. How to do this ? (9 Replies)
i need to ftp a file from windows to a unix machine by executing a sript(perl/shell/php) from that unix machine.i can also use HTML and javascript to build forms. (3 Replies)
will this work, knowing that the file is in a directory in windows.. It is
going from a drirectory in windoxs to UNIX \
# Error Handling Function
function ErrorHandle
{
# if type is 1, then the file does not exist or unreadable
if
then
echo "File... (5 Replies)
Hi gurus,
I need to FTP files from a UNIX box to a WINDOWS server. FTP is running on the WINDOWS server.
I am able to log in to the WINDOWS machine with FTP, however when i do a dir in the ftp prompt i get the following
200 PORT command successful.
150 Opening ASCII mode data connection for... (3 Replies)
Hi Friends,
I have this script for ftping files from AIX server to local windows xp.
#!/bin/sh
HOST='localsystem.net'
USER='myid_onlocal'
PASSWD='mypwd_onlocal'
FILE='file.txt' ##This is a file on server(AIX)
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE... (1 Reply)
Hi, I am new to this subject.....Can someone please help me out with the script...
unix usernm "sdhftst"
unix pwd "chsd13"
windows usernm "dfghtst"
windows pwd "chsd13"
path..../xxx/xxxxx/xxxxxx/xxxxxxx
please can u get me a script...its only one file to get ftp.
Thanks... (2 Replies)
Hi,
Is it possible to ftp a huge zip file from windows to unix server using unix shell scripting?
If so what command i need to use.
thanks in advance. (1 Reply)
Discussion started by: Shri123
1 Replies
LEARN ABOUT DEBIAN
gfuser
GFUSER(1)GFUSER(1)NAME
gfuser - Gfarm user maintenance command
SYNOPSIS
gfuser [ -P path ] [ -l ] [ user ... ]
gfuser [ -P path ] -c username realname homedir gsi_dn
gfuser [ -P path ] -m username realname homedir gsi_dn
gfuser [ -P path ] -d username
DESCRIPTION
gfuser manages Gfarm global users in Gfarm file system. Default action displays all registered users. When user names are specified,
specified users are displayed. Gfarm administrator can creates, modifies, and deletes a Gfarm user by -c, -m, and -d options, respec-
tively.
OPTIONS -P path
This option specifies a pathname or a Gfarm URL to identify a metadata server which will be accessed by this command. If not speci-
fied, "/" is used as the default value.
-l Displays verbose information of registered users.
-c Creates a user by specifying a global username in Gfarm file system, a real username, a home directory in Gfarm, and a Subject DN
used in GSI. When the real username or the Subject DN includes spaces, it is needed to be quoted. This option can be used by Gfarm
administrators.
-m Replaces a user information of the specified global user with specified real name, home directory and Subject DN. This option can
be used by Gfarm administrators.
-d Deletes a registered user. This option can be used by Gfarm administrators.
-? Displays a list of command options.
SEE ALSO gfgroup(1)Gfarm 20 January 2010 GFUSER(1)