SSLFTP is a command line FTP client that
automatically uses the secure protocols for FTP transfer.
Please
note that we have named this program SSLFTP as a generic
name, there are other applications on the internet with an
identical name and differing program functionality.
You need to have SSLFTP installed on your system, download it from the download page, and install it.
You need to have a server to connect to and a username and password with which to log in.
Example:
|
Step:
|
C:\files>sslftp sslftp> open myftpserver.com Connected to myftpserver.com 220 SurgeFTP myftpserver.com (Version 2.1z7) 234 Enabling SSL starting SSL/TLS secure protocol TLSv1 used. |
1) Start SSLFTP, and open the connection to the site name |
(secure) User: jesse 331 Password required for jesse. (secure) Password: ****** 230- Alias Real path Access 230- / f:\home\test read+write 230 User jesse logged in. |
2) Log in with username and password |
sslftp> cd files 250 CWD command successful now (/files) |
3) Change to the destination directory |
sslftp> progress on Progress Indicator On |
4) Enable the Progress indicator so that you can see the file being transfered |
sslftp> binary 200 Type set to I |
5) Set the mode of the transfer (either "ascii" for text/html file, or "binary" for images,zips,etc...) |
sslftp> put sslftpi2-2b_windows.exe
|
6) Issue the put command with the file that you want to send. |
226 Transfer sslftpi2-2b_windows.exe complete. |
7) Look at the return value to see if it succeeded or not |
sslftp> bye C:\files> |
8) Close the connection |
You need to have a server to connect to and a username and
password with which to log in.
If you dont have a username and password, use "anonymous" as the
username and anything for a password.
Exapmle:
|
Step:
|
c:\files> c:\files>sslftp netwinsite.com -a -version -nossl sslftp Version 2.2b built on Jan 24 2003 Connected to netwinsite.com 220 SurgeFTP netwin1 (Version 2.1z7) 331 Guest login ok, send your complete e-mail address as password. 230- Alias Real path Access 230- / /disk2/ftp read 230 User anonymous logged in. Successful "anonymous" login |
1) Start SSLFTP, and open the connection to the site name 2)Log in with username and password (done with -a flag for anonymous login) |
ftp> cd pub/surgeftp 250 CWD command successful now (/pub/surgeftp) |
3) Change to the source directory |
ftp> progress on Progress Indicator On |
4) Enable the Progress indicator so that you can see the file being transfered |
ftp> status *2-1z7* 213-status of *2-1z7*: -rw-r--r-- 1 jesseftp jesseftp 2644656 Jan 15 20:43 surgeftp2-1z7_freebsd4.tar.Z -rw-r--r-- 1 jesseftp jesseftp 2834209 Jan 15 18:40 surgeftp2-1z7_linuxlibc6.tar.Z -rw-r--r-- 1 jesseftp jesseftp 2586112 Jan 15 22:43 surgeftp2-1z7_nt.exe -rw-r--r-- 1 jesseftp jesseftp 3380583 Jan 15 22:42 surgeftp2-1z7_solaris7.tar.Z 213 End of status |
Here I'm looking for the file I want, listing files of a specific version. |
ftp> bin 200 Type set to I |
5)Set the mode of the transfer, I want binary mode! |
ftp> autoconfirm on Automatic confirm is On. |
I set the auto confirm to ON, so I get confirmation I got the file correctly. |
ftp> get surgeftp2-1z7_nt.exe progress (\) 2,586,112 bytes, 100.00%, 143.13 Kb/sec43.05 Kb/sec |
Issue the get command with the file that you want to receive. |
226 Transfer complete. -rw-r--r-- 1 jesseftp jesseftp 2586112 Jan 15 22:43 surgeftp2-1z7_nt.exe File sizes match! (2,586,112 bytes) |
7)Look at the return value to see if it succeeded or not: 226 Transfer complete. - the server sent the file right |
ftp> bye 221 Closing connection - goodbye! Channel Closed. Bye :-) |
8) Close the connection |
C:\files>dir *exe Volume in drive C is Local Disk Volume Serial Number is 6CC5-23A2 Directory of C:\files 01/23/2003 03:01p 1,060,271 sslftp.exe C:\files> |
I do a dos "dir" command to see the file I downloaded, its there :-) |
Command | Description |
/? |
Print Command line help |
? | Synonym for "help" |
autoconfirm | Toggle automatic check that file transfered all bytes (off by default) |
autoretry | Toggle Automatically retry uploading or downloading a file that did not transfer correctly (on by default) |
ascii | Set ascii transfer mode |
append | Continue an interupted upload. |
binary | Set binary transfer mode |
bye | Close any open FTP connection and exit SSLFTP |
cd | Change remote working directory |
compare | Compare local and remote file size. |
debug | Toggle bebug information. |
dir | List all remote files in remote current working directory with full details |
close | Close any open FTP session, SSLFTP does not exit. |
delete | Delete remote file |
exit | Synonym for "bye" |
fc | Compare local and remote file size. Works with ascii file size too. |
get | Get file from remote to local. |
hash | Toggle hashing on or off, or to specific value, when on, prints one "#" symbol for a certain amount of KB transfered. A very simple progress indicator, see "Progress" |
help | Display Help information |
implicit | Set implicit ftp port for ftp protocol, valid for next open command. |
literal | Send a raw FTP command. |
ls | List remote files in current remote working directory |
lcd | Local change directory. Use with parameter "." so that you do not change back to original location from where you started sslftp. |
lpwd | Local print current working directory - see where you are. |
memory | Toggle remembering of preferences. |
mdelete | Delete multiple remote files with wildcards |
mget | Get multiple files (remote to local), with wildcards. |
mkdir | Create remote directory. |
mput | Put multiple files (local to remote), with wildcards. |
open | Connect to a remote site [[username[:password]@]sitename[:port]] |
protocol | Choose the ssl protocols to use for the next "open". |
progress | Toggles Progress indicator, for each file transfer, includes bytes transfered and data rate, percentage. |
prompt | Toggle confirmation requests (e.g. during mget) |
passive | Toggle Passive Mode. Use passive mode from behind a Firewall. |
put | Put a file up to the remote site. |
pwd | Print remote current working directory. |
quit | Synonym for "bye" |
rmdir | Remove remote directory. |
remotehelp | Display remote server help, may allow interesting commands, access them with Literal command. |
rename | Change the name of the remote file. |
restart | Continue downloading an interupted get operation. |
save | Save current login details in netrc file. |
send | Synonym for "put" |
simple | Toggles showing FTP codes |
status | Status of the current connection and FTP server. |
user | Start login with this username, must have open conection but not logged in for command to work. |
[[username[:password]@]sitename[:port]] | Optionally connect to "sitename" with username and optionall password. If not entered here you will be prompted for username/password. The symbol '@' is allowed in the password parameter. If port is 990 - 999 then implicit ftp protocol is used. |
-a | Anonymous login, use with [sitename] to save typing |
-asksave | Ask if you want to save login details in netrc file |
-d | Print debug information |
-i | Don't prompt for confirmations (e.g. during mput) |
-implicit_port n | Specify port for implicit ftp connection (usually 990 or 996) |
-n | Disable auto login from netrc file |
-record filename | Record all typed commands and save them in to the file. |
-run filename | Plays back commands saved in the file. |
-s:filename | Same as -run option |
-script filename | Same as -run option |
-nossl | Don't attempt to use SSL encryption |
-SSLv2 | Use only this Protocol for SSL layer |
-SSLv3 | Use only this Protocol for SSL layer |
-TLSv1 | Use only this Protocol for SSL layer |
-version | Print version number |
run
sslftp with -? or /? or -help to see list of help commands.
FTP Transfer Mode: based of file extension (file suffix)
MODE: ASCII
|
MODE: Binary
|
Text Files: .txt .rtf | Picture Files: .jpg .jpeg .gif .png .pic .bmp .tga .tif .tiff |
HTML Files: .html .htm .shtml .asp | Movie Files: .mov .mpg .mpeg .avi |
Script Files: .cmd .sh .pl .bat | Audio Files: .wav .mp3 .ogg .mod .xm .s3m |
Archive Files: .zip .Z .gz .tgz | |
Executable Files: .exe .com .cgi |
Please email
We will attempt to fix it
If you can retry the actions that you performed with
"debug" enabled (type in "debug"