at this point nothing happens, regardless of waiting and/or typing in other commands like ls or dir or cd <-- Does this offer any clues to my problem? Thanks in advance, J [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => <010720030822118024%flopshotSTOPSPAM@covad.net> [ref] => <300620032147181400%flopshotSTOPSPAM@covad.net> [htmlstate] => on_nl2br [postusername] => jeff in la [ip] => flopshotSTOPSPA [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 3 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> at this point nothing happens, regardless of waiting and/or > typing in other commands like ls or dir or cd <-- > > > Does this offer any clues to my problem?[/quote] Yes. It's my stab in the dark, I'm afraid. If at the point where it tries to open a data connection everything stops, then that indicates you have a firewall problem somewhere along the line. I'm also behind a router and don't have hassle (SMC Barricade - essentially equivalent to your Linksys), so I'm presuming it's the OS X firewall. I don't use the OS X firewall, so perhaps someone with more experience there can come in. However, since you're behind the Linksys anyway it might be worth having a try without the OS X firewall enabled? Cheers, Ian [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => <300620032147181400%flopshotSTOPSPAM@covad.net> <010720030822118024%flopshotSTOPSPAM@covad.net> [htmlstate] => on_nl2br [postusername] => Ian McCall [ip] => ian@eruvia.org [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 4 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> ftp problem - Mac Networking

ftp problem - Mac Networking

i am able to successfully log into a site with my username and password acknowledged and accepted... but once there, i can't seem to 'see' or do anything. simple 'dir' or 'ls' commands that should present me with the contents of my location show me nothing... i'm no unix/ftp expert, but i used to poke around a little with this stuff about ten years ago with no problem. anyone have an idea what I'm missing here? i'm IN, but i can't do anything accept abort and close the connnection. tia for any thoughts, j ps having given up on interarchy, ...

  1. #1

    Default ftp problem

    i am able to successfully log into a site with my username and password
    acknowledged and accepted... but once there, i can't seem to 'see' or
    do anything. simple 'dir' or 'ls' commands that should present me with
    the contents of my location show me nothing...

    i'm no unix/ftp expert, but i used to poke around a little with this
    stuff about ten years ago with no problem. anyone have an idea what
    I'm missing here? i'm IN, but i can't do anything accept abort and
    close the connnection.

    tia for any thoughts,
    j


    ps having given up on interarchy, i'm using terminal in os x.2.6...
    jeff in la Guest

  2. #2

    Default Re: ftp problem


    "jeff in la" <flopshotSTOPSPAMcovad.net> wrote in message
    news:300620032147181400%flopshotSTOPSPAMcovad.net ...
    > i am able to successfully log into a site with my username and password
    > acknowledged and accepted... but once there, i can't seem to 'see' or
    > do anything. simple 'dir' or 'ls' commands that should present me with
    > the contents of my location show me nothing...
    A -very- wild stab in the dark, but I've seen similar things occur when FTP
    is blocked by the firewall. Set ups exists whereby people can make the
    outgoing control connection, but the incoming data connection can never
    complete. I've seen this on both Windows and Unix boxes - it's not a
    platform-specific thing.

    Are you behind a firewall? If so, does that firewall allow FTP?



    Cheers,
    Ian


    Ian McCall Guest

  3. #3

    Default Re: ftp problem

    Ian McCall <ianeruvia.org> wrote:

    ->A -very- wild stab in the dark, but I've seen similar things occur when FTP
    ->is blocked by the firewall. Set ups exists whereby people can make the
    ->outgoing control connection, but the incoming data connection can never
    ->complete. I've seen this on both Windows and Unix boxes - it's not a
    ->platform-specific thing.
    ->
    ->Are you behind a firewall? If so, does that firewall allow FTP?

    Phil Stripling <phil_striplingcieux.zzn.com> wrote:

    ->I'd appreciate seeing a screen dump of your command and the results (edited
    ->if you wish to remove identifying information).
    ->

    Good morning, gentlemen... here's some more info that may help you (to
    help me):

    I am behind a linksys firewall/router. But I have it configured to
    "forward" ftp traffic via ext.port 21. Protocol TCP is enabled,
    Protocol UDP is not enabled (I don't know what that is)...

    Also, the built-in OS X.2.6 firewall is on.

    Here is a sample of what my terminal screen looks like:

    Last login: Tue Jul 1 08:08:32 on console
    Welcome to Darwin!
    [X-Computer:~] X% ftp blahblah.com
    Connected to blahblah.com.
    220 BulletProof FTP Server ready ...
    Name (blahblah.com:X): x
    331 Password required for complete.
    Password:
    230 User complete logged in.
    Remote system type is UNIX.
    Using binary mode to transfer files.
    ftp> ls
    500 Unknown command.
    227 Entering Passive Mode (192,168,1,2,44,209).
    ls
    200 Port command successful.
    150 Opening data connection for directory list.

    --> at this point nothing happens, regardless of waiting and/or
    typing in other commands like ls or dir or cd <--


    Does this offer any clues to my problem?

    Thanks in advance,
    J
    jeff in la Guest

  4. #4

    Default Re: ftp problem


    "jeff in la" <flopshotSTOPSPAMcovad.net> wrote in message
    news:010720030822118024%flopshotSTOPSPAMcovad.net ...
    > 200 Port command successful.
    > 150 Opening data connection for directory list.
    >
    > --> at this point nothing happens, regardless of waiting and/or
    > typing in other commands like ls or dir or cd <--
    >
    >
    > Does this offer any clues to my problem?

    Yes. It's my stab in the dark, I'm afraid. If at the point where it tries to
    open a data connection everything stops, then that indicates you have a
    firewall problem somewhere along the line. I'm also behind a router and
    don't have hassle (SMC Barricade - essentially equivalent to your Linksys),
    so I'm presuming it's the OS X firewall. I don't use the OS X firewall, so
    perhaps someone with more experience there can come in. However, since
    you're behind the Linksys anyway it might be worth having a try without the
    OS X firewall enabled?


    Cheers,
    Ian


    Ian McCall Guest

  5. #5

    Default Re: ftp problem

    Ian McCall <ianeruvia.org> wrote:

    ->Yes. It's my stab in the dark, I'm afraid. If at the point where it tries to
    ->open a data connection everything stops, then that indicates you have a
    ->firewall problem somewhere along the line. I'm also behind a router and
    ->don't have hassle (SMC Barricade - essentially equivalent to your Linksys),
    ->so I'm presuming it's the OS X firewall. I don't use the OS X firewall, so
    ->perhaps someone with more experience there can come in. However, since
    ->you're behind the Linksys anyway it might be worth having a try without the
    ->OS X firewall enabled?

    Well, turning off the OS X firewall does the trick... Thanks for the
    idea. I think I've still a got some fooling around here to do before I
    feel like I have a handle on this stuff, but you've definitely helped
    me take a big step forward -- thanks!
    jeff in la Guest

  6. #6

    Default ftp problem

    hi

    this is propably lame but i am newbie in unix.
    i start ftp service on solaris but i cant connect to it - it shows wrong
    password on logon - log root pass root's pass.
    any help? what i did :
    del hash in inetd.conf
    kill -hup inetpid

    ad



    --
    Serwis Usenet w portalu Gazeta.pl -> [url]http://www.gazeta.pl/usenet/[/url]
    ad Guest

  7. #7

    Default Re: ftp problem


    assuming you're using sol8/9/10

    #vi /etc/ftpusers

    remove the root entry if you wish to ftp as root. Don't do this though, as
    ftp sends passwords across the wire in plaintext, and you are likely to be
    haxored.

    cheers

    Sam N





    Sam N Guest

  8. #8

    Default Re: ftp problem

    jeff in la wrote:
    > Well, turning off the OS X firewall does the trick...
    I have an old 9.1 MacOS having the same problem.
    But there is no firewall around.

    Has anyone an idea? I haven't got a clue how to fix that.
    It doesn't have to be permanent, I only need it to transfer my data so I
    can retire it.

    Bruce

    Jakamara Bruce Jensen Guest

  9. #9

    Default FTP problem

    Well, I must say that I am new to working with FTP and am having problems
    despite the good help I have recieved. I have been working with
    code supplied by Janwillem Borleffs and have been able to get it to
    connect to the ftp server on my dev machine (red hat/apache). What I am
    trying to do is create a directory but the directory is not being created
    (at least I don't see it in the expected directory) from an administrative
    form so that annonomous users can upload files into it.

    I think I am missing something here.
    this
    Code:
         $ftp = fsockopen("192.168.0.219", 21, $errno, $errstr, 30);
    opens the ftp connection. This address hosts several dev sites
    including the one I need to create a directory in which I will name
    site1_root. The URL to the site on my dev machine is
    "192.168.0.219/site1_root". (what I type in the bwroser to get to the home
    page).

    This
    Code:
      fputs($ftp, "cwd /site1_root/uploads/custom");
    is
    supposed to change directories. If I understand it correctly, this code is
    writing to the handle($ftp) which should allow it to point to the proper
    folder
    where I want to create the new folder.

    Below is the code for the whole page: When try to execute it, I get no
    error msgs from the fputs command, but
    Code:
       if
    (!file_exists("../uploads/custum/".$foldername)) {
    fails and let's
    me know the folder does not exist.

    The uploads folder has permissions set to '0777' for now.

    I guess I'm all over the place in my comments here ... and I hate to ask
    this question, but why doesn't this work?

    Irvin <><
    __________________________________________________ _________

    <html>
    <head>
    <title>Untitled Doent</title>
    <meta name="robots" content="noindex">
    <meta http-equiv="Content-Type" content="text/html; cht=iso-8859-1">
    </head>

    <body>
    <?php
    $errTxt="";
    if($Submit) {
    if (!file_exists("../uploads/custum/".$foldername)) {

    $user = 'username';
    $pass = 'password';
    $dirname = "../uploads/custum/".$foldername;

    // Connect
    $ftp = fsockopen("192.168.0.219", 21, $errno, $errstr, 30);
    fputs($ftp, "cwd /site_root/uploads/custom");

    if (!$ftp) {
    echo "$errno: $errstr<br>\n";
    }else{
    // Authenticate
    if(!fputs($ftp, "user $user\r\n")) { echo "User Failed.<br>"; }
    fgets($ftp, 1024);
    if(!fputs($ftp, "pass $pass\r\n")) { echo "Pass Failed.<br>"; }
    fgets($ftp, 1024);

    // Make dir
    if(!fputs($ftp, "mkd $dirname\r\n")) { echo "MKDIR Failed.<br>"; }

    // Close
    fputs($ftp, "quit\r\n");

    fclose($ftp);
    }

    if (!file_exists("../uploads/custum/".$foldername)) {
    $errTxt.="An unidentified error was encountered while<br> trying to
    create the folder <b>'uploads/custum/$foldername'</b>.";
    }else{
    $errTxt.="<font-color='green'>The folder
    <b>'uploads/custum/$foldername'</b> was sucessfully created.</font>";
    }
    }else{
    $errTxt.="The folder <b>'uploads/custum/$foldername'</b> already esists.";
    }

    }
    ?>
    <form name="form1" method="post" action="">
    <table width="321" border="0" align="center" cellpadding="5"
    cellspacing="0" bgcolor="#CCCCCC">
    <tr bgcolor="#FFFFFF" class="mainheading">
    <td><p>Add a New Custum Folder <span class="content"><br>
    </span></p> </td>
    </tr>
    <tr class="content">
    <td align="right"><div align="center">Enter the name of the folder
    you wish to add:</div></td>
    </tr>
    <tr class="content">
    <td align="right"><div align="center">
    <input name="foldername" type="text" class="content" id="foldername"
    value="<?php echo $foldername?>" size="50">
    </div></td>
    </tr>
    <tr class="content">
    <td><div align="center">
    <input name="Submit" type="submit" class="content" value="Add
    Folder">
    </div></td>
    </tr>
    <tr class="content">
    <td><div align="center"><span class="contentBoldRed"><?php echo
    $errTxt ?></span></div></td>
    </tr>
    <tr class="content">
    <td bgcolor="#FFFFFF"><div align="center"><a href="browse.php">Return
    to Folder Contents </a></div></td>
    </tr>
    </table>

    </form>
    </body>
    </html>


    Irvin Amoraal Guest

Similar Threads

  1. contribute problem - access denied file may not existpermission problem
    By Al1973 in forum Macromedia Contribute Connection Administrtion
    Replies: 6
    Last Post: September 17th, 04:16 PM
  2. Replies: 2
    Last Post: September 30th, 12:13 PM
  3. Replies: 0
    Last Post: August 23rd, 11:56 AM
  4. Replies: 0
    Last Post: August 2nd, 03:03 PM
  5. Replies: 2
    Last Post: July 17th, 07:27 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •