Sponsored Content
Top Forums Shell Programming and Scripting ftp from hard drive to unix server Post 302143490 by porter on Thursday 1st of November 2007 04:20:01 PM
Old 11-01-2007
Code:
ftp hostname
user: foo
password: bar
put c:\my\windows\file target-file-on-unix
quit

alternatively use "cd" to switch to the correct directy in a windows command prompt prior to the upload.

Code:
ftp hostname
user: foo
password: bar
put file
quit

Typically it will end up in the home directory of 'foo'.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

seperate hard drive for unix & x windows

thanks for your help, i didnt realise you could download the operating system from sun.com:D Ive just had a new hard drive installed 20 GIG for unix and x windows. How can i connect this hard drive for unix and x windows only? and are there any helpful tutorials for starters?? Many thanks (4 Replies)
Discussion started by: jeffersno1
4 Replies

2. UNIX for Dummies Questions & Answers

Wiping UNIX Hard Drive

Hello all, Maybe someone can help? Please?!?!? How do I wipe a UNIX hard drive, For dos I use Norton. Is there something like that for UNIX. I am just barley understanding UNIX, so please forgive my ignorance. Also, is there a government approved method of sanitization? Thanks (10 Replies)
Discussion started by: rocky123
10 Replies

3. UNIX for Advanced & Expert Users

Formatting hard drive from Unix to Windows

Can a hard drive be formatted from unix server to windows 2000 professional? (4 Replies)
Discussion started by: howarddtp
4 Replies

4. UNIX for Dummies Questions & Answers

Trying to copy old hard drive to new hard drive.

:confused: ........I have a new hard drive and I need to copy ALL info from the old to the new. I would like to use the dd command. I know the command is as follows...... dd if=/dev/rdsk/c1t1d0s0 of=/dev/rdsk/???????? Where I have the question marks is the problem. How do I find out what the... (4 Replies)
Discussion started by: shorty
4 Replies

5. Filesystems, Disks and Memory

The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive

Hi I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies

6. UNIX for Advanced & Expert Users

format unix hard drive on windows xp

Hello, How is it possible to copy the partition of hard drive that have unix on it (it's a scsi hard drive of an Irix (SGI)), under windows xp - what I did till now is to connect the drive to the my pc (windows xp installed) with a scsi adapter and the program partition magic can't recognize the... (2 Replies)
Discussion started by: moyalt
2 Replies

7. UNIX for Dummies Questions & Answers

How to transfer files from UNIX to my own Hard drive storage?

I will leave the University I am working, but I need to backup and transfer my research data from UNIX system in our department to my own 750G Hard Drive Storage. But I am not familiar with UNIX. How to do this? Thank you. (5 Replies)
Discussion started by: fishwater00
5 Replies

8. UNIX for Dummies Questions & Answers

Installing UNIX and booting from External Hard Drive

Hello I have a new project being kicked off next month and i should learn UNIX fast. I have never used UNIX before so i have the following questions: 1) Is any UNIX free to install? 2) Can i install and boot UNIX from an External Hard Drive (The system board on my laptop crashed so i took the... (2 Replies)
Discussion started by: pipsonian
2 Replies

9. Shell Programming and Scripting

Unix server to Hard-drive connected on the machine

Hi, I have an external hard drive connected to my iMac. I am logged into a Linux_x86_64 server. Now, if I want to download files directly to the hard drive, is there a way to do it. Currently, I am chasing cyberduck to download content to the hard drive. (3 Replies)
Discussion started by: jacobs.smith
3 Replies
nisrmdir(1)							   User Commands						       nisrmdir(1)

NAME
nisrmdir - remove NIS+ directories SYNOPSIS
nisrmdir [-if] [-s hostname] dirname DESCRIPTION
nisrmdir deletes existing NIS+ subdirectories. It can remove a directory outright, or simply remove replicas from serving a directory. This command modifies the object that describes the directory dirname, and then notifies each replica to remove the directory named dirname. If the notification of any of the affected replicas fails, the directory object is returned to its original state unless the -f option is present. This command will fail if the NIS+ master server is not running. OPTIONS
The following options are supported: -i Interactive mode. Like the system rm(1) command the nisrmdir command will ask for confirmation prior to removing a direc- tory. If the name specified by dirname is a non-fully qualified name this option is forced on. This prevents the removal of unexpected directories. -f Force the command to succeed even though it may not be able to contact the affected replicas. This option should be used when a replica is known to be down and will not be able to respond to the removal notification. When the replica is finally rebooted it will read the updated directory object, note that it is no longer a replica for that directory, and stop responding to lookups on that directory. Cleanup of the files that held the now removed directory can be accomplished manu- ally by removing the appropriate files in the /var/nis directory. See nisfiles(4) for more information. -s hostname Specify that the host hostname should be removed as a replica for the directory named dirname. If this option is not present all replicas and the master server for a directory are removed and the directory is removed from the namespace. Special per-server and per-directory access restrictions may apply when this command updates the serving lists of the affected NIS+ servers. For more information, see nisopaccess(1). OPERANDS
The following operand is supported: dirname An existing NIS+ directory. EXAMPLES
Example 1: Using the nisrmdir Command To remove a directory bar under the foo.com. domain, one would use the command: example% nisrmdir bar.foo.com. To remove a replica that is serving directory bar.foo.com. one would use the command: example% nisrmdir -s replica.foo.com. bar.foo.com. To force the removal of directory bar.foo.com. from the namespace, one would use the command: example% nisrmdir -f bar.foo.com. ENVIRONMENT VARIABLES
NIS_PATH If this variable is set, and the NIS+ directory name is not fully qualified, each directory specified will be searched until the directory is found. See nisdefaults(1). EXIT STATUS
The following exit values are returned: 0 Successful operation. 1 Operation failed. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnisu | +-----------------------------+-----------------------------+ SEE ALSO
nis+(1), nisdefaults(1), nisopaccess(1),nisrm(1), nisfiles(4), attributes(5) NOTES
NIS+ might not be supported in future releases of the SolarisTM Operating Environment. Tools to aid the migration from NIS+ to LDAP are available in the Solaris 9 operating environment. For more information, visit http://www.sun.com/directory/nisplus/transition.html. SunOS 5.10 10 Dec 2001 nisrmdir(1)
All times are GMT -4. The time now is 05:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy