06-29-2010
Oh.. i was not able to put it inside the code box. My apologies.
Anyway, my FTP script is currently in CRON so I cannot see if there was a problem during the transmission of the file. Is there a audit trail that pertains to FTP?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have got a unix server ( AIX ) and 20 clients ( windows 2000 ) . I have to transfer a file through FTP from the server to each of 20 clients daily to check the network speed.
But each time I do ftp, I have to enter username and password and then transfer the file using "put <filename>". I... (2 Replies)
Discussion started by: sharuvman
2 Replies
2. AIX
Hi,
the default ftp that comes with AIX5L is not secured as far as i know.
How to install and use the secured FTP in AIX?
Linux these days uses vsftpd daemon(very secured FTP daemon) is there VSFTPD for AIX?
if there is any where can i download it from?
thanks and regards
Pchangba (1 Reply)
Discussion started by: pchangba
1 Replies
3. AIX
Hi,
I want to configure chrooted FTP (not Proftpd) in AIX.
What are the steps to perform this configuration and which and config files in AIX to configure?
Thanks (1 Reply)
Discussion started by: imad77
1 Replies
4. AIX
Hi All
We have planned to communicate with our trading prtner via FTP.
We both have servers running on AIX. We want to exchange files with each other via FTP.
I am new to AIX. Any help appreciated:)
Thanks:) (7 Replies)
Discussion started by: user1183
7 Replies
5. AIX
Hi,
I'm trying to create a ftp script so I can make an ftp connection and start upload and download files from/to remote servers.
In this case I want to start a connection (crontab) and transfer files from localserver1 to remoteserver; remoteserver to localserver1; finally from localserver1... (3 Replies)
Discussion started by: marques_rmc
3 Replies
6. AIX
Hi,
I want to set FTP server on AIX to read only mode. I found out manual page for /etc/ftpaccess.ctl (manual page ).
I tried put readonly: ALL or
readonly: ALL
writeonly: NONE
and nothing happened (of course, I restart FTP server by stopsrc -t ftp; startsrc -t ftp) (2 Replies)
Discussion started by: henriette
2 Replies
7. AIX
Hi,
I ftpd "binary" mode into a AIX server and transferred .tar.tar files.
When i untar using "tar -xvf <filename>.tar.gz"
It shows "tar: 0511-169 A directory checksum error on media; 0 not equal to 70568."
Please Help!! (3 Replies)
Discussion started by: Priya Amaresh
3 Replies
8. Shell Programming and Scripting
I am trying to transfer logs from Aix 6.1 to a linux appliance but it is not happening from last one month if i execute the batch command by command i can execute well but if i do it in shell script it is stuck without any error.
Any one know how to generate a FTP client trace to know the issue... (10 Replies)
Discussion started by: ra8ul
10 Replies
9. Shell Programming and Scripting
Hi All,
This is the scenario:-
I am writing a script to automate FTP files from AIX to Mainframe. ( Binary mode, passive connection)
FTP the currently available files(poll a directory to find the list) and put it to mainframe in one connection instance
Verify if all the files are copied... (24 Replies)
Discussion started by: TechGyaann
24 Replies
10. AIX
This discussion thread is an extension to what was discussed in Shell scripting section.
Please refer the post for the requirement:
Requirement Post - Click Here
The whole thread - Click Here
I would like to know how I can use NDM to transfer file from AIX to Mainframe and to verify the... (3 Replies)
Discussion started by: TechGyaann
3 Replies
LEARN ABOUT PHP
ftp_set_option
FTP_SET_OPTION(3) 1 FTP_SET_OPTION(3)
ftp_set_option - Set miscellaneous runtime FTP options
SYNOPSIS
bool ftp_set_option (resource $ftp_stream, int $option, mixed $value)
DESCRIPTION
This function controls various runtime options for the specified FTP stream.
PARAMETERS
o $ftp_stream
- The link identifier of the FTP connection.
o $option
- Currently, the following options are supported:
Supported runtime FTP options
+----------------+---------------------------------------------------+
| | |
|FTP_TIMEOUT_SEC | |
| | |
| | Changes the timeout in seconds used for all net- |
| | work related functions. $value must be an integer |
| | that is greater than 0. The default timeout is 90 |
| | seconds. |
| | |
| | |
| FTP_AUTOSEEK | |
| | |
| | When enabled, GET or PUT requests with a |
| | $resumepos or $startpos parameter will first seek |
| | to the requested position within the file. This |
| | is enabled by default. |
| | |
+----------------+---------------------------------------------------+
o $value
- This parameter depends on which $option is chosen to be altered.
RETURN VALUES
Returns TRUE if the option could be set; FALSE if not. A warning message will be thrown if the $option is not supported or the passed
$value doesn't match the expected value for the given $option.
EXAMPLES
Example #1
ftp_set_option(3) example
<?php
// Set the network timeout to 10 seconds
ftp_set_option($conn_id, FTP_TIMEOUT_SEC, 10);
?>
SEE ALSO
ftp_get_option(3).
PHP Documentation Group FTP_SET_OPTION(3)