Sponsored Content
Operating Systems AIX Large file move from one server to another Post 302400949 by tfort73 on Thursday 4th of March 2010 02:58:29 PM
Old 03-04-2010
I tared the file and tried to scp the file over but ran into permission issues. The directory that the file sits in is an oracle dir. When I try to run the scp2 command I get the following error:

PHP Code:
scp2warningstatBAN8TEST.tar (src): unspecified failure (server msg'syserr: Value too large to be stored in data type, file: /u02/oradata/BAN8TEST.tar'
I think it's telling me that the destination directory is to small for this file. But the direcory is big enough at least 4x's.

My command:
PHP Code:
scp2 BAN8TEST.tar ServerA:/u02/ban8_dbf 
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to move a file from one server to another server using FTP in shell script?

I have a file --> file1.txt i need to copy this file to another server using FTP....the 2 servers are server1 and server2..may i know how to write a script that can do this? thanks in advance! Im a newbie to this... (4 Replies)
Discussion started by: forevercalz
4 Replies

2. UNIX for Dummies Questions & Answers

Move Large files

Hi, Im running (on AIX 5.2) a script which moves 16 large files (up to 1 Go each). It uses the 'mv' command and runs during 30 minutes. I would like to improve this by using something else faster. Any ideas ? Thx in advance ! T (8 Replies)
Discussion started by: tony_soprano
8 Replies

3. UNIX for Dummies Questions & Answers

Move file from 1 server to another

I have built out 2 servers on the same LAN. I'm connecting with ssh from my laptop remotely. I need to copy a file from one server to another. How do I do that? I'd also like to know how to copy a directory. thanks. (11 Replies)
Discussion started by: woody62
11 Replies

4. Shell Programming and Scripting

Batch job in unix server to move the pdf file from unix to windows.

Hi Experts, I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers. Could some body provide the inputs for this. and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies

5. AIX

Large Data move from Win to AIX

Hi All, I have a requirement to move a large amount of data *approx 160 GB* from a windows formatted SAN to AIX. The data is made up of several hundred thousand small files. Does anyone have a recommendation for the best tool or best procedure for this? Regards, Neil (2 Replies)
Discussion started by: stewartna77
2 Replies

6. Shell Programming and Scripting

remove the special characters and move the file into another server

(5 Replies)
Discussion started by: number10
5 Replies

7. Shell Programming and Scripting

How to move the older than 30 file to another ftp server

Hi All I need to move the older than 30 days file to another ftp server. I have source structure like this Files folder Folder1 Folder2 Folder3 I need to create same Target structure and I need to move the older than 30 day file to another ftp server, can you please suggest me how I develop... (1 Reply)
Discussion started by: murari83.ds
1 Replies
OPENDIR(3)								 1								OPENDIR(3)

opendir - Open directory handle

SYNOPSIS
resource opendir (string $path, [resource $context]) DESCRIPTION
Opens up a directory handle to be used in subsequent closedir(3), readdir(3), and rewinddir(3) calls. PARAMETERS
o $path - The directory path that is to be opened o $context - For a description of the $context parameter, refer to the streams section of the manual. RETURN VALUES
Returns a directory handle resource on success, or FALSE on failure. If $path is not a valid directory or the directory can not be opened due to permission restrictions or filesystem errors, opendir(3) returns FALSE and generates a PHP error of level E_WARNING. You can suppress the error output of opendir(3) by prepending '@' to the front of the function name. CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.0.0 | | | | | | | $path supports the ftp:// URL wrapper. | | | | | 4.3.0 | | | | | | | $path can also be any URL which supports direc- | | | tory listing, however only the file:// URL wrap- | | | per supports this in PHP 4 | | | | +--------+---------------------------------------------------+ EXAMPLES
Example #1 opendir(3) example <?php $dir = "/etc/php5/"; // Open a known directory, and proceed to read its contents if (is_dir($dir)) { if ($dh = opendir($dir)) { while (($file = readdir($dh)) !== false) { echo "filename: $file : filetype: " . filetype($dir . $file) . " "; } closedir($dh); } } ?> The above example will output something similar to: filename: . : filetype: dir filename: .. : filetype: dir filename: apache : filetype: dir filename: cgi : filetype: dir filename: cli : filetype: dir SEE ALSO
is_dir(3), readdir(3), dir(3). PHP Documentation Group OPENDIR(3)
All times are GMT -4. The time now is 07:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy