Sponsored Content
Full Discussion: sftp file upload problem
Top Forums Shell Programming and Scripting sftp file upload problem Post 302277367 by sysgate on Friday 16th of January 2009 04:54:12 AM
Old 01-16-2009
So, when you upload the file, which in initial state has UNIX end of line, the file gets Windows end of line when you open it ? I think the server, SSHD Tectia, assumes that the file will be opened under Windows and automatically adds windows end-of-line. If that's not the case, the server doesn't correctly handles the CR-LF. As as last resort, you can use some windows utility to make Dos2Unix conversion.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to Write sftp through "expect" for file upload ?

Hi Experts , I am new to unix programming please tell me how to write expect and hoe to call it for automated file upload process. help me really ! (0 Replies)
Discussion started by: kulbhushan
0 Replies

2. Ubuntu

I want to upload file on remote machine in noninteractive mode through SFTP

Hi All, I want to upload file through SFTP in non interactive mode on remote server. please tell me what will have to do in oreder to do SFTP . (1 Reply)
Discussion started by: kulbhushan
1 Replies

3. UNIX for Advanced & Expert Users

chrooted SFTP upload folder

Hi List, I have set up a chrooted SFTP setup following the instructions I found on tech republic: /blog/opensource/chroot-users-with-openssh-an-easier-way-to-confine-users-to-their-home-directories/229 I have successfully got it all working and I can download files when logged in via sftp... (0 Replies)
Discussion started by: landossa
0 Replies

4. Shell Programming and Scripting

help to upload multiple files through SFTP

Hi Experts, Please help me to write the expect script for uploading multiple files in one shot . Below is my program that I have written. #!/usr/local/bin/expect -f #/home/kulbhushan/sftp_prog.sh # procedure to attempt connecting; result 0 if OK, 1 otherwise proc connect {passw} { expect... (1 Reply)
Discussion started by: kulbhushan
1 Replies

5. Shell Programming and Scripting

Expect Script for SFTP Upload

I am attempting to utilize an expect script (that is called from a parent bash script) to perform a file transfer over sftp. The script works except I cannot catch timeouts. I need to be able to tell in the parent bash script when the expect script has timed out, or completed successfully. It... (3 Replies)
Discussion started by: thaller
3 Replies

6. 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

7. IP Networking

Upload problem with traffic shaping though a Linux router.

So I want to limit the download and upload speed of a specific ip adress in a local network. To do this I are using a bach script running in a linux OS (Ubuntu 11.04). The issue here is that the upload shaper does not work. I have tried an alternate solution aswell though that does not work as... (0 Replies)
Discussion started by: martio09
0 Replies

8. UNIX for Dummies Questions & Answers

[Solved] ls -l in CentOS 6.4 after upload using sftp

Hi everyone, Something rather interesting just happened to me. I uploaded a file to a server through sftp. I closed the connection and then logged on to the server via ssh. So far so good. When I typed ls -l in the remote server to retrieve a directory listing, the file that was previously... (2 Replies)
Discussion started by: gacanepa
2 Replies

9. Shell Programming and Scripting

SFTP problem......File not getting from Remote server

Hi, We are using one unix script which is using sftp command and connect to remote server and get some file form remote server. some time after running this script we are not getting any file . Could you please tell us detailed validation that is there any problem with... (6 Replies)
Discussion started by: maheshkumar93@g
6 Replies

10. Shell Programming and Scripting

File upload message in SFTP

Hi, Below script is running on AIX 7.1 ( 7100-04-05-1720 version ) server. Recently OpenSSH version installed on server got updated from OpenSSH_6.0p1 to OpenSSH_7.5p1 version. After this update we do not receive any file upload message after put/mput command in SFTP. sftp -b - user@server... (1 Reply)
Discussion started by: Juggernaut
1 Replies
FvwmRearrange(1)						   Fvwm Modules 						  FvwmRearrange(1)

NAME
FvwmRearrange - rearrange fvwm windows SYNOPSIS
FvwmRearrange is spawned by fvwm, so no command line invocation will work. DESCRIPTION
This module can be called to tile or cascade windows. When tiling the module attempts to tile windows on the current screen subject to certain constraints. Horizontal or vertical tiling is performed so that each window does not overlap another, and by default each window is resized to its nearest resize increment (note some- times some space might appear between tiled windows -- this is why). When cascading the module attempts to cascade windows on the current screen subject to certain constraints. Layering is performed so con- secutive windows will have their window titles visible underneath the previous. INVOCATION
FvwmRearrange is best invoked from a menu, pop up or button. There are a number of command line options which can be used to constrain the layering, these are described below. As an example case, one could call FvwmRearrange with the following arguments: FvwmRearrange -tile -h 10 10 90 90 or FvwmRearrange -cascade -resize 10 2 80 70 The first invocation will horizontally tile windows with a bounding box which starts at 10 by 10 percent into and down the screen and ends at 90 by 90 percent into and down the screen. The second invocation will cascade windows starting 10 by 2 percent into and down the screen. Windows will be constrained to 80 by 70 per- cent of the screen dimensions. Since the resize is also specified, windows will be resized to the given constrained width and height. FvwmRearrange can be called as FvwmTile or FvwmCascade. This is equivalent to providing the -tile or -cascade option. This form is obsolete and supplied for backwards compatibility only. Command-line arguments passed to FvwmRearrange are described here. -a Causes all window types to be affected, even ones with the WindowListSkip style. -animate Attempt to do an animated move, this is ignored if -resize or -maximize are used. -cascade Cascade windows. This argument must be the first on the command line. This is the default. -desk Causes all windows on the desk to be cascaded/tiled instead of the current screen only. -flatx Inhibits border width increment. Only used when cascading. -flaty Inhibits border height increment. Only used when cascading. -h Tiles horizontally (default is to tile vertically). Used for tiling only. -incx arg Specifies a horizontal increment which is successively added to cascaded windows. arg is a percentage of screen width, or pixel value if a p is suffixed. Default is zero. Used only for cascading. -incy arg Specifies a vertical increment which is successively added to cascaded windows. arg is a percentage of screen height, or pixel value if a p is suffixed. Default is zero. Used only for cascading. -m Causes maximized windows to also be affected (implied by -a). -maximize When moving/resizing a window, put it also into maximized state. -mn arg Tiles up to arg windows in tile direction. If more windows exist, a new direction row or column is created (in effect, a matrix is created). Used only when tiling windows. -noanimate Do not attempt to do an animated move. -nomaximize Do not put windows into maximized state. -noraise Inhibits window raising, leaving the depth ordering intact. -noresize Inhibits window resizing, leaving window sizes intact. This is the default when cascading windows. -nostretch If tiling: inhibits window growth to fit tile. Windows are shrunk to fit the tile but not expanded. If cascading: inhibits window expansion when using the -resize option. Windows will only shrink to fit the maximal width and height (if given). -r Reverses the window sequence. -resize Forces all windows to resize to the constrained width and height (if given). This is the default when tiling windows. -s Causes sticky windows to also be affected (implied by -a). -sp Causes windows sticky across pages to also be affected (implied by -a). -sd Causes windows sticky across desks to also be affected (implied by -a). -t Causes transient windows to also be affected (implied by -a). -tile Tile windows. This argument must be the first on the command line. -u Causes untitled windows to also be affected (implied by -a). Up to four numbers can be placed on the command line that are not switches. The first pair specify an x and y offset to start the first window (default is 0, 0). The meaning of the second pair depends on operation mode: When tiling windows it specifies an absolute coordinate reference denoting the lower right bounding box for tiling. When cascading it specifies a maximal width and height for the layered windows. If an affected window exceeds either this width or height, it is resized to the maximal width or height. If any number is suffixed with the letter p, then it is taken to be a pixel value, otherwise it is interpreted as a screen percent- age. Specifying zero for any parameter is equivalent to not specifying it. BUGS
It is probably not a good idea to delete windows while windows are being rearranged. AUTHORS
Andrew Veliath (original FvwmTile and FvwmCascade modules) Dominik Vogt (merged FvwmTile and FvwmCascade to FvwmRearrange) 3rd Berkeley Distribution 09 May 2010 (2.5.30) FvwmRearrange(1)
All times are GMT -4. The time now is 06:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy