FileZilla client run in command line [closed] - ftp

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
is it possible to run FileZilla client via command line and be able to set server name, user, password, FTP protocol (e.g. FTPES, SFTP), port number? i looked online and can't seem to be able to find any such command. also, i am using windows 7, i am not sure if that somehow has a smaller set of commands. thanks.

You can use some command-line arguments for FileZilla, but as far as i know, it's principally a GUI FTP client.
Otherwise, Windows have a bundled command line FTP client (FTP.exe)
The Windows Command-Line FTP Client
List of FTP commands for the Microsoft command-line FTP client

You can use ncftpput. ncftpput supports command-line file upload and it has other commands.
ex: ncftpget, ncftpls, and support auto create file folder.

Related

Need a script to open ssh connections [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
My entirely new to MAC OS.
I am using MAC Terminal to connect to Linux servers (using SSH)
Is there a way to write a .command file to connect to the Linux servers, just by executing the .bat file from desktop?
Look at ssh client configuration and key-based authentication (man ssh and man ssh_config). You can configure all that so the command reduces to ssh hostname without writing any shellscript code. You can even assign a short name to a host.
For example (in ~/.ssh/config):
host abc
hostname remotehost.domain.tld
identityfile ~/.ssh/abc.dsa
user myuserid
Assuming you've generated and uploaded the corresponding public key, you can connect with the command
ssh abc

Using windows ftp command to login with ssh key [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have google but found that what I want to do is possible using a third-party software, but can anyone answer this question:
I'm trying to ftp to linux server running sftp. I'm tryinh to connect to it automatically using a batch script. I have accomplish this using the command:
ftp -i -s:"Path to a text file containing FTP commands"
This works find however now I need to use a ssh key to authenticate is this possible using this method and no third-party software?
This is a sample of the text file being passed to the ftp command:
open "IP of server"
username
password
mget *
bye
Take a look at this very excellent tutorial on how to set up ssh keys so you do not have to use a password: http://www.linuxproblem.org/art_9.html. That will give you background on the process.
This assumes both client and server are running some flavor of unix (OSX included)!
If they are not (in your case), or if you have a non-standard configuration, then there is a pretty high probability that you will need to use third party software to hold the keys.
Once that is set up, you should use sftp instead of ftp.

Download xml file from FTP [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I want script to download xml file from ftp, already written small script for it and seems working fine, while running the script from command prompt ftp -s:script.txt. Is it possible to keep the script.txt file in some other drive and run it.
Because my script is in D\scripts drive and my command prompt defaults me to C drive,
please help.
If I'm not mistaken you can specify the full path:
ftp -s:D:\somepath\script.txt
be careful to use quotes should the path contain spaces:
ftp -s:"D:\some path with spaces\script.txt"

Alternative to Windows FTP client [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
We have a legacy system that uses the Windows FTP client with some FTP script files to manipulate files over FTP. We've found the Windows FTP client to be fairly unreliable though in regards to error handling - for example if it can't connect to the remote site it doesn't even return an error code from the commandline. And sometimes it just seems to hang altogether if the connection to the FTP server goes down midway through a file transfer.
So we're looking for an alternative. Is there a script-able commandline FTP client for Windows that will handle the existing FTP script files (written for the Windows FTP client) out of the box, but with improved error handling?
I'm not sure what your activities are surrounding your FTP usage, but if it's a build web app local and deploy to server type activities, you could try CruiseControl: http://cruisecontrol.sourceforge.net/
This might be a good replacement for FTP scripts if you're concerned about error handling.
Look up "MOVEit Freely". It's primary role is a drop-in replacement for ftp.exe to handle FTP/S, but it may also have the better behavior you're looking for.

What's a decent SFTP command-line client for windows? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Most of the windows SFTP clients (like FileZilla) seem to be GUI-based. I need something I can call from batch files.
pscp and psftp are very customizable(options) and light weight. Open source to boot.
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
WinSCP has the command line functionality:
c:\>winscp.exe /console /script=example.txt
where scripting is done in example.txt.
See http://winscp.net/eng/docs/guide_automation
Refer to http://winscp.net/eng/docs/guide_automation_advanced for details on how to use a scripting language such as Windows command interpreter/php/perl.
FileZilla does have a command line but it is limited to only opening the GUI with a pre-defined server that is in the Site Manager.
Cygwin + sftp/scp natrually
WinSCP can be called from batch file:
"C:\Program Files\WinSCP\WinSCP.exe" /console
Example commands:
option batch on
option confirm off
option transfer binary
open sftp://username#hostname:port -hostkey="ssh-rsa "
www.bitvise.com - sftpc is a good command line client also.
LFTP is great, however it is Linux only. You can find the Windows port here. Never tried though.
Achtunq, it uses Cygwin, but everything is included in the bundle.
bitvise tunnelier works really well
This little application does the job for me. I could not find another CLI based client that would access my IIS based TLS/SSL secured ftp site:
http://netwinsite.com/surgeftp/sslftp.htm
Filezilla is great and it can support command line arguments.

Resources