Sponsored Content
Special Forums IP Networking Accessingand creating folders in Machines using IP Post 302705815 by Pavan Kumar on Tuesday 25th of September 2012 02:35:42 PM
Old 09-25-2012
Accessingand creating folders in Machines using IP

Hi all,
I am working on a project where I need to access four random machines from a given subnet mask and sending files across the machines similar to peer to peer file systems. Now my question is. Given a subnet mask or If I obtain a random IP address of a machine from Subnet mask, how can I create a folder in my remote machine with the IP address to store my files? I am using Java to develop this system and just started the implementation. I have this question of how to create the folder and store the files in the Memory of the remote machine. Please share your knowledge of doing this.
SmilieSmilie

Thanks,
Pavan
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SFTP:error while creating folders on remote server

Hi, I am trying to create some folders on remote server with SFTP connection. if the folder is exist then it is not executing the next commands. i.e. if temp/folder is exist then it it not executing mkdir $folder1 mkdir $folder2 commands. here is my code. sftp -b /dev/fd/0 ... (0 Replies)
Discussion started by: vgs
0 Replies

2. Shell Programming and Scripting

Creating links to multiple folders

Hi All, First of all, I'm a unix newbie so don't be to hard on me :) I'm not even sure if the thing that I want is even possible but here goes nothing: On my linux based NAS I have the following structure: videos |---movie 1 |---movie 2 |---movie 3 | USBDISK |---videos |--- movie... (8 Replies)
Discussion started by: kvb
8 Replies

3. Shell Programming and Scripting

Using cp: preserving file/folder attributes and auto creating folders

Hi, Is there a way to use cp in such a way that when a file is copied to a destination, the required destination folders are automatically created with the proper permissions, and the resulting copied file has the same attributes as the original. For example if I copied... (1 Reply)
Discussion started by: pcwiz
1 Replies

4. Shell Programming and Scripting

Creating folders based on number of files

I have hundreds of files numbered in consecutive number in one single folder What I would like to do is to make as many subfolders as needed (dependeing on the number of individual files) and name them Folder01, Folder02, etc. Then, move file01 to folder01, file02 to folder02 so on and so... (3 Replies)
Discussion started by: Xterra
3 Replies

5. Shell Programming and Scripting

bash script for testing existence of files/folders and creating if neither exist

Hi, I am new to shell-scripting, and doing a lot of reading. I am having some trouble getting started with a simple testing of scripting. I have been experimenting with if, loops, for, test, etc., but still unsure. I seem to have the hang of it when it comes to creating a single file or... (6 Replies)
Discussion started by: me2
6 Replies

6. UNIX for Dummies Questions & Answers

Searching for folders/parent folders not files.

Hello again, A little while back I got help with creating a command to search all directories and sub directories for files from daystart of day x. I'm wondering if there is a command that I've overlooked that may be able to search for / write folder names to an output file which ideally... (2 Replies)
Discussion started by: Aussiemick
2 Replies

7. Shell Programming and Scripting

Creating matrix from folders and subfolders

Hello, Greetings! please help me produce the following solution. I need to produce one big matrix file from several files in different levels. If it helps, the index folder provides information on chromosome index and the data folder provides information on values for chromosomes. there... (8 Replies)
Discussion started by: newbie83
8 Replies

8. Shell Programming and Scripting

awk creating folders

Hello, im trying to create folders from text file and i get errors :( #!/bin/bash awk 'BEGIN { RS = "/" } ; { mkdir $1, mkdir $2, mkdir $3, mkdir $4, mkdir $5}' zodziai.txt im new in linux stuff just trying to learn. The idea is i want to create new folders from words in text file. I... (4 Replies)
Discussion started by: boxstep
4 Replies

9. UNIX for Advanced & Expert Users

Help with creating script to delete log files/folders

Hi I am new to Linux / scripting language. I need to improve our Linux servers at work and looking to claim some space my deleting log files/ folders on a 5 day basis. Can someone help me with creating a script to do so. Any sample script will be helpful.:b: Regards (2 Replies)
Discussion started by: sachinksl
2 Replies

10. UNIX for Dummies Questions & Answers

Creating a sub-folder in multiple folders

Hi I've been trying to find an answer to this question and was hoping someone would be able to help me. I want to add a sub-folder to to an existing structure: for example /toys/toy_1/new /toys/toy_2/new /toys/toy_3/new There are humdreds of theses folders - what i want to do is add a... (2 Replies)
Discussion started by: LouSan
2 Replies
hx509 certificate selecting functions(3)			Heimdalx509library			  hx509 certificate selecting functions(3)

NAME
hx509 certificate selecting functions - Functions int hx509_peer_info_alloc (hx509_context context, hx509_peer_info *peer) void hx509_peer_info_free (hx509_peer_info peer) int hx509_peer_info_set_cert (hx509_peer_info peer, hx509_cert cert) int hx509_peer_info_add_cms_alg (hx509_context context, hx509_peer_info peer, const AlgorithmIdentifier *val) int hx509_peer_info_set_cms_algs (hx509_context context, hx509_peer_info peer, const AlgorithmIdentifier *val, size_t len) Detailed Description Function Documentation int hx509_peer_info_add_cms_alg (hx509_context context, hx509_peer_info peer, const AlgorithmIdentifier * val) Add an additional algorithm that the peer supports. Parameters: context A hx509 context. peer the peer to set the new algorithms for val an AlgorithmsIdentier to add Returns: An hx509 error code, see hx509_get_error_string(). int hx509_peer_info_alloc (hx509_context context, hx509_peer_info * peer) Allocate a new peer info structure an init it to default values. Parameters: context A hx509 context. peer return an allocated peer, free with hx509_peer_info_free(). Returns: An hx509 error code, see hx509_get_error_string(). void hx509_peer_info_free (hx509_peer_info peer) Free a peer info structure. Parameters: peer peer info to be freed. int hx509_peer_info_set_cert (hx509_peer_info peer, hx509_cert cert) Set the certificate that remote peer is using. Parameters: peer peer info to update cert cerificate of the remote peer. Returns: An hx509 error code, see hx509_get_error_string(). int hx509_peer_info_set_cms_algs (hx509_context context, hx509_peer_info peer, const AlgorithmIdentifier * val, size_t len) Set the algorithms that the peer supports. Parameters: context A hx509 context. peer the peer to set the new algorithms for val array of supported AlgorithmsIdentiers len length of array val. Returns: An hx509 error code, see hx509_get_error_string(). Version 1.5.2 11 Jan 2012 hx509 certificate selecting functions(3)
All times are GMT -4. The time now is 07:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy