12-20-2007
Quote:
Originally Posted by
hassanj
i want to know if i can make a script to ftp or sftp files from the unix box to my windows desktop or c: drive.
There are various FTP servers available for windows, some better than others.
An SSHD for Windows is a different kettle of fish. Try Cygwin.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have got a unix server ( AIX ) and 20 clients ( windows 2000 ) . I have to transfer a file through FTP from the server to each of 20 clients daily to check the network speed.
But each time I do ftp, I have to enter username and password and then transfer the file using "put <filename>". I... (2 Replies)
Discussion started by: sharuvman
2 Replies
2. HP-UX
Hi
could you pls guide a to automate that unix script output is avaialble on desktop.i can FTP and then download but i want to automate it.
rgds (1 Reply)
Discussion started by: Assassin
1 Replies
3. AIX
Hi all,
I am required to automate a ftp process for a file around 2 GB on a daily basis from AIX to Windows.Is there a utility or a software that could compress the file on AIX and can be uncompressed on Windows.
Source : AIX 5.3
Target : Windows 2003 server
Thanks all. (2 Replies)
Discussion started by: sam_78_nyc
2 Replies
4. Shell Programming and Scripting
i need to ftp a file from windows to a unix machine by executing a sript(perl/shell/php) from that unix machine.i can also use HTML and javascript to build forms. (3 Replies)
Discussion started by: raksha.s
3 Replies
5. Shell Programming and Scripting
Hi ,
I want to upload some files from my desktop to unix server through FTP . The list of files are in a text file .Please suggest how to do it through scrip .
Thanks in advance ..
Anupam (8 Replies)
Discussion started by: anupamhalder
8 Replies
6. AIX
Hi Friends,
I have this script for ftping files from AIX server to local windows xp.
#!/bin/sh
HOST='localsystem.net'
USER='myid_onlocal'
PASSWD='mypwd_onlocal'
FILE='file.txt' ##This is a file on server(AIX)
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies
7. Shell Programming and Scripting
Hi, I am new to this subject.....Can someone please help me out with the script...
unix usernm "sdhftst"
unix pwd "chsd13"
windows usernm "dfghtst"
windows pwd "chsd13"
path..../xxx/xxxxx/xxxxxx/xxxxxxx
please can u get me a script...its only one file to get ftp.
Thanks... (2 Replies)
Discussion started by: himakiran9
2 Replies
8. Shell Programming and Scripting
Hi,
Is it possible to ftp a huge zip file from windows to unix server using unix shell scripting?
If so what command i need to use.
thanks in advance. (1 Reply)
Discussion started by: Shri123
1 Replies
9. Windows & DOS: Issues & Discussions
Hi all,
I'm a newbie to unix. My requirement is to create an automation script which will transfer a zipped folder from my/remote desktop to an unix server. Tools lik WinSCP shouldnt be used. No manual moving. I use putty to connect to server. I couldnt find any help on this topic. Should i use... (3 Replies)
Discussion started by: sherin22
3 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I want to use scp to upload file to my unix server.
i am using this:
scp D:\testr.txt unixuser@unixhost:/path
it returns an error:
ssh: D: host/servname not known
i am not sure how to tell path of my D drive in the command and how will command understand it has to pick from my... (5 Replies)
Discussion started by: Kohli
5 Replies
LEARN ABOUT MOJAVE
get_desktop_resolution
get_desktop_resolution(3alleg4) Allegro manual get_desktop_resolution(3alleg4)
NAME
get_desktop_resolution - Finds out the desktop resolution. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int get_desktop_resolution(int *width, int *height);
DESCRIPTION
Finds out the currently selected desktop resolution. You can use this information to avoid creating windows bigger than the current resolu-
tion. This is especially important for some windowed drivers which are unable to create windows bigger than the desktop. Each parameter is
a pointer to an integer where one dimension of the screen will be stored.
Under some OSes, switching to a full screen graphics mode may automatically change the desktop resolution. You have, therefore, to call
this function before setting any graphics mode in order to retrieve the real desktop resolution. Example:
int width, height;
allegro_init();
...
if (get_desktop_resolution(&width, &height) == 0) {
/* Got the resolution correctly */
}
RETURN VALUE
Returns zero on success, or a negative number if this information is not available or does not apply, in which case the values stored in
the variables you provided for `width' and `height' are undefined.
SEE ALSO
desktop_color_depth(3alleg4), set_gfx_mode(3alleg4)
Allegro version 4.4.2 get_desktop_resolution(3alleg4)