Terminal FTP questions

I have successfully been able to connect to my server using terminal. So far I can change dir., create dir. and get files. The problem I am haviung is that I cannot put files to the server from anywhere on my computer, actually to better describe this is the error message I get:
ftp> put /Users/myUserName/Desktop/sample1.php
local: /Users/myUserName/Desktop/sample1.php remote: /Users/myUserName/Desktop/sample1.php
500 Unknown command
227 Entering Passive Mode (72,22,69,91,32,22)
553-Can't open that file: No such file or directory
553 Rename/move failure: No such file or directory
ftp>
FYI: my password and username are accepted
second question/s: when should I use binary and when should I use ascii? do i just use ascii for '.txt' files and the rest use binary?

I have successfully been able to connect to my server
using terminal. So far I can change dir., create dir.
and get files. The problem I am haviung is that I
cannot put files to the server from anywhere on my
computer, actually to better describe this is the
error message I get:
ftp> put /Users/myUserName/Desktop/sample1.php
local: /Users/myUserName/Desktop/sample1.php remote:
/Users/myUserName/Desktop/sample1.php
500 Unknown command
227 Entering Passive Mode (72,22,69,91,32,22)
553-Can't open that file: No such file or directory
553 Rename/move failure: No such file or directory
ftp>
FYI: my password and username are accepted
Hmmm. What kind of computer is your server? It looks like ftp is trying to upload the file using your local path on the remote server. There are two ways to get to the local directory. First, you could just change to that directory:
<pre class="command">cd /Users/myUserName/Desktop</pre>
to use your example. Second, you can use the lcd command once you're in the ftp program:
second question/s: when should I use binary and when
should I use ascii? do i just use ascii for '.txt'
files and the rest use binary?
<pre class="command">ftp> lcd /Users/myUserName/Desktop
Local directory now /Users/myUserName/Desktop</pre>
Secondly, you should navigate to the proper directory on the remote machine using the cd and ls ftp commands. For example, suppose the server is a Linux server, and your web page goes in a public_html folder. When you log in, you might be at the root level of your account:
<pre class="command">ftp> ls
drwxr-xr-x 2 usrname group 4096 Jun 3 08:00 public_html
drwxr-xr-x 2 usrname group 4096 Mar 22 16:47 bin
ftp> cd public_html
250 CWD command successful</pre>
Then you can just put the file on the server:
<pre class="command">ftp> put sample1.php</pre>
And not have to bother with figuring out the relative paths on both sides.
charlie

