It cant connect to server. Maybe there are some other solution that could be used for connecting to server?
---------- Post updated at 07:22 AM ---------- Previous update was at 05:50 AM ----------
I managed to connect using this code
I want to when is connected to FTP to copy files from folder /data/*HIGH*.7z (i don't know if this is written correctly. I want to copy all files from data Folder that have word HIGH in name) and copy them to another server.
I have the following ftp script to get files from a remote location.
However, on running the script I find that I am not even able to connect to ftp server.
I am able to connect to ftp server using other GUI ftp tools like WS_FTP using the same IP.
IP used here is a dummy IP.
What can go... (3 Replies)
Hi,
I have a snoop file that I captured on a solaris machine. I ftp'd it to ftp server. How can I export this snoop file from the solaris machine or the ftp server to a windows PC so I can load it to wireshark and analyze it?
Thanks, (6 Replies)
Hello,
I tried searching through lot of threads for a solution but couldn't fetch the exact solution, so I am creating a new thread.
I am trying to connect to a FTP server
1) using a simple FTP command, it gives the error :
534 Policy requires SSL.
Login failed.
2) using SFTP... (19 Replies)
Hi,
I have two unix servers A and B. from A i am trying to use the ftp command to connect to B but I am getting the "ftp: connect: A remote host refused an attempted connect operation."
I checked the following things :
1.) Unix Server details for A and B after running the command uname -a... (3 Replies)
HI,
I need a script to find new files that created after 6:00 from /home/ugh /demo/conn /UAT/d01 and upload them into ftp server according to system date:
Please help me (1 Reply)
Hi All,
We have done new FTB setup.
I am not able to to connect to this new target server.
Here is the new setup to send files to the FTB :
- Login : FTB-TAN-DEV-SAP
- Protocol : SFTP
- Port : 54322
- Hostname : ftb-dev.apj.hp
- Env : DEV
- Target ID : 3225
I tried connecting to the... (5 Replies)
Hi All
I need to run a query on a remote database through a shell script. I have the query, I have the script ready. I have the details of the database server I need to connect to.
Now my problem here is , the server where I run the shell script is an FTP server.
->I do not have Oracle... (4 Replies)
I have a script, which connecting to remote server and first checks, if the files are there by timestamp. If not I want the script exit without error. Below is a code
TARFILE=${NAME}.tar
TARGZFILE=${NAME}.tar.gz
ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly;... (3 Replies)
Discussion started by: digioleg54
3 Replies
LEARN ABOUT SUNOS
ftprestart
ftprestart(1M) System Administration Commands ftprestart(1M)NAME
ftprestart - restart previously shutdown FTP Servers
SYNOPSIS
ftprestart [-V]
DESCRIPTION
Use the ftprestart command to restart an FTP Server previously shut down by means of ftpshut(1M). The ftprestart command reads the shutdown
capability from the ftpaccess(4) file to determine the path of the shutdown message files. It then reenables the FTP Server by removing any
shutdown message files in the anonymous and virtual FTP Server area, as well as the system wide shutdown message file.
OPTIONS
The ftprestart command supports the following options:
-V Display program copyright and version information, then terminate.
EXAMPLES
Example 1: Sample Output from ftprestart
The following example shows sample output from the ftprestart command:
example% ftprestart
ftprestart: /export/home/ftp/etc/ftpd/shutdown.msg removed.
ftprestart: /export/home/virtual1/etc/ftpd/shutdown.msg removed.
ftprestart: /etc/ftpd/shutdown.msg removed.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
FILES
/etc/ftpd/ftpaccess
/etc/ftpd/ftpservers
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWftpu |
+-----------------------------+-----------------------------+
|Interface Stability |External |
+-----------------------------+-----------------------------+
SEE ALSO ftpshut(1M), in.ftpd(1M), ftpaccess(4), ftpservers(4), attributes(5)SunOS 5.10 1 May 2003 ftprestart(1M)