The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here.


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
code that reads commands from the standard i/p and executes the commands Phrozen Smoke High Level Programming 4 01-21-2007 10:06 PM
need help with some commands please mujtba UNIX for Dummies Questions & Answers 2 01-14-2005 10:49 AM
sed commands dbrundrett Shell Programming and Scripting 7 09-28-2004 02:11 PM
commands kironpmullamkuz Security 2 06-27-2002 08:45 PM
BDS Commands bbutler3295 UNIX for Dummies Questions & Answers 3 03-04-2002 04:28 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-06-2007
Registered User
 

Join Date: Aug 2002
Location: London, England
Posts: 84
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Question ftp dir and pwd commands

Hi,

I have a conenction to remote server that I'm sending files too via FTP.

The problem I have is that when the file gets delivered it is 0 (zero) size.

I've manually connected and logged on. The only command I can successfully execute is pwd. When I do a dir or a put command it will hang until the connection times out.

I have tried extending the time, ensured the permissions are set and that there is disk space. Any ideas how I can write a zero length file, list the path but not be able to put a full file or list the directory?

Thanks in advance
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 12-06-2007
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,069
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Sounds like an issue on the FTP side, something is not setup properly, since you cannot execute simple commands. What is the FTP implementation and the OS ?
Reply With Quote
  #3 (permalink)  
Old 12-06-2007
Registered User
 

Join Date: Dec 2005
Posts: 10
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Isn't ftp setup to encode the transmission to ASCII? Try send this as a binary file - that is more thorough.
ftp> bin
Reply With Quote
  #4 (permalink)  
Old 12-06-2007
Registered User
 

Join Date: Aug 2002
Location: London, England
Posts: 84
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Hi,

We now have a number of feeds that are being affected???? going to various OS types (Windows, SUN, HP) at various hosting sites.

I'm thinking that there may be a firewall issue on the return leg (maybe ) that is rejecting the return packets (again maybe not 100% sure how the ftp protocol works).


If I issue a "put" command does the recieving end issue an accept packet before we transfer data? if it does then how is it possible to issue a pwd and get a response????

Cheers and beers
Reply With Quote
  #5 (permalink)  
Old 12-06-2007
Registered User
 

Join Date: Oct 2007
Posts: 69
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Try to use ftp with "-v" option.
It gives the full details and try to find out what went wrong.
Reply With Quote
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 03:26 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102