Similar Messages

  • FTP question; very basic

    I don't know how to configure FTP File Transfer to start an upload to web.
    Where do i get the information to fill in the fields??
    Please help

    thank you Mike
    I¹ve heard of zenfolio and will revisit them.....I just wish it was easier
    to use Lightroom....one stop shopping is so seductive.
    nancy
    From: MikeLeone <[email protected]>
    Reply-To: <[email protected]>
    Date: Tue, 08 Dec 2009 15:15:44 -0700
    To: Nancy Dinoto <[email protected]>
    Subject: FTP question; very basic
    John Vitollo had this to say:
    Do you have a website and/or do you own your own domain name... such as
    http://forums.adobe.com/people/nancy7147.com? You'll need a website hosting
    company to serve your website to the world.
    Depends on your ISP. I'm a Comcast cable customer; they allow me to have
    a personal website. I could use that space to do it.
    In my case, I have a Flickr pro account. When it expires, I will
    probably move to Zenfolio, as I like their presentation much better. I
    can't use LR slideshows with Flickr or Zenfolio, but that's not a
    deslbreaker for me.

  • FTP question in Terminal

    I am new to the command line so I appologize if this is a silly question.
    I just wanted to know once you have logged onto an ftp server and navigated to the directory you want to "put" a file into, how to find out what your location on the local machine is. I assume that I start at my root which is why I can navigate to my desktop using "lcd Desktop". But how can I see what is on my desktop? I guess I am asking for a way to do a local ls command.
    Thanks!

    Are you saying "! ls"? Nothing happened when I tried that.
    Remote system type is UNIX.
    Using binary mode to transfer files.
    ftp> ! ls
    ftp>
    *edit
    Now it gives me this
    ftp> ! ls
    Applications Library Pictures SME
    Desktop Movies Pictures.sit Sites
    Documents Music Public Unnamed Site 1
    lol why does it work now and not before?

  • FTP question for newbie -- How to access external volume?

    I have set up an old Mac (running Tiger) as a server on my LAN; attached to this Mac are several Firewire disks. I want to use FTP (with retrospect Express) to automatically back up from another computer to these disks.
    I can successfuly mount these Firewire disks using AFP on the other computer. But when I use FTP, I seem only to access the user account I use to log in. How do I get FTP to go those Firewire disks to transfer the backup files?
    Please forgive me if this is a naive question... Thanks in advance for any advice!

    To configure the FTP server in Tiger requires creating and editing certain files using the terminal application. So if you have no prior UNIX or command line experience you may find this tricky and you would need to read the man file for ftpd.
    So I would suggest you try out PureFTP manager which is a front end application for an alternative FTP server.
    I have used this Application and found it quite straightforward to use.

  • File and FTP Question

    We have a situation where a bank places an EDI document on their FTP site and then we go and download the file and process it. We are SOA Suite customers and have been using the tools for over a year. My question is would it be recommended to tackle this problem with BPEL or ESB and the ftp adapter? The bank doesn't require any kind of acknowledgement, but I've never dealt with EDI docs before and thought B2B might do a better and more seemless job of processing the EDI doc. My other concern is that B2B is overkill for this scenario since it isn't transaction based meaning the bank will place their file a couple of times a day and not everytime there's a transaction. Hope this makes sense. Be happy to provide more info as I'm just getting started.
    Thanks for any advice.

    Ramesh,
    Thank you for the reply. My confusion is that I don't really have a trading partner to setup or specify communication. I simply need to poll an FTP site for an EDI document and process it, basically a one-sided effort. Is this possible with B2B? There is essentially no interaction with the bank and no acknowledement that needs to be sent.
    Thanks again.

  • Workflow Termination Notification Question

    I have a question regarding termination notification workflow. I am trying to create termination notifications for a server and I have to verify both worklist and email notification.
    I have checked the Set Up HRMS > Common Definitions > Self Service->Workflow Configuration and Personnel administrator role is assigned for Terminate Employee workflow. Also, in PeopleTools > Security > Roles & Permissions I have an user assigned to this role.
    In Worklist->Worklist, I only see the termination action created through Manager Self Service->Job and Personal Information->Terminate Employee and not the one using Workflow Administration->Job Information->Job Data. Also, no email is received.
    Could you give me a hint regarding this problem?

    Does anyone out there at Microsoft have accurate answers to these questions?
    Thanks!EM

  • FTPS question.

    Hi,
    If I use a FTPS connection to get a file in a server I need the FTPS only in the server that I use to get the file or I need in both servers the FTPS connection?
    Thanks for the help!

    HI,
    You need to configure the FTP server for this.
    For more have a look into SAP Note - 821267 Question No 19.
    Regards,
    Moorthy

  • Extending a VO - FTP question

    I am looking at this userguide:
    http://oracle.anilpassi.com/extend-vo-in-oa-framwork.html
    Because I have a VO on our eBusiness system that needs to be extended.
    I am new to JDeveloper, so apologies for the very silly question.
    One of the steps on the doc says:
    you need to FTP all relevant the files from $JAVA_TOP/oracle/apps/../..However, using my FTP account, I can't see anything with $JAVA_TOP listed. Could that be because I don't have access?
    If I FTP onto our Oracle server, I see folders like:
    .dt
    .java
    .SPOT
    .ssh
    .topasrecrc
    arffs1
    audit
    bin
    cdromWe have other folders corresponding to instance names - e.g.
    TESTAnd if I look in there, I can only see:
    lost+found
    oracleIs this an access issue? I'm scared of asking our DBAs because they will throw things at me, like sarcasm and scorn, for asking such things!
    Any advice much appreciated
    Thanks

    Click on oracle. Here you will find Java top.
    Like
    /u01/oracle/ InstanceNameComn / java // check for your common_TOP
    Thanks
    --Anil                                                                                                                                                                                                                                                                                               

  • Ftp question when trying to connect CS4 manually

    HI!
    I'm trying to connect CS4 manually (don't have a connection key). After putting in my ftp details, the question comes up "on the FTP server, what folder contains your website?" It then says "Contribute needs to locate your site on the FTP server:     example:/users/myfolder/public-html/"
    It then tells me that if I don't know, to contact my web administrator. I've done that, and they don't know, and just refer me to the adobe webpage which supposedly will answer the question. It doesn't.
    This seems to be an easy one to answer, but I'm totally non-techie, and if my website administrator doesn't know the answer, then I'm stuck. Can anybody help? Thanks!!

    Thanks, I worked it out in the end; when I changed webhost, the old pw
    remained but I hadn't realized because it wasn't clear, and I'm not sure
    what I'm doing...
    Sarah

  • WRT350N FTP question

    I got the WRT350N router the other day, it's running like a champ!  So far i'm still learning on how to fully get the FTP portion of it working. 
    For testing purposes, I'm using a 20gb HDD split into two 10gb partitions.  I've set both partitions to be shared.  Partition 1 shows up as NTFS2 and partition 2 shows up as NTFS3.  I've set what i thought would have worked almost like active directory, the groups permissions.  There are the default groups "admin" & "guest";  I've added 2 groups, let's say "X" & "Y".  The way i want this to work is that group "X" would have access to only NTFS2 and group "Y" have access to NTFS3.  I have 2 seperate Users setup, again let's call them "X" & "Y".  So under group management I have user "X" & admin (by default) under group "X" and same scenario for group and user "Y".  I have a 3rd user "Z" that has access to boths Partitions/Groups.  I've given full R/W permissions to user "X" in group "X" and to partition 1 and so forth and so on to user/group "Y" for partition 2.
    Hopefully I've painted a good picture on how this is set.  Now to my problem.
    - When logged in as admin and "Z" i see and have access to both partitions. 
    - When logged in as "Y" not only do have access to partition 2, but I also have access to partition 1.
    - When logged in as "X" it gives me a "permission denied" error.
    Now my question is, why does have "Y" have access to both partitions, when it's not granted that permission and is "X" restricted from seeing any of the partitions?
     Please help.
    Thank you!

    This is not about your question, but was curious if you can access the FTP partion from the Internet as well as the local network? Also does the config restore feature work?

  • Terminal SSH question

    Hi, i'm trying to SSH into my ATV2 in order to install xbmc.
    In my efforts, i managed to muck up my ssh commands in terminal.
    when i try to log in to root, i get;
    /Users//.ssh/config: line 2: Bad configuration option: as;ldfkj
    /Users//.ssh/config: line 3: Bad configuration option: j;ljk
    /Users//.ssh/config: line 4: Bad configuration option: ls
    /Users//.ssh/config: terminating, 3 bad configuration options
    What command do i need to type in order to clear out those configuration options?
    thanks in advance!!

    Edit: I just looked at the original post again, because I was wondering how SSH could be of any use to someone who doesn't understand the shell, and I realized that you're asking for help in hacking a jailbroken AppleTV. This isn't the place for that. Go back to the site where you found the hack and ask your question there.

  • Terminal Server Question

    I have inherited a system that has a terminal server set up for remote connections. How do I get into the individual lines?
    It is a:
    dc4-tsv-02#sh inv
    NAME: "2821 chassis", DESCR: "2821 chassis"
    PID: CISCO2821 , VID: V04 , SN: FTX1222A00S
    NAME: "High Speed Wan Interface card with 16 RS232 async ports(HWIC-16A)", DESCR: "High Speed Wan Interface card with 16 RS232 async ports(HWIC-16A)"
    PID: , VID: V01 , SN: FOC12114NTR
    NAME: "High Speed Wan Interface card with 16 RS232 async ports(HWIC-16A)", DESCR: "High Speed Wan Interface card with 16 RS232 async ports(HWIC-16A)"
    PID: , VID: V01 , SN: FOC12114NXH
    NAME: "Virtual Private Network (VPN) Module", DESCR: "Encryption AIM Element"
    PID: AIM-VPN/EPII-PLUS , VID: V02 , SN: FOC12184MGV
    and is running:
    dc4-tsv-02#sh ver
    Cisco IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version 12.4(18a), RELEASE SOFTWARE (fc3)
    I looked at the confguration guide at javascript:newWin('http://www.cisco.com/en/US/tech/tk801/tk36/technologies_configuration_example09186a008014f8e7.shtml') and my TS does not have any of the "ip host" commands.
    Is this important given that my connections are all async consoles? What is the syntax for connecting to the individual async lines? I tried connect, etc. to no avail. The lines are all set up like this one:
    interface Async0/0/0
    no ip address
    encapsulation slip
    The lines appear to be live:
    dc4-tsv-02#sh line
    Tty Line Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
    0 0 CTY - - - - - 0 0 0/0 -
    1 1 AUX 9600/9600 - - - - - 0 0 0/0 -
    0/0/0 2 TTY 9600/9600 - - - - - 4 0 0/0 -
    0/0/1 3 TTY 9600/9600 - - - - - 1 0 0/0 -
    0/0/2 4 TTY 9600/9600 - - - - - 1 0 0/0 -
    0/0/3 5 TTY 9600/9600 - - - - - 1 0 0/0 -
    0/0/4 6 TTY 9600/9600 - - - - - 4 12674 0/0 -
    0/0/5 7 TTY 9600/9600 - - - - - 1 140 0/0 -
    0/0/6 8 TTY 9600/9600 - - - - - 1 0 0/0 -
    0/0/7 9 TTY 9600/9600 - - - - - 2 0 0/0 -
    0/0/8 10 TTY 9600/9600 - - - - - 2 2619168 0/0 -
    0/0/9 11 TTY 9600/9600 - - - - - 2 0 0/0 -
    etc.
    Thanks in advance!

    Yes, that helped. I found the information through another source in the meantime (http://books.google.com/books?id=UbuEHLfhNmMC&pg=PA370&lpg=PA370&dq=connect+async+line+cisco+console&source=bl&ots=J5mBA0_clW&sig=fpvGz6W_xikAzImRdnaWZNMIoHs&hl=en&ei=aBnrSoqsHI2zlAfE9YCABQ&sa=X&oi=book_result&ct=result&resnum=8&ved=0CCcQ6AEwBzgU#v=onepage&q=connect%20async%20line%20cisco%20console&f=false)
    The "gotcha" here was to note that I needed to execute the telnet x.x.x.x zzzz from the terminal server host (x.x.x.x) itself.
    Thanks for the assist though - I rated your post accordingly.

  • Simple FTP question

    Hi,
    I'm running 10.4.7 server here at work for our mail and web server. We want to open an FTP site for client uploads as well. I created a new user with a home directory and deleted all the default folders in the FTP users home directory.
    So right now I am able to log in and upload files to it no problem. The problem is I can't see any of the files I have uploaded or any files at all through the FTP program. I set up the FTP users home folder as a shared point with full read & write access for owner, group and other.
    Still no luck all I get is an empty window to upload files into. Never can see what I've uploaded or anything else in there.
    Any help is greatly appreciated and if you need any info about my setup please ask.
    Thanks in advance...
    G5 2.3 Dual - MacMini 1.42 - iBook G4 1.33 - PowerMac G4 500   Mac OS X (10.4.7)  

    What are you using for your FTP client?

  • FTP question

    If I set up the ftp and use the "get files" to pull a website
    into my DW, will it take it offline or just copy it to my machine?
    I don't want to take it offline as the current site needs to
    be up until it is updated.
    Thanks!

    "j500" <[email protected]> wrote in message
    news:flmfrc$dvv$[email protected]..
    > If I set up the ftp and use the "get files" to pull a
    website into my DW,
    > will
    > it take it offline or just copy it to my machine?
    It will just copy it to your machine.
    Patty Ayers | Adobe Community Expert
    www.WebDevBiz.com
    Free Articles on the Business of Web Development
    Web Design Contract, Estimate Request Form, Estimate
    Worksheet

  • IWeb FTP question

    I need to publish my site into a certain folder of my web site, but I don't see an option on how to do that. It would be much easier to have iWeb publish to the folder rather than going through and saving to a folder, then uploading through an FTP client. Any suggestions? Thanks.

    You should be able to set the ftp path in iWeb just like you do in your ftp client so you can publish directly from iWeb to the server.
    Click to view full size
    OT

Maybe you are looking for

  • HT1386 My iPhone still stuck on Syncing and Backing up

    I have iphone 4S and have aproblem, that my phone stuck on syncing and backing up I unistall iTune twice and downloaded it again, restart the PC several times, i did as many wrote but NON of them helped My iPhone still stuck on Syncing and Backing up

  • WARNING: Updating or restoring your iPhone may brick it

    There is a problem with the Apple iTunes store and it is bricking iPhones when you attempt to upgrade or restore them. You will get a 11222 error and the phone will be useless. This seems to be more related to older models but the genius bar people a

  • Can't "record what you hear" Win 7 64 w/ Audition 3.0

    The whole idea behind upgrading to a new computer was to better facilitate this capability. I need to be able to record audio as I play programs via Windows Media Center, YouTube or any other audio as it plays on my system. This worked flawlessly und

  • How to get percentage difference between two matrices?

    Good day everyone, I just want to ask how to get the percentage difference between two binary matrices. This is for comparing two images converted to matrices in LabView. Thank you.  Solved! Go to Solution.

  • Prompts for different report blocks

    Hello All, I have a report which has two sections on the Summary Report.both report sections are filteres on prompts input by user Top Section =   based on the 'date' from the user response Bottom Section = based on 2 prompts  'date' plus the 'RSO' f