Ubuntu :: Upload There ( In / Directory ) A File Named App.log Using Curl?

Aug 1, 2010

I have a site's url. I have it's ftp admin username and passwd..How can I upload there ( in / directory ) a file named app.log using curl ?I read the manual but I understood nothing

View 2 Replies


ADVERTISEMENT

Red Hat / Fedora :: Curl FTPS Problem, Unable To Upload File?

Jan 6, 2010

I am using "curl" command line tool to upload file to ftp server through ftps.I have also tried with the "Secure FTP" software from windows using Implicit mode, which works fine while transfering files.Command as follows:

curl -vk --ftp-ssl -u [username]:[password] ftps://ftp.hostname/directory/test.txt -T /tmp/text.txt --ftp-pasv --disable-expsv
Login to server successfully but geting error while start to transfer data. The verbose

[code]....

View 9 Replies View Related

Software :: File /var/lib/named/var/named/reverse/named.zero Failed: File Not Found

Mar 14, 2009

Mandriva 2009, BIND 9.5.0-P2. Named will start however I'm getting the above error as well as these:

14-Mar-2009 15:45:37.084 general: error: zone 0.in-addr.arpa/IN: loading from master file /var/lib/named/var/named/reverse/named.zero failed: file not found
14-Mar-2009 15:45:37.084 general: error: zone 0.0.127.in-addr.arpa/IN: loading from master file /var/lib/named/var/named/reverse/named.local failed: file not found

[code].....

Named shows to be running but with the errors above I know it's not running correctly. I also copied the above dir's over to /var/lib/named/var/lib/named which is where I 'believe' it's chroot'd at, though I could be wrong since I'm unfamiliar with chroot.

View 14 Replies View Related

General :: Made A File Named * In My Home Directory / Remove It?

Oct 19, 2009

how do i remove it?

View 4 Replies View Related

General :: Create A File In The Current Directory Named '5' With The Number '2'?

Aug 24, 2010

Code:
$ echo 2 * 3 > 5 is a valid inequality. This will create a file in the current directory named '5' with the number '2' in it, the names of all the files in the current directory, followed by the number '3' and 'is a valid inequality.'

What I do not understand is why 'is a valid inequality' gets written to this file. I thought it would write '2', all the file names in the current directory, then '3' into the file called '5'. Why does the 'is a valid inequality.' get written to the file also?

View 3 Replies View Related

General :: Upload A Txt File To A Domains Base Directory?

Nov 16, 2010

How do I upload a .txt file into the base directory of domains that I own?

View 1 Replies View Related

Ubuntu Servers :: Error Occurs When We Use Move Upload File, To The New Directory Within Our PHP App

Oct 7, 2010

We are running into issues with a File Upload script written in PHP. We can upload files without issues except with .*x files (such as .docx) We are getting permission denied errors. The error occurs when we use move upload file, to the new directory within our PHP app. If we give the uploads folder 777 access, it works fine without error. I dont like that. So I set it to 775 (Also dont like this), but it didnt work until I gave group ownership to www-data (I really dont like this)

This issue only happens on our production server, which is Ubuntu 9.04, running Apache2.2 and PHP5 will all the newest updates. We also have all MIME's configured, and are able to download the file from Apache without error. The first thing we noticed before the file permissions error, was that the MIME type changed to .zip when we used mime content type function. But yet using the FILES array, it still showed .docx.

View 2 Replies View Related

Fedora Servers :: Can't Upload File To Empty Home Directory

Feb 1, 2009

I just installed FC10 and then used yumex to install the vsftpd FTP daemon package. I'm using the vsftpd.conf file that came with the distribution, and its almost identical to one I copied from my FC2 machine's working set-up. When I try to FTP in as a known system user I'm presented with my home directory /home/myusername/. The directory appears empty to the FTP program, but isn't in reality. I can't upload a file to the empty home directory. I can move up the directory hierarchy to /home/, but again that appears as an empty directory.

I don't think it's a vsftpd.conf file issue. I've tried everything I can there. Could it have something to do with permissions? I fiddled with those, but couldn't make an FTP directory listing work.

[code]....

View 5 Replies View Related

Server :: /etc/named.conf:57: Open: /etc/named.root.hints: File Not Found

Apr 1, 2011

I am using Cent OS 5.5 and i want configure DNS, but while configuring bind i am getting below error.

#/etc/init.d/named restart Stopping named: [ OK ]
Starting named:
Error in named configuration:
/etc/named.conf:57: open: /etc/named.root.hints: file not found[FAILED]

View 2 Replies View Related

Debian :: When Try To Make A Directory Or Upload A File It Returns An Error Saying That Permission Is Denied?

Apr 9, 2010

I ftp into the server and see the files, but when i try to make a directory or upload a file it returns an error saying that permission is denied.I am wanting the users to be able to log on with their user account and then be able to have full control over their directories. What can i do to fix this problem?I have enabled port forwarding for ftp. What else is there i can do? If you need any extra information, let me know! I would like to get this fixed asap!Here is my vsftpd.conf file.

# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file

[code]....

View 4 Replies View Related

Programming :: CURL In Bash - Error "Upload Is Disabled During Short Maintenance Work (ETA 10 Minutes). Brb"

Mar 7, 2010

i'm trying to write a bash script to upload an image to [URL], but i can't get i working properly. Everytime i try, the html returns me a error saying "Upload is disabled during short maintenance work (ETA 10 minutes). Brb!", while from the browser everything works fine. This is my current command line:

Code: curl -L -b cookie-pix.txt -c newcookie.txt www.pixhost.org/cover-upload -A "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" -F 0=@/home/admin/Desktop/karm.jpg -F content_type=0 -F press=Upload And this is the html of the form:

[Code]....

View 1 Replies View Related

General :: Create A Directory Named Like His Parent Directory

May 26, 2011

I need to create a directory named just like his parent.

Example:

I tried this but because there is "Space Characters" in the name of Parent directory, my script fails.

View 8 Replies View Related

General :: Curl - Curl API To Configure Only The Required Protocol?

Jun 24, 2010

Is there any curl API to configure only the required protocol. If I have proper openssl installed, the installed curl will have all the protocols (like HTTP, HTTPS, FTP, File etc...) supported by default. Is there any way to allow or disallow only some of the protocol at the runtime. Say I need to support only HTTPS, FILE and I dont want to allow HTTP. Is there any way to do this?

View 1 Replies View Related

Fedora :: /etc/named.d Directory ?

Jul 17, 2011

I'm reading up on some DNS and this section mentioned a /etc/named.d directory. I can't seem to find it - i have bind installed and i've searched on this directory, and the only realistic mention of it is from a post in a blog from 2001. I'm working in a FC12 environment...

View 1 Replies View Related

Ubuntu :: Upload Whole Directory One Time?

Jun 3, 2010

when i use ubuntu one ,i want to upload the whole Directory one time,how can i?there are 200 files in the Directory,if i upload one file one time,it waste my time.

View 3 Replies View Related

General :: 3. Etc/exports Entry Would Export A Directory Named /nfs To All Clients On The?

Jan 22, 2011

3.What /etc/exports entry would export a directory named /nfs to all clients on the subnet 192.168.10.0 and give them read-only access?

View 3 Replies View Related

Ubuntu Servers :: Configure Openssh Ftp - Upload To Web Directory

Jul 27, 2010

I would like to upload files via ftp or sftp to my web directory at /var/www/...

Originally I had installed openssh-server (through apt-get, before learning about tasksel). I assumed this only had ssh support and not ftp, so after a quick search, I installed vsftpd. I would like to learn how to configure openssh, and I mention vsftpd in case there is a conflict.

Right now I am able to log in to my server box through ssh/ftp, but I can only modify my home directory. I created a directory: /var/www/andrew and set permissions to drwxr-xr-x. I am unable to upload files to this folder.

What do I have to do to resolve this, and is there anything else I should know about my situation?

View 3 Replies View Related

Programming :: Non-existent File Is Also Downloaded By Curl?

May 25, 2011

I am trying to download a non-existent file from a repository by giving the URL, using curl APIs. It is throwing an error message "The requested URL returned error: 404" but the specified file is downloaded with 0 bytes. My code snippet is as follows :

#include <curl/curl.h>
#include <stdio.h>
#include <math.h>

[code]....

View 9 Replies View Related

General :: Protecting Directory From Deletation But Upload Into Int

May 30, 2011

I want to make an upload directory, where people in the network can upload some files but i want to make sure that they cant delete the whole directory. Is this possible?

View 5 Replies View Related

Ubuntu :: Curl -K Command Outputs Weird Symbols Instead Of Downloading URL From File?

May 16, 2011

I'm on Ubuntu 11.04. I have read around about how to use curl to download a list of URLs from a text file, and everyone says to use

Code:
curl -K URLlist.txt This is what the curl man page says as well. However, for even a simple file with one URL, this command outputs a bunch of weird symbols for me instead of downloading the file. For example, I have a text file "test.txt" with one line in the following format:

Code:
url = "http://www.example.com/image.jpg" I use the curl command to download this file:

[Code]...

View 2 Replies View Related

Programming :: Download Images From Text File Using Curl

Apr 18, 2011

I am having some issues with downloading images to my website from my suppliers!

I have a text file (extracted from product their product lists) which has all of the image URLs!

I have tried to use php using the below script which was started via a cron job, however exec is blocked and my hoster has told me to use curl..... Is there something that can be written in or with curl to do the same thing?

View 4 Replies View Related

General :: Curl - Download A File From A Website In Command Line?

Aug 9, 2011

I need to download a file from a website which has a URL formatted like:

[URL]

This redirects to a .zip file which has to be saved. There is also a need to authenticate based on username and password.

I tried to use wget, curl and lynx with no luck.

UPDATE:

wget doesnt work with redirection. It simply downloads the webpage instead of the zip file. curl gives the error "Maximum redirection exceeded > 50 " lynx also gives the same error.

View 1 Replies View Related

General :: Curl -K Command Outputs Weird Symbols Instead Of Downloading URL From File?

May 16, 2011

I'm on Ubuntu 11.04. I have read around about how to use curl to download a list of URLs from a text file, and everyone says to use Code:curl -K URLlist.txt. This is what the curl man page says as well. However, for even a simple file with one URL, this command outputs a bunch of weird symbols for me instead of downloading the file.For example, I have a text file "test.txt" with one line in the following format:

Code:
url = "http://www.example.com/image.jpg"
I use the curl command to download this file:

[code]....

View 7 Replies View Related

Server :: ProFTPd - Upload Anything Or Create Directory: 550 Permission Denied Error

Jan 7, 2010

I have proftpd @ Ubuntu 9.04 server. It authenticates users via Auth file, e.g. those are "FTP only" users, not real linux users. Each of them has assigned home dir in the same auth file. They also get Chrooted into it, e.g. default dir is ~ in proftpd.conf They can connect and download files successfully, however, they cannot upload anything or create directory: 550 permission denied error.

When I login via ssh and change user to proftpd user, I can create directories in that particular place, so I guess it's not Linux permissions problem? Or is it? /var/log/daemon.log is the place where proftpd stores its logs, but I cannot find anything relevant there

View 5 Replies View Related

Fedora :: Files Corrupts - Upload A File (using Ftp Or Sftp) Some Weir Characters Are Included Inside The File

Mar 23, 2010

I just installed Fedora12 in a Core i3 machine... everything looks fine, but I have a huge problem... every time I upload a file (using ftp or sftp) some wier characters are included inside the file... for example.

[Code]......

View 6 Replies View Related

General :: Vsftp Cannot Upload File / Error 553 Cannot Create The File

Jul 26, 2010

I am testing my ftp server configuration.Anonymous download works , however anonymous upload does not.I am getting the following error message from both Windows and Linux 5.4clients : 553 cannot create the file.And i am running Fedore 12.

View 3 Replies View Related

Ubuntu :: How To Find Out What The Bootloader Configuration File Is Named

Apr 30, 2011

How do you find out what the bootloader configuration file is named? I am setting file permissions...would it be wise to set the entire boot directory to 700?

View 3 Replies View Related

Debian :: File Upload Using Firefox - Smaller Image File Is Previewed While Bigger Image File Is Not

Dec 16, 2015

I am trying to upload some pics on my Facebook account using Firefox. When I click on Facebook's file upload icon, Firefox bring up a 'File Upload' window. I noticed that smaller image file is previewed on the lower right hand corner, while bigger image file is not. Is there anyway I can change this behavior or maybe change what Firefox is using to browse my files?

View 2 Replies View Related

Ubuntu Servers :: Backup MySQL To A Date Named File?

Sep 23, 2010

I am manually backing up my server now with mysqldump and that works but I was wondering about mechanizing the process.

Nirvana would be to dump to a file named with the date

This way I have backups going back over time

View 9 Replies View Related

General :: Copy File Named Starting With A Dot?

Mar 31, 2011

I am trying to copy all files under directory A to directory B. All files under directory A are starting with dot, for example:

A/.a
A/.b
A/.c

which I found if I use: cp A/* B, always get error:

cp: cannot stat 'A/*': no such file or directory

It seems there is no option for cp as ls to handle entries started with dot

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved