Sponsored Content
Full Discussion: uploading
Top Forums UNIX for Dummies Questions & Answers uploading Post 40303 by davidg on Friday 12th of September 2003 09:28:08 AM
Old 09-12-2003
Hi,

A telnet is a type of connection from server a to server b.
FTP is another one, rcp is also another one. Telnet gives you a shell so that allowes you to type commands.

Ftp is a kind of a "shell"that allows you to put or get data. rcp is a mechanism that allows you to copy over data. All work on different ports :

Telnet = port 21
ftp = port 23
cp (remsh/shell) = port 514

Just to let you understand what you are doing ones logging into a system using telnet. It's completely different from Windows.

Regs David
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Perl Uploading Files

Using perl 5.8.0, Linux 2.4.20-30.9, RedHat 9.0. We have many .cgi's that allow privileged users to upload files to the server through a web browser. We've had these .cgi's for years and have never had any problems with them. Recently the files being uploaded are sometimes being given 600... (16 Replies)
Discussion started by: sstevens
16 Replies

2. Shell Programming and Scripting

uploading directories via SFTP

Hello All, Is there a way to upload whole directories to a machine using sftp (scp is not an option)? I have to use sftp because the machine that I am connecting to only has SFTP abilities (uploading from a linux box to a windows box). Currently I am automating a copy however right now I am... (2 Replies)
Discussion started by: mab623
2 Replies

3. UNIX for Dummies Questions & Answers

help uploading directories with SFTP

Hi, I am a newbie and not really familiar with commands, I have searched the forum, but there was only one thread. That thread suggested compressing it and then decompressing it. So I am wondering, what format do I compress it to, and how do I decompress it once I uploaded it from within SFTP... (4 Replies)
Discussion started by: greetea
4 Replies

4. Shell Programming and Scripting

Issue in uploading file using sftp

Hi I'm using this script to upload a file from local system to sftp server. But in the log file i'm getting an error "Error during upload" Can you please help me out ... ### CONFIGURATION LOCAL_DIR=/abc/out FILE_MASK="File*.txt" LOG_DIR=/abc/error/File_`date "+%Y%m%d%H%M%S"`.LOG... (3 Replies)
Discussion started by: Jaychandra
3 Replies

5. Shell Programming and Scripting

to block the files uploading via the port

Hi Folks, I am not good in shell scripting. Please help me with my problem. Is it possible to block the file named "ss.cgi" using the port 25 to upload. (4 Replies)
Discussion started by: gsiva
4 Replies

6. Shell Programming and Scripting

Perl , uploading empty file.

Hi The below script used to work fine. Suddenly it's uploading empty file. I am very new to perl. Please help me to find out the problem. #!/usr/bin/perl #script: upload.pl use CGI qw/:standard/; print header, start_html('File upload'); print_form(); print_results() if... (2 Replies)
Discussion started by: Anupam_Halder
2 Replies

7. UNIX for Advanced & Expert Users

SFTP Resticting Only Uploading Of A File

I have setup our SFTP server: SFTP Setup: /etc/ssh/sshd_config: Subsystem sftp internal-sftp Match Group sftpusers PasswordAuthentication yes ChrootDirectory /srv/sftponly AllowTCPForwarding no X11Forwarding no ForceCommand internal-sftp Adding the... (5 Replies)
Discussion started by: metallica1973
5 Replies

8. UNIX for Dummies Questions & Answers

Plowshare Command In Uploading Files

OK i am completely new to this stuff!! let me start from the beginning!!! I Am connected to Whatbox.ca Via SSH!! Then I installed plowshare using their guide perfectly Now They Told Me To refer Plowshare site's Command list for uploading any files to Various... (4 Replies)
Discussion started by: anime12345
4 Replies

9. Web Development

Uploading files via php

I used the following code, which I found on the internet to upload files. <!-- The data encoding type, enctype, MUST be specified as below --> <form enctype="multipart/form-data" action="upload2.php" method="POST"> <!-- MAX_FILE_SIZE must precede the file input field --> <input... (2 Replies)
Discussion started by: jgt
2 Replies
dp(4)							     Kernel Interfaces Manual							     dp(4)

NAME
dp - dedicated ports file used by DDFA software and Telnet port identification feature DESCRIPTION
The file has two uses: The file is used by the Datacommunications and Terminal Controller Device File Access (DDFA) software to allow terminal server ports to be programmatically accessed from HP-UX applications in the same way as devices connected directly to the HP-UX sys- tem. It contains a one-line entry for each configured terminal server port. The file contains the information the DDFA software needs to set up and manage an outbound connection to a specified terminal server port. The file is parsed by the Dedicated Port Parser which spawns an Outbound Connection Daemon for each outbound connection specified in the file. The file is used by the HP-UX telnet daemon to identify the calling port and board of a telnet connection from an HP Datacommuni- cations and Terminal Controller (DTC). At connection time, the host negotiates the telnet environment option and the DTC replies with the port and board number of the connecting device. maps the port and board numbers to the well-known name for the device, which has previously been con- figured in the file. Datacommunications and Terminal Controller Device File Access For outbound connections, an entry should have the following format: The exact details of each field are given below. Telnet Port Identification To configure the file for using the Telnet port identification feature, the default file should be copied to a new file and the copy con- figured with the appropriate values for the incoming connections. The recommended procedure is to create a directory to hold the file and the modified port configuration files. An entry for this purpose should have the following format: The exact details of each field are given below. Configuration Information There are three ways to specify a terminal server port: o Explicitly specify its IP address. o Specify the node name or the IP address of the DTC then specify the board and port. o Specify the node name or the IP address of the terminal server and the TCP port service address of the port. Comments in the file can be appended by starting them with a character. Everything after the is ignored by the parser. Fields in the file are separated by space characters. See ddfa(7) for more information on how to configure the DDFA software. The fields of an entry of the file are as follows: dtc_name This field is the node name or the IP address of the terminal server being accessed or the IP address of the port on the terminal server. A node name must be defined in a name database. This field contains the terminal server port address with the parts separated by the character. It is not necessary to pad the values with leading zeros. The port address is not checked by but is checked by Valid values are 0 through 7 for board, and 0 through 31 for port (these restrictions do not apply if the TCP port service address is specified instead). If the dtc_name field explicitly defines the node name or the IP address of the terminal server port, the value in the field must be (use or If the field is of the form where n is a decimal number, n is assumed to be the TCP port service address and it is used when the connection is established. pseudonym This field is the absolute path of the device file known to the system and the end-user application. The device file name portion of the path name is limited to 14 characters. pc_file_path This field is the path to a port configuration file which contains the configuration information for the terminal server port. This field is mandatory for outbound connections as uses the presence of this field as its flag to spawn a daemon for the entry. log_level This field is the logging level for the particular and it determines the severity of messages sent to The logging levels (and how they relate to system logging levels) are as follows: Log only LOG_CRIT messages. Log only LOG_CRIT and LOG_ERR messages. Log only LOG_CRIT, LOG_ERR, and LOG_WARNING messages. Log all messages. It is optional and may only be specified for outbound connections. If it is omitted, the logging level is set to 1. EXAMPLES
The following examples illustrate file entry syntax. A printer is connected to port 1 of board 3 of a DTC with the IP address 11.234.87.123. The device attached to the port can be accessed with the HP-UX spooler by using the device file A printer is connected to a terminal server port with IP address 11.234.87.124. The field contains The device attached to the port can be accessed with the HP-UX spooler by using the device file A printer is connected to a port accessed with TCP port service address 5001 of a terminal server with the IP address 11.234.87.215. The device attached to the port can be accessed with the HP-UX spooler by using the device file A terminal is connected to port 1 of board 2 of a DTC with the IP address 11.234.87.215 and wishes to use Telnet port identification. WARNINGS
In order to ensure that commands (such as ps) display the correct device file name (that is, the pseudonym), all pseudonyms should be placed into the directory If pseudonyms are not specified for placement in this directory, the correct display of device file names with many commands is not guaranteed. In addition, in order to ensure that commands (such as and work correctly, each pseudonym must be unique in its first 17 characters (including the directory prefix If pseudonyms are not unique in their first 17 characters, the correct functioning of many commands is not guaranteed. FILES
SEE ALSO
dpp(1M), ocd(1M), ocdebug(1M), syslog(3C), pcf(4), ddfa(7). dp(4)
All times are GMT -4. The time now is 07:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy