homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Microsoft / Microsoft Windows OS (XP/NT/Vista/Windows 7/8/9/10)
Forum Library, Charter, Moderators: bill

Microsoft Windows OS (XP/NT/Vista/Windows 7/8/9/10) Forum

Question about Putty SSH, winXP, linux
How to transfer files

 8:11 pm on Feb 27, 2008 (gmt 0)

Hi all,

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?



 9:10 pm on Feb 27, 2008 (gmt 0)

The putty download page has PSCP and PSFTP which you can use.

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]

Robert Charlton

 5:39 am on Apr 1, 2008 (gmt 0)

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.


 5:46 am on Apr 8, 2008 (gmt 0)

WinSCP has interface options to use either a Norton Commander-like interface or one that more closely resembles Windows Explorer. From WinSCP you can open separate command line terminal interfaces like PuTTY to work within your session.


 8:49 pm on Apr 8, 2008 (gmt 0)

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.exe is 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.


 9:38 pm on Apr 8, 2008 (gmt 0)

I get stuck in a pinch all the time without the tools I'm familiar with and have a few quick hack-arounds that I use now and then.

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.

Such as:

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
Password: password
ftp> ? (shows all commands)
Now you can view files, change directories, PUT or GET to upload/download then...
ftp> close

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]


 9:46 pm on Apr 8, 2008 (gmt 0)

incrediBILL I was doing exactly the cheesy method you described and it got me by.

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.


 12:09 am on Apr 9, 2008 (gmt 0)

Glad to see you worked it out!

I've only used Putty a couple of times in emergencies so sorry I wasn't much help there.


 2:21 am on Apr 9, 2008 (gmt 0)

you can do concurrent uploads/downloads in filezilla...


 1:42 pm on Apr 10, 2008 (gmt 0)

Yes you can, and there is a setting where you can tell it how many.

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Microsoft / Microsoft Windows OS (XP/NT/Vista/Windows 7/8/9/10)
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved