Login or Register to Ask a Question and Join Our Community

is wget working in ftp ?

Thread Tools Search this Thread
Top Forums Web Development is wget working in ftp ?
# 1  
Old 09-04-2009
is wget working in ftp ?

I get

ftp> wget
?Invalid command.

ftp> 0 * * * * wget -O - -q -t 1 http://www.example.com/cron.php
?Invalid command.

# 2  
Old 09-04-2009
mhm, is pico working ?

ftp>pico myFIle.txt
?Invalid command.

# 3  
Old 09-04-2009
you can run an external command in a ftp session by entering a "!" in front of the command.
# 4  
Old 09-09-2009
hi.. for example ?

I tried

ftp>!pico filename.txt

but it opens a blank file instead of the file on the server...
# 5  
Old 09-09-2009
the ! commands are executed on your LOCAL computer...
# 6  
Old 09-14-2009
so what's the utility if I cannot open remote files ?
# 7  
Old 09-14-2009
FTP stands for File Transfer Protocol, not "run arbitrary commands remotely". If you want to run commands on the remote host (including editing files), connect using SSH.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Wget - working in browser but cannot download from wget

Hi, I need to download a zip file from my the below US govt link. https://www.sam.gov/SAMPortal/extractfiledownload?role=WW&version=SAM&filename=SAM_PUBLIC_MONTHLY_20160207.ZIP I only have wget utility installed on the server. When I use the below command, I am getting error 403... (2 Replies)
Discussion started by: Prasannag87
2 Replies

2. UNIX for Dummies Questions & Answers

How to download files matching pattern from FTP using CURL or WGET?

Hi, For an order I requested, the provider has uploaded a tar file in public FTP site which internally has tons of files (compressed) and I need to download files that follows particular pattern which would be few hundreds. Note: The order can't be requested for files that follows the... (7 Replies)
Discussion started by: Amalan
7 Replies

3. UNIX for Dummies Questions & Answers

Wget JPG not working

Hi, I am new to Unix. Actually, I am using Terminal from MAC OSX Snow Leopard. I have installed XCode and wget 1.14 today. I just want to download all of the jpg files from a specific blog (from blogspot). But its not working. Here is the command I use: wget -r -nd -A jpg come-se All... (3 Replies)
Discussion started by: bruleke
3 Replies

4. Red Hat

Working with FTP

Hi all, i am using fedora 11,and want to make my system as ftp server. I have installed vsftp package and vsftpd daemon is also running. Can i access my files from outer world i.e. internet using ftp? How can i do that? i started vsftpd daemon and tried to access server from other system like... (2 Replies)
Discussion started by: yashwantkumar
2 Replies

5. UNIX for Dummies Questions & Answers

Crontab Wget, downloading a file to a FTP

Hi there, I've got my own domain, ftp etc.. I'm using cPanel and I want to download a file periodically, every say 24 hours. I've used this command: wget -t inf http : / / www . somesite . com / webcam.jpg ftp : / / i @ MyDomain . net : Password @ ftp . MyDomain . net^no spaces... (24 Replies)
Discussion started by: zYx
24 Replies

6. Linux

FTP not working under Linux but working under any other OS ??? Very strange

Dear all, I am totally despaired and puzzled. Using Filezilla under Windows under the same network as our Linux servers is working. Using FTP command-line client under any of our Linux debian servers is not working ! I tried with different FTP servers -> same problem ! All commands are... (12 Replies)
Discussion started by: magix_ch
12 Replies

7. Shell Programming and Scripting

why the mv is not working in an FTP

Why when I mv $UpLoadFileName supfinaid.DSB does not work, it is getting the $UpLoadFileName and it is moving it to the right location, but not the move, Let me know if you want to see the all script, I just want to rename $UpLoadFileName, it is moving $UpLoadFileName to the right... (6 Replies)
Discussion started by: rechever
6 Replies

8. AIX

FTP is not working

Upto last month my script was working fine, Now I am getting following error, any one help me? Tcl_Init failed: Can't find a usable init.tcl in the following directories: /usr/local/lib/tcl8.0 ./lib/tcl8.0 ./tcl8.0/library ./library This probably means that Tcl wasn't installed... (0 Replies)
Discussion started by: redlotus72
0 Replies

9. UNIX for Advanced & Expert Users

Wget FTP problem!

Hi, I've tried to download from ftp sites by wget but it failed and says "Service unavailable" but when I use sftp in binary mode and use "get" command it works perfectly. What's the problem? BTW: I tried both passive and active mode in wget. thnx for ur help (9 Replies)
Discussion started by: mjdousti
9 Replies

10. Shell Programming and Scripting

wget to do ftp between different server

Hi, I need to write a shell to do the following: 1) ftp to server B, from server A 2) From server B lanch an anonymous ftp to server C to get some file xxx 3) put the file xxx in the original Server A. Someone said me that wget suites to my problem but I've no idea how it works. Could... (1 Reply)
Discussion started by: vanex
1 Replies
Login or Register to Ask a Question

Featured Tech Videos