Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17th March 2009, 07:56 PM
hubiedo Offline
Registered User
 
Join Date: Sep 2007
Location: San Antonio Tx
Posts: 62
ftp problem - can't locate script(??) file

i am working on a ftp that appears to have a login , pw, put script file that is not working right. it logs on, does the pw and then shows several bad commands "Invalid command" six times then shows

ftp>

i can then manually finish the command sequence and do the put "file.txt" etc. and everything works fine.

i can also use gftp and it all works fine but i need it to run all automatic.

i cannot find where the command sequence i.e. script file or other auto command setup is that initiates when i input the

# ftp www.xxxx.com

i have tried to do a new script file command but the sequence above is included in the new script file so it reverts to it immediately. the easiest thing will be to reconfigure the "command file" for this ftp location. can anyone help me find where the command files would be located etc. or even pointers on where to go.
__________________
_________________________
Life is full of challenges--Fedora is one of them!
Reply With Quote
  #2  
Old 18th March 2009, 01:09 AM
marcrblevins's Avatar
marcrblevins Offline
Registered User
 
Join Date: Jun 2006
Location: Texas
Age: 42
Posts: 4,168
Try wget, way easier.
Code:
man wget
Reply With Quote
  #3  
Old 18th March 2009, 10:14 AM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,076
Use lftp instead of the standard ftp command. Lftp understands command scripts unlike plain ftp.
Reply With Quote
  #4  
Old 18th March 2009, 02:18 PM
hubiedo Offline
Registered User
 
Join Date: Sep 2007
Location: San Antonio Tx
Posts: 62
ftp problem - can't locate script(??) file Reload this Page

i will try the wget idea. i can see that it should work ok. i will let you know. i had done a find for the file names i thought it might be etc but i think you are saying that wget will look in the files for the text. right? i will be at work later and read the wget pages to get up to speed on it. should i try the /bin and /usr/bin first before i try it against the / directory?

the second idea may help also but the ftp command is working fine, i will test the lftp also.

when i get to work i will give it a whirl.
__________________
_________________________
Life is full of challenges--Fedora is one of them!
Reply With Quote
Reply

Tags
file, ftp, locate, problem, script

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I cannot locate the newest *.bin file version of SunSE JDK! shelzmike Using Fedora 3 7th August 2009 11:08 AM
How can I locate the socket file (.sock) of MySQL on fedora 9 Muideen Using Fedora 3 23rd March 2009 12:08 PM
problem with locate voltrem Using Fedora 7 19th July 2008 06:06 AM
Problem running shell script file nexus024 Using Fedora 7 8th February 2007 07:45 PM
locate command problem confusednewuser Using Fedora 8 14th February 2005 09:15 AM


Current GMT-time: 12:25 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat