Sponsored Content
Full Discussion: upload file to webdav server
Top Forums Shell Programming and Scripting upload file to webdav server Post 302280148 by knut on Monday 26th of January 2009 06:55:00 AM
Old 01-26-2009
nobody can explain me why my put comand does not work
env "HOME=/www/mysite/folder/priv_keys/" cadaver \
*** "https://hostingdocs.custhelp.com/fileserver/remot" << EOF
put /www/mysite/folder/tmp/2009-01-23export.csv

i can put this file to my webdav server
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to upload to the unix server?

I am having problems uploading files to my new server. I am new at this so im sure im doing it wrong. I tried using wsftp but that didnt work. please help me!! (4 Replies)
Discussion started by: rdog157h
4 Replies

2. Shell Programming and Scripting

stuck in perl cgi to upload a file to server

hi, i m working on a perl cgi script which uploads a file to the server. i m stuck. i hav written the errors. plz help. Sachin Kaw ______________________________________________________________________ #!/usr/bin/perl -w use CGI; use CGI qw(:standard); use strict; use POSIX... (4 Replies)
Discussion started by: sachin_kaw
4 Replies

3. Shell Programming and Scripting

upload excel file contents to server

Hi I have an excel file with only 5 rows .I want to uplaod those 5 rows to a database using a shell script.Is this possible.If so where do i start. Thnks (1 Reply)
Discussion started by: magikminox
1 Replies

4. Shell Programming and Scripting

upload on server

salmo allim warhmat allah wa brakato i face another problem with ftp protocol i have my server when upload with ftp on my server it upload when access from internet with URL can't find any thing that i get from ftp commend that upload in Current directory is /home/user name when... (5 Replies)
Discussion started by: pua06
5 Replies

5. Shell Programming and Scripting

Curl ftp upload success but no file exist on the server !!!!

hello, I'm trying to upload a file to this ftp server and others ftp://ftp.byethost12.com as you can see in the output of CURL using the -v option curl reports that the upload succeeded but when i connected to the server with file-zilla there is no file uploaded the same command upload files... (5 Replies)
Discussion started by: laraaj
5 Replies

6. Shell Programming and Scripting

Script to upload latest file to other server via FTP

Hello, I have a script that finds the latest version of a file in a folder on my Minecraft server. I'm trying to come up with something that will then FTP that file over to my fileserver. Here's what I have that finds the newest file: find /home/mc/archive/sbhouse -type f -mtime +45 -exec... (7 Replies)
Discussion started by: nbsparks
7 Replies

7. Shell Programming and Scripting

Generate file and Upload to SFTP server.

Xperts, My requirement is something like this, I have a sql script which i need to embed in a shell. The sql (oracle) script will generate a .csv file in some Unix directory. the approximate file size is around 10 mb which i need to upload to an sftp server. My concern here is how to make... (5 Replies)
Discussion started by: Showdown
5 Replies

8. Proxy Server

Upload file from desktop to UNIX server via putty

I have a requirement of following - 1. Transfer excel spreadsheet from desktop to unix server 2. Open the spreadsheet and read the sql row by row at a time 3. Run each sql on database using unix and then send output back to spreadsheet that was uploaded earlier and then transfer file back to... (12 Replies)
Discussion started by: Analabhatla
12 Replies

9. Web Development

Sending file to WebDav Server

Hi All, I am using a webdav server host name : abc.xyz.com.ak username : user123 password : password123 port : 80 I need to send files stored in my windows system to the server, any idea how to do it. I dont know how to create a url in linux for webdav server using details. (2 Replies)
Discussion started by: prakhar_dubey
2 Replies
cadaver(1)							   User Manuals 							cadaver(1)

NAME
cadaver - A command-line WebDAV client for Unix. SYNOPSIS
cadaver [-trp[-r file][-p host[:port]]][-V][-h] http://hostname[:port]/path DESCRIPTION
cadaver supports file upload, download, on-screen display, namespace operations (move and copy), collection creation and deletion, and locking operations. Its operation is similar to the standard BSD ftp(1) client and the Samba Project's smbclient(1). A user familiar with these tools should be quite comfortable with cadaver. cadaver supports automatically logging in to servers requiring authentication via a .netrc file (similar to ftp(1) - see section "THE .netrc FILE" below). OPTIONS
-t, --tolerant Allow cd/open into non-WebDAV enabled collection; use if the server or proxy server has WebDAV compliance problems. -r, --rcfile=file Use this rcfile rather than the default of ~/.cadaverrc -p, --proxy=host[:port] Connect using the proxy host "host" and optional proxy port "port". -V, --version Display version information and exit. -h, --help Display this help message and exit. COMMAND REFERENCE
ls [path] List contents of current [or other] collection cd path Change to specified collection pwd Display name of current collection put local [remote] Upload local file get remote [local] Download remote resource mget remote... Download many remote resources mput local... Upload many local files edit resource Edit given resource less remote... Display remote resource through pager mkcol remote... Create remote collection(s) cat remote... Display remote resource(s) delete remote... Delete non-collection resource(s) rmcol remote... Delete remote collections and ALL contents copy source... dest Copy resource(s) from source to dest move source... dest Move resource(s) from source to dest lock resource Lock given resource unlock resource Unlock given resource discover resource Display lock information for resource steal resource Steal lock token for resource showlocks Display list of owned locks propnames res Names of properties defined on resource chexec [+|-] remote Change isexecutable property of resource propget res [propname] Retrieve properties of resource propset res propname value Set property on resource set [option] [value] Set an option, or display options open URL Open connection to given URL close Close current connection quit Exit program unset [option] [value] Unsets or clears value from option. lcd [directory] Change local working directory lls [options] Display local directory listing lpwd Print local working directory logout Logout of authentication session help [command] Display help message THE .netrc FILE The file ~/.netrc may be used to automatically login to a server requiring authentication. The following tokens (separated by spaces, tabs or newlines) may be used: machine host Identify a remote machine host which is compared with the hostname given on the command line or as an argument to the open command. Any subsequent tokens up to the end of file or the next machine or default token are associated with this entry. default This is equivalent to the machine token but matches any hostname. Only one default token may be used and it must be after all machine tokens. login username Specifies the username to use when logging in to the remote machine. password string passwd string Specifies the password to use when logging in to the remote machine. Any other tokens (as described in ftp(1)) are ignored. EXAMPLES
cadaver http://dav.example.com/ Connects to the server myserver.example.com, opening the root collection. cadaver http://zope.example.com:8022/Users/fred/ Connects to the server zope.example.com using port 8022, opening the collection "/Users/fred/". cadaver https://secure.example.com/ Connects to a server called secure.example.com using SSL. FILES
~/.cadaverrc Individual user settings that can override cadaver defaults and to script cadaver. Can be changed by the "--rcfile" option. ~/.netrc Login and initialization information used by the auto-login process. See section "THE .netrc FILE" for details. AUTHOR
Joe Orton <cadaver@webdav.org> SEE ALSO
ftp(1), smbclient(1) Unix January 2002 cadaver(1)
All times are GMT -4. The time now is 01:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy