Server A to Server B
# ftp B
Connected to B.
220-
220 B FTP server (Version wu-2.6.2(1) Thu Aug 3 02:08:20 EDT 2006) ready.
Name (B:root): root
331 Password required for root.
Password:
230 User root logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
ftp> status
Connected to A.
No proxy connection.
Mode: stream; Type: binary; Form: non-print; Structure: file
Passive mode: off
Verbose: on; Bell: off; Prompting: on; Globbing: on
Store unique: off; Receive unique: off
Case: off; CR stripping: on
Ntrans: off
Nmap: off
Hash mark printing: off; Use of PORT cmds: on
ftp>
ftp> cd /u/abcompress
250 CWD command successful.
ftp> lcd /u/abcompress
Local directory now /u/abcompress
ftp> pwd
257 "/u/abcompress" is current directory.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 4244104
-rwxrwxrwx 1 group 148476525 Jan 16 08:00 B4-ACTUAL-PFTDEC.Z
-rwxrwxrwx 1 group 157343980 Jan 27 11:51 Fri-EOD.Z
-rwxrwxrwx 1 group 157221480 Jan 27 11:05 Fri-POS.Z
-rwxrwxrwx 1 group 157703194 Jan 31 06:51 Mon-EOD.Z
-rwxrwxrwx 1 group 157514437 Jan 31 05:43 Mon-POS.Z
-rwxrwxrwx 1 group 147290354 Jan 2 05:11 Sat-EOD.Z
-rwxrwxrwx 1 group 146621785 Jan 2 04:54 Sat-POS.Z
-rwxrwxrwx 1 group 157670655 Feb 3 05:27 Thr-POS.Z
-rwxrwxrwx 1 group 157293293 Jan 27 05:19 Thr-EOD.Z
-rwxrwxrwx 1 group 157765169 Feb 1 06:47 Tue-EOD.Z
-rwxrwxrwx 1 group 157607567 Feb 1 06:20 Tue-POS.Z
-rwxrwxrwx 1 group 157634981 Feb 2 06:20 Wed-EOD.Z
-rwxrwxrwx 1 group 157715107 Feb 2 05:44 Wed-POS.Z
-rw-r--r-- 1 sys 85 Dec 8 06:42 abcompress.url
-rwxrwxrwx 1 group 146595043 Dec 31 10:14 fc-DEC2011.Z
ftp> put Wed-0038-EOD.Z
local: Wed-0038-EOD.Z remote: Wed-0038-EOD.Z
200 PORT command successful.
150 Opening BINARY mode data connection for Wed-0038-EOD.Z
# date
Fri Feb 3 09:55:05 Pakistan 2012
# l
total 4244104
-rwxrwxrwx 1 fwb group 157343980 Jan 27 11:51 Fri-EOD.Z
-rwxrwxrwx 1 fwb group 157221480 Jan 27 11:05 Fri-POS.Z
-rwxrwxrwx 1 fwb group 157703194 Jan 31 06:51 Mon-EOD.Z
-rwxrwxrwx 1 fwb group 157514437 Jan 31 05:43 Mon-POS.Z
-rwxrwxrwx 1 fwb group 147290354 Jan 2 05:11 Sat-EOD.Z
-rwxrwxrwx 1 fwb group 146621785 Jan 2 04:54 Sat-POS.Z
-rwxrwxrwx 1 fwb group 157670655 Feb 3 05:27 Thr-POS.Z
-rwxrwxrwx 1 fwb group 157293293 Jan 27 05:19 Thr-EOD.Z
-rwxrwxrwx 1 fwb group 157765169 Feb 1 06:47 Tue-EOD.Z
-rwxrwxrwx 1 fwb group 157607567 Feb 1 06:20 Tue-POS.Z
-rwxrwxrwx 1 fwb group 157634981 Feb 2 06:20 Wed-EOD.Z
-rwxrwxrwx 1 fwb group 157715107 Feb 2 05:44 Wed-POS.Z
-rw-r--r-- 1 root sys 0 Feb 3 09:54 Wed-0038-EOD.Z
# date
Fri Feb 3 10:10:43 Pakistan 2012
# l
total 4244104
-rwxrwxrwx 1 fwb group 157343980 Jan 27 11:51 Fri-EOD.Z
-rwxrwxrwx 1 fwb group 157221480 Jan 27 11:05 Fri-POS.Z
-rwxrwxrwx 1 fwb group 157703194 Jan 31 06:51 Mon-EOD.Z
-rwxrwxrwx 1 fwb group 157514437 Jan 31 05:43 Mon-POS.Z
-rwxrwxrwx 1 fwb group 147290354 Jan 2 05:11 Sat-EOD.Z
-rwxrwxrwx 1 fwb group 146621785 Jan 2 04:54 Sat-POS.Z
-rwxrwxrwx 1 fwb group 157670655 Feb 3 05:27 Thr-POS.Z
-rwxrwxrwx 1 fwb group 157293293 Jan 27 05:19 Thr-EOD.Z
-rwxrwxrwx 1 fwb group 157765169 Feb 1 06:47 Tue-EOD.Z
-rwxrwxrwx 1 fwb group 157607567 Feb 1 06:20 Tue-POS.Z
-rwxrwxrwx 1 fwb group 157634981 Feb 2 06:20 Wed-EOD.Z
-rwxrwxrwx 1 fwb group 157715107 Feb 2 05:44 Wed-POS.Z
-rw-r--r-- 1 root sys 0 Feb 3 09:54 Wed-0038-EOD.Z
<break by CRTL+C)
421 Service not available, remote server has closed connection
49152 bytes sent in 299.91 seconds (0.16 Kbytes/s)
bytes not transfer to server B :wall:
======================================================
Server B to Server A
# ftp A
Connected to A
220-
220 A FTP server (Version wu-2.6.2(1) Tue Feb 18 02:26:24 PST 2003)
ready.
Name (A:root): root
331 Password required for root.
Password:
230 User root logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
ftp> status
Connected to A.
No proxy connection.
Mode: stream; Type: binary; Form: non-print; Structure: file
Passive mode: off
Verbose: on; Bell: off; Prompting: on; Globbing: on
Store unique: off; Receive unique: off
Case: off; CR stripping: on
Ntrans: off
Nmap: off
Hash mark printing: off; Use of PORT cmds: on
ftp>
ftp> cd /u/abcompress
250 CWD command successful.
ftp> lcd /u/abcompress
Local directory now /u/abcompress
ftp> pwd
257 "/u/abcompress" is current directory.
ftp> put Wed-0001-010212-POS.Z
local: Wed-0001-010212-POS.Z remote: Wed-0001-POS.Z
200 PORT command successful.
150 Opening BINARY mode data connection for Wed-0001-POS.Z.
# date
Fri Feb 3 04:02:49 Pakistan 2012
# l
total 1753580
-rwxrwxrwx 1 fwb group 180500480 Jan 11 03:46 0038-0331-EOD
-rwxrwxrwx 1 fwb group 37416744 Jan 16 06:24 0038-B4-ACTUAL-PFT.Z
-rwxrwxrwx 1 fwb group 35095209 Jan 11 03:46 B4-ACTUAL-RUN-0038.Z
-rwxrwxrwx 1 fwb group 33252311 Jan 11 03:46 B4-PROFIT-Sat.Z
-rwxrwxrwx 1 fwb group 37505489 Jan 29 22:46 Fri-0038-EOD.Z
-rwxrwxrwx 1 fwb group 37494439 Jan 27 06:19 Fri-0038-POS.Z
-rwxrwxrwx 1 fwb group 37551427 Jan 30 05:25 Mon-0038-EOD.Z
-rwxrwxrwx 1 fwb group 37539238 Jan 30 05:10 Mon-0038-POS.Z
-rwxrwxrwx 1 fwb group 36603793 Jan 11 03:47 Sat-0038-EOD.Z
-rwxrwxrwx 1 fwb group 36331535 Jan 11 03:47 Sat-0038-POS.Z
-rwxrwxrwx 1 fwb group 37461545 Feb 2 06:17 Thr-0038-EOD.Z
-rwxrwxrwx 1 fwb group 37448094 Feb 2 06:05 Thr-0038-POS.Z
-rwxrwxrwx 1 fwb group 37575829 Jan 31 06:12 Tue-0038-EOD.Z
-rwxrwxrwx 1 fwb group 37545034 Jan 31 05:56 Tue-0038-POS.Z
-rw-r--r-- 1 root sys 427731 Feb 3 04:02 Wed-0001-POS.Z
bytes successfully transfer to A
ok, so i want to figure out what type of UNIX i have and in this book im reading about it, it says that i can figure out what type i have by typing the command uname in the prompt. So i did this and it came up saying Darwin?? is that part of System V UNIX or BSD or do i have LINUX? if anyone can... (2 Replies)
First off I did try google for help on this topic, didn't really find anything.
When I try to ftp from my SCO Unix box (SCO_SV servername 3.2 5.0.5 i386) to a proFTPD server within my company I get this error
Connected to 10.?.?.?.
220 ProFTPD Server ftp.hostname.com
Name (10.?.?.?:root):... (1 Reply)
I am trying to start an FTP session from my UNIX PC to a PC running XP.
I aim to run a cron to manipulate remote files on the Windows M/C.
I cannot connect to the Windows M/C when i start rthe FTP session on the UNIX box. I can do it fine the other way round.
I have set entries in /etc/hosts... (2 Replies)
I recently purchased a book titled Hacking: The Art of Exploitation. When I got it home I read the preface and found out that i shouldnt have bought it. It says the code examples in this book were done on an x86 based computer (I have a mac). Is there anything I can do to make my mac run similar to... (2 Replies)
Hi,
I am trying to connect to a distributors FTP server (which returns the prompt at the bottom of this post). Each week these people post our sales data using the same file names. When you do an ls you can see them all there for months on end. When I use my windows or linux ftp clients I can... (10 Replies)
Hi all.
I'm pretty new to this forum,hope a good time here.
issue is that
I have a SCO UNIX 5.0.5 installed on the virtual machine VMware. Configured the NIC and assigned 192.168.18.254 as it's IP,and the host OS windows XP 's IP is 192.168.18.8 ,both of them can PING each other... (4 Replies)
my problem is like this
while ftping locally it works,
but when users from WAN try the ftp services it doesnt comes
the message it displays is as follows "connection closed by remote host "
please help
Thanks (5 Replies)
I have a client running Sco-Unix 5.
They have many IP Printers setup.
One of the IP Printers is "LPJ", it has been functional for 3 weeks and then the switch died and hung up the queue. We reset the switch and restarted the jobs and they printed.
The switch went down again and we replaced the... (1 Reply)
Hi All,
can some one please help me to solve this issue, its urgent:confused:
We need to FTP a file form our Unix server to an external client FTP location.
I am trying to connect to the proxy server first and then use the below USER comment to connect to the external FTP server, and its working... (3 Replies)
hi,
Im using the following code for FTP
#!/usr/bin/ksh
ftp -v -n "10.29.45.11" << cmd
user "mahesva" "mahesva123"
get rtl.tar
quit
cmd
Below is the log when i run the above code
**********************************
Connected to 10.29.45.11.
220 (vsFTPd 2.0.1)
530 Please login with USER... (20 Replies)