I want to know which is fast -->
FTP or SSH ?
Is there any better alternative ?
21 11263
I want to know which is fast -->
FTP or SSH ?
Is there any better alternative ?
It depends on what you are trying to do.
What are you trying to do? File sharing? Uploading? Remote shell? X11 Forwarding?
Please elaborate.
I want to upload and download some files from a remote machine.
I want to upload and download some files from a remote machine.
How remote? Is it the local LAN?
Basically FTP will be faster no matter what, if you are only trying to trasfer a file to another computer.
FTP stands for file transfer protocol
SSH stands for secure shell (note the security)
Security is great, but it slows down the transaction, very slightly probably not even noticeable.
Basically FTP will be faster no matter what, if you are only trying to trasfer a file to another computer.
FTP stands for file transfer protocol
SSH stands for secure shell (note the security)
Security is great, but it slows down the transaction, very slightly probably not even noticeable.
Welcome to The Scripts combas! Thanks for your response.
I agree entirely with your accurate summary of FTP and SSH, however, in addressing the second part of the question, there are a lot of other, quicker alternatives.
Samba can be used if the computers are on the same network. AFP is another protocol which is quicker than FTP. And if you want to get into really quick-and-dirty solutions, piping files through nc is going to be the quickest, dirtiest technique of all.
How remote? Is it the local LAN?
No its not the local LAN.
Its the distance of India and US .
You can use Secured FTP (SFTP ) instead of FTP.it is available in the net and you can download it. Some packadges include both SSH and SFTP.
With my regards
The answer is: both :) Use FTP to upload a Zip and SSH to unzip it there. If you don't have ssh connectivity you may use ZipDeploy.
Welcome to theScripts winnie.
Please refrain from placing commercial software advertisements in our message boards.
whatever it is, FTP or SSH, it also depends on the speed of your network connections.
Welcome to The Scripts combas! Thanks for your response.
I agree entirely with your accurate summary of FTP and SSH, however, in addressing the second part of the question, there are a lot of other, quicker alternatives.
Samba can be used if the computers are on the same network. AFP is another protocol which is quicker than FTP. And if you want to get into really quick-and-dirty solutions, piping files through nc is going to be the quickest, dirtiest technique of all.
Can you tell me more about AFP and piping files through nc ?
Can you tell me more about AFP and piping files through nc ?
AFP is Apple's proprietary network sharing. It works quite well, and there are utilities to use it on both Windows and Linux.
nc is the tool netcat. It is a very handy thing to know how to use.
On your server you would: -
$ nc -l 4999 | df of=filename.ext
-
and on the client you would -
$ dd if=filename.ext | nc server.com 4999
-
Be careful with this technique, as It is quite insecure. Anyone can send data between when you open the port and when the first connection closes.
AFP is Apple's proprietary network sharing. It works quite well, and there are utilities to use it on both Windows and Linux.
Is AFP available in Debian ?
nc is the tool netcat. It is a very handy thing to know how to use.
On your server you would: -
$ nc -l 4999 | df of=filename.ext
-
and on the client you would -
$ dd if=filename.ext | nc server.com 4999
-
Be careful with this technique, as It is quite insecure. Anyone can send data between when you open the port and when the first connection closes.
That means if there is a file transfer going on between two machines through a port and if a third machine also does some transfer through the same port then the file might get corrupt ?
Is AFP available in Debian ?
Dunno. Google it.
That means if there is a file transfer going on between two machines through a port and if a third machine also does some transfer through the same port then the file might get corrupt ?
No, it means if someone connects to the port before you, they could send anything and have it end up in that file.
Or, if they were watching your traffic, they could inject their own data into it.
No, it means if someone connects to the port before you, they could send anything and have it end up in that file.
But if someone is already connected to a port then how can I connect ?
That means if there is a file transfer going on between two machines through a port and if a third machine also does some transfer through the same port then the file might get corrupt ?
No it will not corrupt. Each connection to the FTP daemon is unique because of different source ports.
No it will not corrupt. Each connection to the FTP daemon is unique because of different source ports.
So what is the problem with Netcat ?
So what is the problem with Netcat ?
The netcat example presented by Motoma is typically used for network disk (OS) cloning/imaging. For your questoin, he is best position to answer. With regard to your original question about which is faster FTP or SSH. I can only say based on my experience, they are quite the same and i am talking about using passwords. (SSH can also use public keys). If SSH is using public keys, it may be a bit slower in the authentication part, but after that the data transfer speed depends on the link.
You can use Secured FTP (SFTP ) instead of FTP.it is available in the net and you can download it. Some packadges include both SSH and SFTP.
With my regards
Well, AFAIK the SFTP does not means for "Secured FTP" but rather "SSH File Transfer Protocol" and moreover does have nothing common with FTP. It's completely different protocol. On the other hand the FTPS is FTP over SSL channel (similar to HTTPS which is HTTP over SSL channel).
[removed URL]
Hi All,
This is my first ques?
can any bady tell what is the diff b/w koen shell and bash shell and cshell?
Hi All,
This is my first ques?
can any bady tell what is the diff b/w koen shell and bash shell and cshell?
You should start your own thread for this.
Have you Googled those terms?
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Uwe Mayer |
last post by:
Hi,
Using PyQt I got a QListView with about 800 entries now (but its intended to
be scalable up to about 3000).
The first column contains numerical data. Now Qt does the sorting all by its
self...
|
by: Neil |
last post by:
I have a very puzzling situation with a database. It's an Access 2000 mdb
with a SQL 7 back end, with forms bound using ODBC linked tables. At our
remote location (accessed via a T1 line) the time...
|
by: Marc Mones |
last post by:
Hello,
I'working with IBM DB2 V8.1 and CLI/ODBC. I've got a problem with the
following
statement:
********************************************************************************
SELECT...
|
by: GS |
last post by:
The stdint.h header definition mentions five integer categories,
1) exact width, eg., int32_t
2) at least as wide as, eg., int_least32_t
3) as fast as possible but at least as wide as, eg.,...
|
by: Olie |
last post by:
This post is realy to get some opinions on the best way of getting fast
comunication between multiple applications. I have scowered the web for
imformation on this subject and have just found...
|
by: javuchi |
last post by:
I just want to share some code with you, and have some comments and
improvements if you want.
This header file allocates and add and delete items of any kind of data
from a very fast array:
...
|
by: hstagni |
last post by:
Where can I find a library to created text-based windows applications?
Im looking for a library that can make windows and buttons inside
console.. Many old apps were make like this, i guess
...
|
by: Juha Nieminen |
last post by:
If I'm not completely mistaken, the only reason why std::list::size()
may be (and usually is) a linear-time operation is because they want
std::list::splice() to be a constant-time operation, and...
|
by: Vinod Sadanandan |
last post by:
Fast-Start Failover An Overview In Dataguard Environment
=============================================================================
This article describes the automatic fast start failover...
|
by: mike3 |
last post by:
Hi.
(Xposted to both comp.lang.c++ and comp.programming since I've got
questions related to both C++ language and general programming)
I've got the following C++ code. The first routine runs in...
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |