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
ADVERTISEMENT
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
View Related
Feb 12, 2010
One of my user wants to be able to upload file via browser to the server. For that, i need to grant apache read and write access to a folder. How much secure is allowing apache to grant complete read and write access to a folder ?
View 2 Replies
View Related
Oct 7, 2010
upload a file to a business partner of ours in another country. Currently they have an SFTP server set up for us that I am using to download a daily generated file from a previous requirement. I use a bash script to download it since its fairly simple.
Quote:
sftp username@address/filename_filedate.zip /home/user/filedirectory > /var/log/joblog
(removed private info) To satisfy the new requirement I have been trying to write something similar to this;
Quote:
sftp /home/user/filedirectory/filename_filedate.zip username@address:/remotedirectory/
sftps manual page only gives a hint about using a batchfile, however i still cannot get it to work. Does anyone know another way? Or if you can even suggest another method or application? It seems like a bit of a cop out you can EASILY download using the sftp command but can't upload.
EDIT - forgot to mention I have already got keyless entry set up using ssh keys.
View 1 Replies
View Related
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
Feb 6, 2011
I have been trying to get my message modem to read .g3 files under ubuntu (now 10.04) for over a year now, and have tried absolutely every application I can find to no avail.The output is always garbage.Every application tried gives the same result, but the fax is perfect on Windows, but I don't have a Windows machine any more.
I am unable to upload the .g3 file as it is an "invalid attachment" but have saved it to url.I have (hopefully) attached the resultant output from gimp, which is exactly the same with tkusr and efax. The fax is the weekly Debt collection agency touting for business (no, I don't owe them any money - yet)
I believe they all use a common file, something like g3topbm or g3topdf.If I try g2topbm on the command line: every second line has an error e.g: g3topbm: bad code word at row 202, col 5 (len 14 code 0x32), skipping to EOL
The .g3 files are created by a USR message modem which stores the files for later download ('cos the computer gets switched off at night.)
View 2 Replies
View Related
Apr 20, 2011
I am very new to Linux and trying to learn the shell scripting. Just to know is there any client in linux which does the same task as FTPS on windows. FTPS on windows can read series of FTP command from a txt file and execute them. Is there any way to do that same task, i mean reading series of ftp commands from a txt file, on linux suing shell or perl (any module)?
View 2 Replies
View Related
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
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
Jun 23, 2010
i used fedora 13 and I have facing problem in file uploading using move_uploaded_file() in PHP5.3..2 (latest). Error is.
Warning: move_uploaded_file(Security-HOWTO.pdf): failed to open stream: Permission denied in /var/www/html/test/test.php on line 7 Warning: move_uploaded_file(): Unable to move '/tmp/phpnQjOBe' to 'Security-HOWTO.pdf' in /var/www/html/test/test.php on line 7
i give 777 permission to test folder and html folder also. pdf file is 427.8 KB in php.ini file_uploads is on (local and master both value) safe_mode is off (local and master both value). i used copy command to also but same error occur.
View 4 Replies
View Related
Apr 7, 2010
how to configure ftps server on any version of fedora.
View 3 Replies
View Related
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
Jun 1, 2011
I have got centos 5.3 running on my system. I have installed vsftpd and created a separate folder to upload files (upload folder created in/var/ftp/pub). From my client end I can download ftp files but when I try to upload files from my client I get a error message 550: permission denied. The upload folder has full permission ie 777. Checked the ftp config file everything looks ok.
ftp config file
12 anonymous_enable=YES
15 local_enable=YES
27 anon_upload_enable=YES
View 3 Replies
View Related
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
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
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
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
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
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
May 1, 2010
When I click on the "Browse" button on a web application, I get "File Upload" a dialog. However, I cannot select more than one files. I know it's not a big deal to most people, but I am writing a web page that allows users to upload multiple files at once. So, this is like a show stopper for me.
Here is my Fedora version: Linux saigon 2.6.30.10-105.2.23.fc11.i586 #1 SMP Thu Feb 11 06:51:26 UTC 2010 i686 i686 i386 GNU/Linux
View 3 Replies
View Related
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
Oct 31, 2010
i've tried making the switch before, but always end up running into some trouble that has me going back to windows. i recently installed ubuntu 10.10 and everything has been going fairly smooth, i've been using it for a few weeks with no complaints. no complaints, that is, until i try to upload files... my digicam shoots movies in avi format. i have no problem uploading these files to videos from vista, it works as it should. i cannot upload anything to videos from ubuntu. whatever i try to upload fails instantly.
i also cannot upload photos to photobucket, with the same outcome. the transfer appears to start, but fails immediately afterwards. the photobucket problem has me really intrigued, since it will upload some files directly from the hard drive, but most pics on the hard drive will still fail to upload, and all files on my sd card straight out of the camera fail to upload regardless, even though the computer reads the card and the files fine locally.
View 9 Replies
View Related
Nov 8, 2010
I've run into a problem with my Photobucket account in that the dialogue does not appear in the upload box. Can anyone with an account please try, maybe something has changed on their site, as I'm sure a week or so back it was working. Failing that what might I have not set up correctly?
View 1 Replies
View Related
Aug 31, 2009
I have F10 x86_64 installed on my desktop. When I update the packages, everything works well, except curl-7.19.4-6.fc10.x86_64 which conflicts with the installed curl-7.18.2-6.fc8.i386 (Fedora 8!). The problem seems to be that my repo list does not have the info about the F10 i386 repository. This is the report from "yum repolist"
------------------------------------------------------
Loaded plugins: refresh-packagekit
repo id repo name status
adobe-linux-i386 Adobe Systems Incorporated enabled: 17
fedora Fedora 10 - x86_64 enabled: 14,303
[code]...
I don't want to simply remove the f8.i386 package, because it'll take away a lot of other i386 packages that I'm sure I'll miss in the future (nspluginwrapper- .3.0-2.fc10.i386).
The other solution seems to be updating the curl-***.i386 package. However, I'm somewhat embarrased to confess that I don't know where to find the repository information...
View 14 Replies
View Related
Jun 1, 2010
I'm running OpenSuse 11.0 in a lamp configuration with Apache 2. I configured Apache with the .conf files instead of YAST because I am running virtual hosts (that's another story).
My problem is that my server will not render the pages unless the permissions are set to 775 which I know is not necessary. This is also causing a problem because I am trying to install WordPress onto the server. WordPress will run, but it unable to upload images because it cannot create the directories required.
Apache2 is running as 755 with root as owner and www as group. I changed the owner of the htdocs sub-directories to myself, and created a group that has permissions to write to the directory. WordPress runs as my user and has the same permissions (775).
View 4 Replies
View Related
Aug 13, 2009
I'm having a strange problem with my Fedora 11 install under VMWare Server. I can look up hosts in nslookup, host, and I can ping servers using their names, but when I use curl, firefox, or yum, it says it can't resolve the host name.
View 6 Replies
View Related
Jul 12, 2011
i am trying to upload a file with cgi. I have an html code like below :
<table class=upload>
<form method='POST' enctype='multipart/form-data' action='upload.cgi'>
<input name=upfile type=file ><br>
<br> <input type=submit value=Press> to upload the file!</form>
</table><br>
I am trying to get the file with upload.cgi and execute a linux command in linux but i do not know how to. I use C code for that. Can you help me,please? How can i know the file from html in cgi C code?
View 2 Replies
View Related
Jun 13, 2010
have setup a LAMP server with ubuntu 10.04 server edition x86 for my study in VMware Workstation 7.1 For a assignment I had to make a php script that would load a file up to the server and set the name in a mysql database. According to the book the server should set the image in a cryptic folder in the /tmp/ folder.
This isn't working and i also try'd locate and find to find the image i uploaded. I checked the php.ini and file uploads were on but no folder so i set that one to /tmp/ but still no images. Can anyone help me with enabling this function?
View 3 Replies
View Related
Mar 8, 2011
i have apache server running on my laptop. i am trying to upload files on it. i tied from terminal first connecting to server by ftp and then put but i am getting an error
Code:
vivek@NEO:~$ ftp localhost
Connected to localhost.localdomain.
[code]....
View 4 Replies
View Related
Jul 21, 2011
How can I upload and delete a file? :
View 3 Replies
View Related