Friday, February 14

FTP

This one is used to copy the file to server or copy from server

Here we are discussing copy the file to server.

Open an command prompt,
Goto the file location, run the following commands.
  
D:\home\files'>'ftp SERVER_NAME
Connected to SERVER_NAME.
220 SERVER_NAME FTP server (Version wu-2.6.2+Sun) ready.
User (SERVER_NAME:(none)): KRISHNA_USERNAME
331 Password required for savvion.
Password: *******
230 User KRISHNA-SERVER logged in.
ftp'>' bin
200 Type set to I.
ftp'>' hash
Hash mark printing On  ftp: (2048 bytes/hash mark) .
ftp'>' cd /WEBLOGIC-HOME/APPS/KRISHNA/FILES/ 
250 CWD command successful.
ftp'>' get FILE_NAME
200 PORT command successful.
150 Opening BINARY mode data connection for FILE (498 bytes).

226 Transfer complete.
ftp: 498 bytes received in 0.00Seconds 498000.00Kbytes/sec.
ftp'>' bye
221-You have transferred 498 bytes in 1 files.
221-Total traffic for this session was 1001 bytes in 1 transfers.
221-Thank you for using the FTP service on KRISHNA-SERVER.

221 Goodbye.


Note: if you want to copy from server just use 'put' command.

No comments:

Post a Comment