How can I ensure a transfer is done in binary mode using the cadaver command-line tool for WebDAV upload? - webdav

I'm doing a transfer of a tar.gz file to a client WebDAV server. I want to ensure that the transfer is done in binary mode, i.e. like the "bin" option in ftp.
The man command doesn't indicate anything about the default transfer mode.
Can anyone confirm, or otherwise, that cadaver uses binary mode by default ?? I am on a Solaris 10 server.
Best regards.

WebDAV is HTTP. And in HTTP, the payload is always transferred "binary".

Related

Web interface for SFTP server

An SFTP client such as CuteFTP or Filezilla provides a rick user interface for an SFTP server. These are clients that are installed locally on the user's PC. Instead of a client installed at the user's side, is it possible to set up a web-based user interface on the SFTP server, so that a user with only a browser is able to access the files on the server? Are such open source or commerical products available that can be deployed on the SFTP server for enhancing the file transfer experience?
Note: The base server needs to be SFTP as there will be scripts that clients will be using to transfer files in a non-interactive manner. For interactive usage, I am looking for a web interface that be serve as an add-on.
I suggest you check out: https://filebrowser.org/features
There is another good one called "droppy" but its no longer active and apparently has too many git forks at the moment to know where it will go.
The question you need to answer is the application value/scope.
You can always go with Dropbox or something too depending on the user's intended application.

Which protocol is used downloading files from Rapid share Http or FTP?

When i Download something from any File Sharing web Site ( Rapid share, FileSonic etc) then at first the browser connects to them with Http , but when the actual file download is happening does the underlying protocol changes to FTP?
the download protocol is still HTTP (at least with Rapidshare).

Will direct access to a webdav-mounted file cause problems?

I'm thinking about configuring the remind calendar program so that I can use the same .reminders file from my Ubuntu box at home and from my Windows box at work. What I'm going to try to do is to make the directory on my home machine that contains the file externally visible through webdav on Apache. (Security doesn't really concern me, because my home firewall only forwards ssh, to hit port 80 my my home box, you need to use ssh tunneling.)
Now my understanding is that webdav was designed to arbitrate simultaneous access attempts. My question is whether this is compatible with direct file access from the host machine. That is, I understand that if I have two or more remote webdav clients trying to edit the same file, the webdav protocol is supposed to provide locking, so that only one client can have access, and hence the file will not be corrupted.
My question is whether these protections will also protect against local edits going through the filesystem, rather than through webdav. Should I mount the webdav directory, on the host machine, and direct all local edits through the webdav mount? Or is this unnecessary?
(In this case, with only me accessing the file, it's exceedingly unlikely that I'd get simultaneous edits, but I like to understand how systems are supposed to work ;)
If you're not accessing the files under the WebDAV protocol, you're not honoring locks set via LOCK and UNLOCK methods and therefore will open to potential to overwrite changes made by another client. This situation is described in the WebDAV RFC here: https://www.rfc-editor.org/rfc/rfc4918#section-7.2

BizTalk FTP - File Rename

I need to send files using the BizTalk 2006 (non wcf) FTP adapter. After successful transmission of each file it needs to be renamed from an "A" prefix to a "U" prefix. I don't want to issue a command using wildcards because I can't be sure of other files in the destination folder.
Any ideas?
Thanks
Rob.
I am guessing that you are doing this to avoid having the file picked up by anothe rprocess while it's in transit on the wire. You have two opetions. First, in the After Put property of the FTP Send Port, type in the rename commangd. Option Two, use the Temporary Folder propery of the FTP Send Port. This temp folde ron the FTP site is where the file will be deposited during transfer. After it's all there, the file will be moved to the destination. The temporary folder will also allow you to recover from transfer failures where a connection might be lost.

Can Linux syslogd log non-English messages?

I am setting up a logging infrastructure using syslog daemon on my Linux server. I have few clients both Windows and non-Windows that I am planning on configuring to forward logs as syslogs to my Linux server. Some of my client machines log in foreign language. Therefore, how do I forward such non-English logs as syslogs over to my Linux server? Do I need to setup any special encoding on my server and in my client? Is this the right approach or is there any other better way to do this?
The current syslogd is 8-bit clean, so encode for UTF-8 and you will be fine. Just make sure that the consoles or anything that uses the actual logs knows that the data is UTF-8 encoded so that it can be displayed properly later.

Resources