09-26-2011
Quote:
Originally Posted by
Dev_Dev
I get this error saying "Connection closed by remote host.", I'm able to connect using the GUI utility "WinSCP", this works well.
FTP is not SCP.
If you need something scriptable for SCP, try
pscp. It can take a password on the commandline instead of asking for one later.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi!
Does anyone of you know another good ftp command line Client like Midnight Commander? (not /usr/bin/ftp)
Thanks. (5 Replies)
Discussion started by: donald1111
5 Replies
2. UNIX for Advanced & Expert Users
I'm looking for a FTP client that is similar to NCFTP in that I can run a full ftp command in one line without needing to access the client first then typing the ftp commands.
Very simple request but I can't find any other tool like that, I have downloaded Kermit thinking I can use it to tranfer... (3 Replies)
Discussion started by: tamkag
3 Replies
3. Programming
HI
I have a messaging s/w daemon(TIBCO rvrd) provided by vendor which will accept connections from various clients and routes messages to the destinations. In order to route it internally uses two ports(one tcp adn one udp).
I want to know on which port(tcp/udp) it is transmitting... (3 Replies)
Discussion started by: axes
3 Replies
4. Programming
I'm writing a monitoring application. I'd like to periodically get the information provided by the 'top' command line utility from within my code and write the output of 'top' to a file. Wondering if anyone has already done something like this.
Doing
system("top > someFile");
does not create... (6 Replies)
Discussion started by: antoniomorandi
6 Replies
5. UNIX for Dummies Questions & Answers
Hello,
Is there a way to upload a directory via ftp in the command line in a single line? I'd be looking for something like this:
ftp -username me -password 12345 /Users/me/mywebsitefolder /publichtml/
But I can't figure out the proper syntax.
Thank you for any help.
-Grey (1 Reply)
Discussion started by: wellington_grey
1 Replies
6. Linux
Hi,
What else is the dot used beside relative filepaths in bash? Is it a shell utility as well?
No man entry for dot (.)... (3 Replies)
Discussion started by: varelg
3 Replies
7. Shell Programming and Scripting
To read/write to a DB from Java or Perl, you usually have to install/reference several drivers and write a whole bunch of boilerplate DB access code.
I'm curious if someone has written a command line utility for Unix/Linux for simple database access for the major providers, something like:
... (3 Replies)
Discussion started by: furashgf
3 Replies
8. Shell Programming and Scripting
Hi ,
I am writing script to copy some files and folders . I am trying to use if command to check if folder exists and then copy in that folder but if command is not working:
if
then
lcd $home_directory/sequences
cd sequences
mput *
else
echo "Not a Directory"
fi
... (5 Replies)
Discussion started by: ankush_mehra
5 Replies
9. Shell Programming and Scripting
Hi Everyone!
I am facing an issue in running a command line utility from the CRON.
This utility displays IPC statistics on UNIX message queues: The "queue name" and the "count" of messages in the queue.
When running this utility from prompt, it will provide an output on the screen, like the... (4 Replies)
Discussion started by: vai_sh
4 Replies
psftp(1) PuTTY tool suite psftp(1)
NAME
psftp - interactive SFTP (secure file transfer protocol) client
SYNOPSIS
psftp [options] [user@]host
DESCRIPTION
psftp is an interactive text-based client for the SSH-based SFTP (secure file transfer) protocol.
OPTIONS
The command-line options supported by psftp are:
-V Show version information and exit.
-pgpfp Display the fingerprints of the PuTTY PGP Master Keys and exit, to aid in verifying new files released by the PuTTY team.
-b batchfile
Use specified batchfile.
-bc Output batchfile commands.
-be Don't stop batchfile processing on errors.
-v Show verbose messages.
-load session
Load settings from saved session.
-P port
Connect to port port.
-l user
Set remote username to user.
-batch Disable interactive prompts.
-pw password
Set remote password to password. CAUTION: this will likely make the password visible to other users of the local machine (via com-
mands such as `w').
-1 Force use of SSH protocol version 1.
-2 Force use of SSH protocol version 2.
-C Enable SSH compression.
-i path
Private key file for authentication.
COMMANDS
For a list of commands available inside psftp, type help at the psftp> prompt.
MORE INFORMATION
For more information on psftp it's probably best to go and look at the manual on the PuTTY web page:
http://www.chiark.greenend.org.uk/~sgtatham/putty/
BUGS
This man page isn't terribly complete. See the above web link for better documentation.
PuTTY tool suite 2004-03-24 psftp(1)