Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: bill
I am stuck without my laptop out of town and I need to edit some files on my server. I have putty installed on a winXP box and I am able to login via SSH but I hate using the VI editor on the server and want to use a different one on this windows box.
I can't FTP and I can't remember or find how to transfer files using either putty.. which I think you can't do, but maybe through command line?
Anyone know how to do a transfer with either putty or command line in this situation?
I use PSFTP for transfer files in batches from a dos box. For a gui interface download WINSCP (from winscp.net). This is a file explorer / norton commander style secure file transfer app.
As for using vi try
[edited by: Frank_Rizzo at 9:11 pm (utc) on Feb. 27, 2008]
For a gui interface download WINSCP (from winscp.net)
This is exciting news for me, if I'm understanding it correctly.
I'd understood that, for security reasons, SSH could work on a command line interface only. Secure CRT and Putty were two programs recommended to me. Since I haven't mastered SSH syntax, I'd love to use a Norton Commander-like interface. It's easy, and it's a classic interface that I use a lot.
Can WINSCP work as an SSH client with the Commander interface? It's hard to tell from the WINSCP faqs, since I'm not familiar with the various protocols it handles.
I'd understood that, for security reasons, SSH could work on a command line interface only.
Well, not quite. Secure shell (SSH) FTP or SFTP as it is commonly called is built into the GUI client called Filezilla. As a matter of fact
fzsftp.exeis the executable SFTP module for FileZilla based on PuTTY's psftp component.
Demaestro, if you type "help" at the PuTTY command line you will see your command line options. You can use either full paths for the source and destination files or you can change directories (local change directory as well as remote change directory) to get the appropriate "from" documents(s) over to the corresponding location on your remote server.
As far as SSH goes, you can manually invoke FTP from a command line to send a file to another server or use WGET to quickly grab a file.
One way to accomplish downloading from an SSH client is to make a gzip'd tar file of whatever you want to download. Move it to a public HTTP area and then download the file in your browser and delete it from the server afterwards.
Now, for something really cheesy:
You can edit text files locally and "upload" those text files in SSH by pasting them into a blank VI session and then saving the file.
Besides, you can FTP from any windows machine without downloading or installing anything.
Just drop into the Windows command line interface and when you get a C: prompt type in that magic word... FTP and hit return.
ftp> login example.com
User <example.com>: user name
ftp> ? (shows all commands)
Now you can view files, change directories, PUT or GET to upload/download then...
and you're done :)
Now to drift off topic about the FTP clients others discussed:
FWIW, I use a commercial FTP program because it uses multiple threads to upload and download so I can fully max out my cable modem and bring 100MB of database files from my server to my local machine in just a couple of minutes.
Likewise, I can upload hundreds of small files in very little time.
To put it bluntly, the cost of the software was completely justified for all the time I saved transferring files using older FTP clients.
Most stuff like this comes with a 30 day free eval so you can install it anywhere and use it for free in a pinch.
[edited by: incrediBILL at 9:39 pm (utc) on April 8, 2008]
I ended up using pscp though. My issue was that I didn't have the PSCP file in my windows folder and so the command wasn't found anywhere obviously. I downloaded it from Putty and put it in my Windows folder and now I can use it from command line or my SSH and it works nicely.
There are two things I really like about Filezilla that may not be as evident as the obvious convenience of the graphical user interface. First, you can download and set the entire thing up to run off a USB stick. You can take it with you, even without your laptop! I recommend a secured partition on a secured USB memory stick. Second, you can use an XML file to retain all your settings. This makes it really easy for sharing with other developers in a multi-developer environment.